[EMAIL PROTECTED] wrote:

> Log:
> Revert pid file usage until LFS functions handle stale pid files better

Wow, thanks for the reminder Dan.  I went to see how I had done it in 
the LSB scripts and realized I had never committed the change.  IOW, the 
LSB scripts never had a required return value of 1 in pidofproc(), for 
start_daemon() and killproc() in the LSB scripts.  Can't believe I 
forgot to do that.  I had to redo the change because that was so many 
builds ago, I had been deleted it and been running for quite a while 
without it.  In LSB scripts, if a pidfile exists (or is found in 
/var/run/$PROGRAM.pid) it was supposed to check to see if it is stale. 
Per LSB requirement, that is not a failure, simply delete it an proceed 
unless a signal was passed to killproc.  Anyway, it'll be corrected in a 
few moments in LFS bootscripts svn.

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to