[CentOS] rsyslog does not log on a separate partition/FS mounted on /var/log/

James A. Peltier jpeltier at sfu.ca
Wed Aug 6 16:58:53 UTC 2014


----- Original Message -----
| On Wed, Aug 06, 2014 at 04:50:41PM +0000, Tony Mountifield wrote:
| > 
| > Probably rsyslog is being started before /var/log is mounted, and
| > so it
| > is opening files within /var/log on the root device.
| 
| rsyslog should start after local mounts are finished.
| 
| I suspect it's selinux; /var/log should have a "var_log_t" context
| and I
| suspect it doesn't.

running a restorecon -vv on /var/log should correct that automatically I would think.

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices

To be original seek your inspiration from unexpected sources.



More information about the CentOS mailing list