Is this an selinux system?

Moray Henderson Moray.Henderson at ict-software.org
Wed Dec 2 13:41:28 UTC 2009


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."




More information about the fedora-selinux-list mailing list