errors from setools

Don Patterson don.patterson at tresys.com
Thu Jun 10 18:41:00 UTC 2004


Evidently, the setools Makefile was not configured correctly for the setools
package in the fedora rawhide tree. Currently, the selinux-strict policy
install path is hard-coded in the Makefile, so tools such as seaudit,
seinfo, and sesearch will use the installed selinux-strict policy by
default. In your case, it should have been looking for
/etc/selinux/strict/policy/policy.17 instead of
/etc/selinux/strict/policy.17. A bug report has been entered in bugzilla
with the proper patch.
(http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125737)
However, our tools should handle this situation more gracefully and this
will be fixed in the next release.

Please note that we plan to work on correctly supporting multiple policies
soon. Thank you.


Don Patterson
Tresys Technology
http://www.tresys.com


-Don 

-----Original Message-----
From: fedora-selinux-list-bounces at redhat.com
[mailto:fedora-selinux-list-bounces at redhat.com] On Behalf Of Richard Hally
Sent: Tuesday, June 08, 2004 4:45 PM
To: fedora-selinux-list at redhat.com
Subject: errors from setools

Below is the output from attempting to use 'seinfo' and 'seaudit'. The 
same error occurs in both enforcing and permissive modes.
Perhaps this will be helpful to someone.

[root at new2 root]# seinfo
Could not open policy /etc/selinux/strict/policy.17!
search_for_policyfile_with_ver: No such file or directory
Error while searching for default policy: Error in 
find_default_policy_file().

[root at new2 root]# seaudit
Could not open policy /etc/selinux/strict/policy.17?!
search_for_policyfile_with_ver: No such file or directory
[root at new2 root]# rpm -q setools
setools-1.4-1
[root at new2 root]# rpm -q selinux-policy-strict
selinux-policy-strict-1.13.4-2
[root at new2 root]#

HTH
Richard Hally
--
fedora-selinux-list mailing list
fedora-selinux-list at redhat.com
http://www.redhat.com/mailman/listinfo/fedora-selinux-list




More information about the fedora-selinux-list mailing list