Re: SELinux: security_context_to_sid error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-08-13 at 21:10 +0000, Anamitra Dutta Majumdar (anmajumd)
wrote:
> We are trying to port over our policies from RHEL5 based CUCM release
> to RHEL6 based release. We are starting selinux in permissive mode.
> 
> 
> When the system comes up during firstboot it gets stuck at a certain
> point. When we check the syslogs  we find that they are empty.
> 
> 
> On checking the message buffer we find the following entries
> 
> 
> SELinux: security_context_to_sid(system_u:object_r:tmpfs_t) failed for
> (dev dbcfs, type dbcfs) errno=-22
> Kill signal sent to compthread

This means you tried to pass context=system_u:object_r:tmpfs_t as a
mount option (e.g. from /etc/fstab or the mount command line) when
mounting the dbcfs (which is what?), and you need to specify the :s0
suffix on the context for the MLS/MCS label.  

> 
> What could be causing such an error in RHEL6. The  same policies work
> fine on RHEL5.
> 
> 
> Any pointers would be greatly appreciated.
> 
> 
> Thanks,
> Anamitra
> --
> selinux mailing list
> selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux

-- 
Stephen Smalley
National Security Agency

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux