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

Wed Aug 6 17:09:21 UTC 2014
Tony Mountifield <tony at softins.co.uk>

In article <20140806165735.GD10943 at frodo.gerdesas.com>,
John R. Dennison <jrd at gerdesas.com> wrote:
> 
> 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.

Ah, ok, thanks. I hadn't actually gone and looked...

> I suspect it's selinux; /var/log should have a "var_log_t" context and I
> suspect it doesn't.

Be interesting to know if that fixes it for the OP.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org