[CentOS] SELinux is preventing /usr/bin/chcon "mac_admin" access
Daniel J Walsh
dwalsh at redhat.com
Tue Dec 20 18:40:12 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/20/2011 04:55 PM, James B. Byrne wrote:
>
> On Tue, December 20, 2011 09:49, Daniel J Walsh wrote:
>
>>
>> This means somebody is executing a chcon with a context that the
>> kernel does not understand. I would look for a chcon in an init
>> script.
>
> I tried this and did not find any in the init scripts:
>
> find /etc/rc.d -print | xargs grep chcon
>
grep -R chcon /etc/rc.d
Would be an easier way to do this...
ps -eZ | grep initrc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7w1owACgkQrlYvE4MpobMJUACdFTBSam9Ccdh0Qy/C3AeW+BBZ
m20AoN48oucNJQwuD9MbNx5Y2+kN3Xn5
=ruLQ
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list