Bug 487545

Summary: jobs aren't getting run.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mmaslano, pertusus, pfrields, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-26 18:07:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.