Subject: Re: CVS commit: basesrc: shutdown -T
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 07/24/2000 11:56:09
On Mon, 24 Jul 2000, Greg A. Woods wrote:
> [ On Sunday, July 23, 2000 at 23:16:08 (-0500), Frederick Bruckman wrote: ]
> > Subject: Re: CVS commit: basesrc: shutdown -T
> > I agree. At least, I would like to see a way to disable it ("-T 0"?).
> > Or better, leave it off by default. After all, "shutdown" doesn't even
> > use an arbitrary time for the initial delay, so why should there be an
> > arbitrary time for this?
> In this case the high-level timeout is *always* wrong. It should never
> be done in shutdown.
> No, it's never right. There maybe should be a generic timeout in the
> rc.d mechanisms that any "stop" command can *optionally* use. However
> it's *never* right to timeout the entire process when the fault is only
> in a handful of scripts. All scripts *must* be given the chance to run
> (unless of course the operator interactively interrupts the process).
OK, so how _do_ you let an rc.d script timeout?