OK, I don't mind that as long as the bug is left open (with severity
downgraded, of course).

John

Brandon Mitchell <[EMAIL PROTECTED]> writes:

> On 15 Jun 1998, John Goerzen wrote:
> 
> > > Or, just put a 2 second sleep between the kill and start in the
> > > /etc/init.d/lpd restart section.
> > 
> > Why would this make a difference?  Wouldn't this signify a race
> > condition?  Worse, on a heavily-loaded system, wouldn't 2 seconds be
> > too little a wait for whatever needs to be done?
> 
> Yes, it is a race condition.  My guess is that lpr doesn't die before the
> next lpr tries to start up.  The second lpr sees the first and fails to
> start, and then the first finally dies.  There are much better solutions
> than a 2 second wait, and it will probably fail on a heavily-loaded
> system.  However, it's enough to get the bug out of the release critical
> list, and to take a deap breath before working on the correct solution.
> 
> OK?
> Brandon
> 
>                                     --+--
> Brandon Mitchell <[EMAIL PROTECTED]> | Debian Testing Group Status
> PGP Key:   finger -l [EMAIL PROTECTED] |  http://bhmit1.home.ml.org/deb/
>     Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)
> 

-- 
John Goerzen   Linux, Unix consulting & programming   [EMAIL PROTECTED] |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capitol Linux Users Group on the web at http://www.aclug.org


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to