[PATCH 2/3] Make yum-{daily, hourly}.cron.sh use independent lockfiles.

James Antill james at fedoraproject.org
Mon Jan 20 19:53:04 UTC 2014

On Mon, 2014-01-20 at 11:29 -0500, Zdenek Pavlas wrote:
> > at the same time, and then the second one to start would see the service
> > lock file of the other and exit. Which seemed like a fine idea, except
> > the yum lock will also do the same thing so we need to fix both (or do
> > nothing).
> Check the *.cron.sh files.. these lock files are static, they are not
> created/removed when the *job* starts/finishes.

 Right, brain fart ... they aren't really lock files so much as
configuration of when the service should run/not-run. Ignore most of
what I said in this thread :), splitting them is fine.

>   While I think of it,
> maybe it'd be easiest to have just one service, and let users edit
> /etc/cron.hourly/0yum-cron.cron:

 Don't do this, non-std. way of turning the service on/off sucks.

More information about the Yum-devel mailing list