/dev/pts/ptmx SELinux label
Daniel J Walsh
dwalsh at redhat.com
Fri Jun 17 17:29:09 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/17/2011 12:42 PM, Jerry James wrote:
> While trying to debug the Rawhide boot lockup on my i686 virtual
> machine that has been discussed here recently, I've had to do a number
> of SELinux relabels. Every single time, I see this one:
>
> reset /dev/pts/ptmx context
> system_u:object_r:devpts_t:s0->system_u:object_r:ptmx_t:s0
>
> So restorecon disagrees with whatever creates /dev/pts/ptmx about what
> type it should be. What does create /dev/pts/ptmx, and which type is
> right?
ptmx_t is correct.
grep /dev/pts /etc/selinux/targeted/contexts/files/file_contexts
/dev/pts(/.*)? <<none>>
/dev/pts -d system_u:object_r:devpts_t:s0
/dev/pts/ptmx -c system_u:object_r:ptmx_t:s0
/dev/pts is a mounted devpts file system, I would figure the kernel
must be creating this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk37juUACgkQrlYvE4MpobODfACg33owpO9L7bIagYD+r9l6p3gA
57EAoOTabluUQ/SlXashI08w+WfvGAaO
=Hgbs
-----END PGP SIGNATURE-----
More information about the devel
mailing list