From: Jeffrey B. <jb...@re...> - 2010-10-06 20:31:52
|
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/ltp...@li.../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 |