Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 18:33:21 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/inetd inetd.c 
Message-ID:  <23428.932574801@axl.noc.iafrica.com>
In-Reply-To: Your message of "Wed, 21 Jul 1999 18:15:09 %2B0200." <25763.932573709@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help

[Hi-jacked from cvs-committers and cvs-all]

On Wed, 21 Jul 1999 18:15:09 +0200, Poul-Henning Kamp wrote:

> There is another one you may want to look at, I have not figured it
> out yet:
> 
> I try to start a ntpd from /etc/rc.local this way:
> 
> 	nohup /usr/local/bin/ntpd -d -d > /usr/ntp/x.ntpd 2>&1 &
>
>and it invariably ends up dead in a few seconds with:

>       Jul 17 12:26:39 <ntp.notice> bogon ntpd[248]: ntpd exiting on signal 1

Can nohup really prevent processes from trapping SIGHUP? I thought it
just set the SIGUP handler to discard and hoped for the best.

Xntpd in the base system explicitly requests its graceful termination
function, called finish(), be loaded as the SIGHUP handler.

What is it you'd like?

	1) nohup should prevent processes from trapping SIGHUP.
	2) xntpd should reconfigure on SIGHUP.
	3) xntpd is getting a SIGHUP and you're not sure where from.
	4) xntpd is different from the port's ntpd in some way that
	   should change.

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23428.932574801>