[CentOS] SELinux is preventing /usr/bin/chcon "mac_admin" access
James B. Byrne
byrnejb at harte-lyne.ca
Tue Dec 20 20:11:47 UTC 2011
On Tue, December 20, 2011 14:42, Daniel J Walsh wrote:
>
> On 12/20/2011 07:33 PM, James B. Byrne wrote:
>>
>> # grep -R chcon /etc/rc.d # ps -eZ | grep initrc
>> system_u:system_r:initrc_t:s0 1211 ? 00:00:01
>> miniserv.pl
>>
>> No chcon found in /etc/rc.d
>>
>> miniserv.pl is the Webmin httpd server. Is this causing
>> the problem?
>>
> It could be. Basically a program running as initrc_t
> executed the chcon command, probably mistakenly thinking
> it is fixing an SELinux problem. but it is using an
> invalid context.
I do not think that this is a webmin problem as I have
webmin also running on the kvm host and that server does
not report the mac_admin chcon error. Both the host and
the guest are running the same version of CentOS (6.1).
I will keep looking.
Thank you for the assistance. It is always useful to
learn how to properly use a few more commands.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the CentOS
mailing list