Re: /dev/pts/ptmx SELinux label

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

 



-----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-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux