Is this an selinux system?

Daniel J Walsh dwalsh at redhat.com
Wed Dec 2 20:09:00 UTC 2009


On 12/02/2009 08:41 AM, Moray Henderson wrote:
> I'm trying to solve a problem on an old EL4 box.
> 
> /etc/sysconfig/selinux says:
> SELINUX=enforcing
> SELINUXTYPE=targeted
> 
> sestatus says:
> SELinux status:         enabled
> SELinuxfs mount:        /selinux
> Current mode:           enforcing
> Mode from config file:  enforcing
> Policy version:         18
> Policy from config file:targeted
> 
> seinfo and sesearch say:
> Default policy search failed: This is not an selinux system.
> 
> It clearly is an SELinux system - I see SELinux initializing during
> boot, it has an /selinux file system, files and processes have contexts,
> I get avc errors when I violate policy.  
> 
> What could be confusing seinfo and sesearch?
> 
> # ls -lZ /etc/selinux/targeted/policy
> -rw-r--r--  root     root     system_u:object_r:policy_config_t
> policy.18
> # rpm -qf /usr/bin/seinfo /usr/sbin/sestatus
> setools-1.5.1-5
> policycoreutils-1.18.1-4.7
> # rpm -V setools policycoreutils
> # 
> 
> 
> Moray.
> "To err is human.  To purr, feline."
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
> 
> 
It might be a version mismatch between seinfo and sesearch and the RHEL4 policy that is confusing it.




More information about the fedora-selinux-list mailing list