Re: [LTP] compilation error @ selinux tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting naveen penumala (naveenspen@xxxxxxxxx):
> 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 message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux