Red Hat Bugzilla – Bug 487545
jobs aren't getting run.
Last modified: 2015-01-04 17:30:58 EST
The mrtg package creates /etc/cron.d/mrtg
* * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
This seems to not be getting run.
iirc, this happened a while ago too, but I can't remember what happened to fix it.
stracing the crond process shows it sleeping for 60s, waking up, and then doing nothing.
466018 was the last time, that turned out to be selinux related.
But I'm not seeing selinux denials, and the labelling on the file looks ok.
ah, there's the problem.. (I forgot cron had its own log, and was looking in syslog)
Feb 26 09:52:01 firewall crond: (*system*) ERROR (Could not set exec or keycreate context to system_u:system_r:system_cronjob_t:SystemLow-SystemHigh for user)
Feb 26 09:52:01 firewall crond: (root) ERROR (failed to change SELinux context)
did a yum update to todays bits, and it seems to work again.