http://bugzilla.novell.com/show_bug.cgi?id=559534 http://bugzilla.novell.com/show_bug.cgi?id=559534#c65 --- Comment #65 from Martin Vidner <mvidner@novell.com> 2009-12-07 13:50:38 UTC ---
How should startproc determine that the pid file is stale?
A pid file is stale if the pid it contains is not present (or if it is referencing a process running a different binary, more about that in http://perfec.to/stalepid.html but that is not the case here).
It could be a crash of one of several processes of one binrary without having the pid file removed.
Yes, like in our case, where the single lighty binary is used for 3 separate services.
This case is AFAICS from LSB specs not handled.
In this case, I think it is handled, with the quote from comment 48: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generi... LSB: "Conforming implementations may use other mechanisms besides those based on pidfiles, unless the -p pidfile option has been used. Conforming applications should not rely on such mechanisms and should always use a pidfile." I interpret that as directing startproc to check the pid only and not look at other processes using that binary. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.