On Wed, 2008-01-02 at 15:53 +0530, naveen penumala wrote: > Hi, > > When i tried to compile the selinux-testsuite i faced the following > problem. > > ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests # > make > > make[1]: Leaving directory > `/home/penuman/New_tests/ltp/ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests/ > domain_trans' > /bin/sh: chcon: command not found > make: *** [all] Error 127 > > > ltp-full-20071130/testcases/kernel/security/selinux-testsuite/tests/domain_trans > # vi Makefile > > ln -f selinux_domain_trans.sh ../../../../../bin/ > > but i didn't find the "chcon" executable in the bin > (/ltp-full-20071130/testcases/bin) directory. > > how chcon executable will create. > > and I'm using SuSE Linux.
You can't use SELinux with SuSE Linux without porting over the SELinux userland support and a policy. They had some of the necessary bits in place in SuSE 9, but dropped it all out in SuSE 10 when they went with AppArmor. chcon is part of coreutils in distributions that support SELinux and is now part of the upstream GNU coreutils (as of 6.9.90 and later), I believe. But there are other selinux userland bits required to use SELinux. See: http://selinux.sourceforge.net/distros/suse.php3 http://selinux.sourceforge.net/distros/others.php3 -- Stephen Smalley National Security Agency ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
