Crontab and init scripts

seth vidal skvidal at linux.duke.edu
Tue Feb 21 19:47:26 UTC 2006


On Tue, 2006-02-21 at 21:34 +0200, Ville Skyttä wrote:
> On Tue, 2006-02-21 at 08:41 -0500, seth vidal wrote:
> 
> > umm - when did anyone say yum put a pid file in /var/run?
> 
> It sure does, but maybe not in the context you're discussing here.
> 
> $ sudo yum update
> Loading "installonlyn" plugin
> Existing lock /var/run/yum.pid: another copy is running. Aborting.

no - but that's when yum is actually running - not when the cron job is
enabled.

therefore the use of the yum.pid file in /var/run that you cite is a
correct use under the FHS.

-sv





More information about the fedora-extras-list mailing list