[16300] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 8.2.9: syslogd is six feet under?

daemon@ATHENA.MIT.EDU (Robert A Basch)
Fri Sep 4 17:51:28 1998

Date: Fri, 4 Sep 1998 17:51:25 -0400
From: Robert A Basch <rbasch@MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: Dan Winship <danw@MIT.EDU>, Greg Hudson <ghudson@MIT.EDU>,
        Jonathon Weiss <jweiss@MIT.EDU>, John Hawkinson
	<jhawk@MIT.EDU>,
        bugs@MIT.EDU
In-Reply-To: "[16298] in Athena Bugs"

> It's interesting that the machines have no syslog.pid files (unless
> jhawk is confused and actually did look for /etc/syslogd.pid instead
> of /etc/syslog.pid).  If Dan's race is at fault, then newsyslogd would
> have to be waiting five seconds between the unlink of PidFile and the
> execv of syslogd to send the signal (there's a sleep(5) in between).
> Believable on a dialup, but not really on a workstation.

I can pretty consistently kill syslogd on a Classic by doing:

kill -HUP <pid> ; sleep 1 ; kill -HUP <pid>

Interestingly, the times it did not die were when I was truss'ing
it; then, it survived, but seemed to no longer respond to HUP
(the atime on syslog.conf didn't change).

Bob

home help back first fref pref prev next nref lref last post