SELinux errors

Vladimir G. Ivanovic vladimir at acm.org
Wed Oct 26 07:30:15 UTC 2005


I'm getting lots of errors like:

/etc/selinux/targeted/contexts/files/file_contexts:  line 1851 has invalid context system_u:object_r:texrel_shlib_t
/etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 14 has invalid context user_u:object_r:user_home_dir_t

when I run "rpm -V selinux-policy-targeted". (As far as I can tell,
every non-null, non-comment line in /etc/..../files/* generates an
error.) 

In my syslog I have thousands of errors like:

Oct 26 00:21:16 bach kernel: inode_doinit_with_dentry:  context_to_sid(system_u:object_r:policy_src_t:s0) returned 22 for dev=sda4 ino=1145588
Oct 26 00:21:16 bach kernel: inode_doinit_with_dentry:  context_to_sid(system_u:object_r:policy_src_t:s0) returned 22 for dev=sda4 ino=266929

which I assume are related.

I've tried reinstalling the RPMs selinux-policy-targeted and
selinux-policy-targeted-sources, and then booting with selinux=0,
running "fixfiles relabel" and then rebooting normally. No change.

I've tried googling, but I didn't find anything. Any advice (other
than turning SELinux off)?

Thanks.

--- Vladimir

kernel-smp-2.6.13-1.1532_FC4

checkpolicy-1.23.1-1
libselinux-1.26-1
libselinux-devel-1.26-1
policycoreutils-1.27.2-1.2
selinux-doc-1.19.5-1
selinux-policy-strict-1.27.1-2.6
selinux-policy-strict-sources-1.27.1-2.6
selinux-policy-targeted-1.27.1-2.6
selinux-policy-targeted-sources-1.27.1-2.6
setools-2.1.2-1.1

-- 
Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014




More information about the fedora-list mailing list