Displaying 3 results from an estimated 3 matches for "context_to_sid".
2015 Jun 02
3
Try II: selinux, xfs, and CentOS 6 and 5 issue
...CentOS 5 system was
enforcing. I changed it to permissive, I labelled the directories and
files w/ semanage, did a restorecon, and even did a fixfiles, and *then* I
tried /.autorelabel and rebooted, and we still get a ton of errors:
Jun 1 17:01:32 <server> kernel: inode_doinit_with_dentry:
context_to_sid(unconfined_u:object_r:file_t:s0) returned 22 for dev=sdd1
ino=2151541032
I had to reboot to disabled to get it to shut up.
So: is there something that selinux does in CentOS 6 that is in the
labelling on the xfs filesystem that I can do something about on the
CentOS 5 system, or do I just have to...
2015 Jun 02
0
Try II: selinux, xfs, and CentOS 6 and 5 issue
...enforcing. I changed it to permissive, I labelled the directories and
> files w/ semanage, did a restorecon, and even did a fixfiles, and *then* I
> tried /.autorelabel and rebooted, and we still get a ton of errors:
> Jun 1 17:01:32 <server> kernel: inode_doinit_with_dentry:
> context_to_sid(unconfined_u:object_r:file_t:s0) returned 22 for dev=sdd1
> ino=2151541032
>
> I had to reboot to disabled to get it to shut up.
>
> So: is there something that selinux does in CentOS 6 that is in the
> labelling on the xfs filesystem that I can do something about on the
> Cent...
2015 Jun 03
0
Try II: selinux, xfs, and CentOS 6 and 5 issue [SOLVED]
...orcing.
> I changed it to permissive, I labelled the directories and files w/
semanage,
> did a restorecon, and even did a fixfiles, and *then* I tried
/.autorelabel and
> rebooted, and we still get a ton of errors: Jun 1 17:01:32 <server>
kernel:
> inode_doinit_with_dentry:
> context_to_sid(unconfined_u:object_r:file_t:s0) returned 22 for dev=sdd1
ino=2151541032
Dan's recommendation to add context="system_u:object_r:usr_t:s0" to the
mount options in fastab does indeed seem to have solve the problem. Thanks
muchly, Dan.
mark