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

Re: another look at release-critical bugs



On Sat, May 30, 1998 at 05:41:12PM -0700, G John Lapeyre wrote:
> 	And this bug is really annoying, it occurs on all of several
> machines running hamm here-- definately needs to be taken care of before
> release. 
When does lpr die?

The following patch cured the "lpd dies over weekend" symptom on my machine:

--- /etc/init.d/lpd.orig    Mon Jun  1 13:24:41 1998
+++ /etc/init.d/lpd Mon Jun  1 13:25:07 1998
@@ -21,4 +21,5 @@
        echo -n "Restarting printer spooler: lpd"
        start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/lpd.pid
--exec $DAEMON
+        sleep 2
        start-stop-daemon --start --quiet --exec $DAEMON
        echo "."


The reason for the kill was the line
  /etc/init.d/lpd restart
in /etc/cron.weekly/lpr

This is a workaround of course, but should be enough to reduce the bug
severity to not halting the hamm release any more.

Nils

--
*-----------------------------------------------------------------------------*
| Quotes from the net:  L> Linus Torvalds, W> Winfried Truemper               |
| L>this is the special easter release of linux, more mundanely called 1.3.84 |
| W>Umh, oh. What do you mean by "special easter release"?. Will it quit      |
* W>working today and rise on easter?                                         *

Attachment: pgpvfKV0p30Gb.pgp
Description: PGP signature


Reply to: