Quoting naveen penumala ([EMAIL PROTECTED]):
> please check...
> 
> when im building the selinx-tests using "make" command i'm getting following
> error
> 
> these are the files presented in selinux-testsuite.
> /home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite
> # ls
> ChangeLog  Makefile  /policy  README  /refpolicy  /tests
> 
> this is the error i'm getting when building the tests.
> 
> /home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite
> # make
> make[1]: Entering directory
> `/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests'
> make[2]: Entering directory
> `/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests/domain_trans'
> 
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests/domain_trans'
> /bin/sh: chcon: command not found

I assume this is the problem.  You need chcon.

> make[1]: *** [all] Error 127
> make[1]: Leaving directory
> `/home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite/tests'
> 
> make: *** [all] Error 2
> 
> i had seen the patch file presented by Sergei, but i didnt find
> misc/check_sbin_deprecated.pl
> in selinux tests directory.

It's under misc/.  It gets called from ltp/testscripts/test_selinux.sh
to tweak the policy.  But I don't think it's related to your problem.
You just need to install chcon, and I'm not the best way to do that
under SuSE.

> i'm sorry if my view is wrong.
> 
> * I'm using SuSE linux.*
> 
> - Naveen P

thanks,
-serge

-------------------------------------------------------------------------
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

Reply via email to