Bug 507010
Summary: | Jobs in /etc/cron.{hourly,daily,weekly,monthly} do not fire without anacron installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Webb <ben> |
Component: | crontabs | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | adrian, mmaslano, 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-06-19 20:43:00 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
Ben Webb
2009-06-19 20:10:09 UTC
Please, just install anacron as that is the only supported way to run the daily, weekly and monthly jobs. Of course the other possibility for you is to add the run-parts jobs manually into the /etc/crontab, but you're on your own in that case. cronie will probably in future integrate with anacron completely. (In reply to comment #1) > Please, just install anacron as that is the only supported way to run the > daily, weekly and monthly jobs. This seems to have been missed from the F11 release notes. Periodic jobs ran just fine in F10 without requiring anacron. I am not a huge fan of anacron (since my machines are on 24/7, I have no need of it) but if I am going to be required to use it anyway in order for my cronjobs to actually work (rather than being silently ignored) the crontabs package should depend on anacron, not just on cronie. Isn't this what RPM dependencies are for? cronie requires anacron and anacron requires crontabs. crontabs is needed by other packages so I didn't want to create useless requirements. I plan including cron and anacron functionality in one package so the problematic requires disappear hopefully in next Fedora. (In reply to comment #3) > cronie requires anacron and anacron requires crontabs. This seems like a reasonable solution to me, but it does not appear to be the case in the current stable updated version of F11: $ rpm -q cronie cronie-1.3-1.fc11.x86_64 $ rpm -q --requires cronie|grep anacron $ RPM also did not complain when I removed the anacron package, of course. (If I had removed the anacron package with --nodeps, obviously I would be to blame for the problem and so this bug report simply wouldn't exist.) Is the dependency you refer to added in a later version of the cronie package? If so, what is the version/release? I can test this fix out. anacron-2.3-75.fc11 & cronie-1.3-2.fc11 (in testing). Both of them should be soon in stable updates. *** Bug 508432 has been marked as a duplicate of this bug. *** |