Folks,
 It has been a while since I update LTP for selinux testing. I am currently 
trying to use ltp-full-20100831 on RHEL5.6. I don't believe the procedure has 
changed at least according to the README. But here are the steps I followed.

1.) tar -xvf ltp-full-20100831.tar
2.) pushd ltp-full-20100831; ./configure; popd
3.) make -C ltp-full-20100831 all
4.) make -C ltp-full-20100831 install
5.) pushd; make 
ltp-full-20100831/testcases/kernel/security/selinux-testsuite/tests; popd
6.) pushd ltp-full-20100831/testcases/kernel/security/selinux-testsuite/tests; 
make install; popd
7.) cd ./ltp-full-20100831
8.) ./testscripts/test_selinux.sh

Here is the error:
# ./testscripts/test_selinux.sh 
Running with security context=root:system_r:unconfined_t:SystemLow-SystemHigh
allow_domain_fd_use --> off
allow_domain_fd_use exists setting
Installing test_policy module...
semodule:  Could not read file 
'/mnt/tests/kernel/distribution/ltp/20100831/ltp-full-20100831/testcases/kernel/security/selinux-testsuite/refpolicy/test_policy.pp':
 No such file or directory
Failed to install test_policy module, aborting test run.

Is anyone using this version on RHEL5 successfully?
Am I missing an important step that will allow us to use the test_selinux.sh in 
this LTP version?

I did see the thread:
http://www.mail-archive.com/[email protected]/msg10290.html
Using the GIT version and following these steps:
 - git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
 - make -C policy load
 - make -C tests test
 - make -C policy unload
Does work fine.

Thanks in advance.
Jeff

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to