Bug 162835
Summary: | Too late scheduling in /etc/cron.daily/ | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | katzj, milan.kerslager, notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-18 20:19:34 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
Jan Kratochvil
2005-07-10 03:09:58 UTC
The renaming will push all the rest of the scripts one hour later because there are random delays in /etc/cron.daily/yum.cron. I suggest to lower delay 120 minutes to 15, 20, 30 or so. FC4 has some 0* entries already, so rename to 000-yum please: # ls /etc/cron.daily/ 00-logwatch certwatch logrotate rpm tetex.cron 00webalizer cups makewhatis.cron slocate.cron tmpwatch 0anacron disktest-smart prelink squirrelmail.cron yum.cron We could do this, but the delay seems like it's going to make things less than ideal. Bill -- your thoughts? Obviously, we should rip out the the cron.daily subsystem and replace it with a new cron replacement where you can specify dependencies between jobs and it will reorder them for you. *ahem* We could take the delays out and rely on the mirror code to distribute the load. Or, we could just leave the delays in, because I'd assume the number doing auto updates would be a smaller portion of the installed base. What about moving /etc/cron.daily/prelink to /etc/cron.daily/zz-prelink so the prelink will be run after yum script? (In reply to comment #5) > What about moving /etc/cron.daily/prelink to /etc/cron.daily/zz-prelink so the > prelink will be run after yum script? Still would remain flawed (probably more, not much packages installed here): * rpm: "/var/log/rpmpkgs" is EACH DAY obsolete now due to the mostly daily updates. * slocate.cron: locate(1) is now also usually obsolete (not much serious, files count usually does not change on updates). What about moving "cron.daily" from its original 4:02 to 3:02 as "yum.cron" now delays the execution by 65 minutes in average? This scheduling is already not much useful due to the timezone differences anyway. This breaks order of hourly-daily-weekly-monthly. Ok. So you have to have: ... /etc/cron.daily/yum.cron /etc/cron.daily/zz-prelink /etc/cron.daily/zz-rpm /etc/cron.daily/zz-slocate.cron I think that this is pretty easy change. The yum automatic update stuff is now handled in yum-updatesd which will make things not fall directly at 4 am anymore |