Bug 487545 - jobs aren't getting run.
Summary: jobs aren't getting run.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-26 16:42 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-26 18:07:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2009-02-26 16:42:08 UTC
The mrtg package creates /etc/cron.d/mrtg
which is..

MAILTO=root
* * * * * 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.

Comment 1 Dave Jones 2009-02-26 16:44:50 UTC
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.

Comment 2 Dave Jones 2009-02-26 16:47:01 UTC
ah, there's the problem.. (I forgot cron had its own log, and was looking in syslog)

Feb 26 09:52:01 firewall crond[7644]: (*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[7644]: (root) ERROR (failed to change SELinux context)

Comment 3 Dave Jones 2009-02-26 18:07:59 UTC
did a yum update to todays bits, and it seems to work again.


Note You need to log in before you can comment on or make changes to this bug.