[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Crontab and init scripts



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]