Bug 470168
Summary: | Default anacron config adds excessive delay to manual invocation of anacron. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Snook <csnook> |
Component: | anacron | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | mmaslano |
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-06 14:54:21 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
Chris Snook
2008-11-06 04:12:11 UTC
If you run 'anacron -n', then /etc/anacrontab should be interpreted. In case I invoke 'anacron -n' the delay was as long as was set in /etc/anacrontab. Also this behaviour was already in F-8. Could you please provide more information about this problem? I'm not sure if shorter delay f.e. 12 minutes is enough for more computers on one line. Maybe the delay should be changed on zero and administrators should change it for their purposes. The problem isn't with /etc/anacrontab, it's with the scripts that get invoked when anacron runs. Invoking anacron -n is supposed to ignore the delays in anacrontab, and it does, but the scripts still add a pseudorandom sleep, which is not in F-9, is not documented anywhere other than the scripts themselves, and clearly violates the user's intent. Even worse, the delay this sleep imposes may not be noticeable in testing, and only reveal itself to be enormous on occasion when deployed, yet fail to reproduce when a user complains, due to the pseudorandom nature. When a user invokes anacron -n, it should complete without any unnecessary delay. The sleep hack in /etc/cron.daily/0anacron and /etc/cron.weekly/0anacron is clearly not the right way to solve the problem it aims to address. This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I can hardly change config file in F-10 and therefore I'd like to close this bug as next release because I removed this delay and introduced new option as you proposed. Since anacron-2.3-68.fc11 could be set RANDOM_DELAY in /etc/anacrontab. If this solution isn't sufficient, please let me know. |