mcelog SELinux errors

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



Prowling around in the system logs this morning I discover the
following entries:

May 27 09:48:27 vhost01 mcelog: Cannot open logfile /var/log/mcelog:
Permission
denied
May 27 09:48:27 vhost01 mcelog: failed to prefill DIMM database from
DMI data
May 27 09:48:27 vhost01 mcelog: Cannot bind to client unix socket
`/var/run/mcel
og-client': Permission denied

and later:

vhost01 setroubleshoot: SELinux is preventing /usr/sbin/mcelog from
write access on the directory /var/run. For complete SELinux messages.
run sealert -l 548d9d71-bac3-41eb-aa30-9b40e3f2a324

sealert -l 548d9d71-bac3-41eb-aa30-9b40e3f2a324
SELinux is preventing /usr/sbin/mcelog from write access on the
directory /var/run.

*****  Plugin catchall (100. confidence) suggests 
***************************

If you believe that mcelog should be allowed write access on the run
directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do allow this access for now by executing:
# grep mcelog /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

This seems to my mind a bug either with the distributed SELinux
policies or the software itself or somehow something has become very,
very misconfigured. However, an semodule -l does not reveal any local
policies installed on this server, so whatever is wrong it does not
seem likely that the cause was a local modification.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux