Date: Wed, 30 Oct 2002 16:41:20 -0800 From: Gordon Tetlow <gordont@gnf.org> To: Tim Kientzle <kientzle@acm.org> Cc: current@freebsd.org Subject: Re: RCng Awkwardness Message-ID: <20021031004120.GE30253@roark.gnf.org> In-Reply-To: <3DC05BF4.8050203@acm.org> References: <3DC03815.2050003@acm.org> <20021030200055.GA30253@roark.gnf.org> <3DC05BF4.8050203@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nd30OFrAEJM3lM6x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 30, 2002 at 02:23:48PM -0800, Tim Kientzle wrote: > Gordon Tetlow wrote: >=20 > >On Wed, Oct 30, 2002 at 11:50:45AM -0800, Tim Kientzle wrote: > > > >>I find the standard arguments used by RCng quite > >>awkward. In particular, ... "/etc/rc.d/nfsd stop" does > >>not actually stop the nfsd process. ... > > > >... I've found this behavior to be quite annoying. I'll > >see if I can put something together. If you want to help me out and > >put together the patches, I'd be more than happy to commit them. >=20 >=20 > I have something partly sketched out, but > it still needs some work. I can > send you something in the next > couple of days to look at. >=20 > I see two awkward issues: >=20 > * Is it necessary to distinguish 'stop' > (unconditional stop) from 'shutdown' > (stop only if enabled)?? >=20 > Seems that at system shutdown you want > everything to be taken down, regardless > of whether it was brought up at boot > or brought up manually post-boot. > The unconditional 'stop' seems to be > all that's needed. I agree, but can you make it use shutdown and just alias it to stop? This will be just in case we see a new need for a special shutdown case. > * Local rc scripts (in /usr/local/etc/rc.d) > will still get run with a 'start' > argument, while system scripts in > /etc/rc.d will get a 'boot' argument. > That's a bit awkward, but still > reasonably consistent: 'start' > is still an unconditional operation. That's fine. No big deal there. -gordon --nd30OFrAEJM3lM6x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9wHwwRu2t9DV9ZfsRAlgsAJ4pcbKn0cDmk8E3YHgqqdVhzcZjRwCglddO p8ebAPQfDtL/PGjLoTbtK5o= =7VZ/ -----END PGP SIGNATURE----- --nd30OFrAEJM3lM6x-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021031004120.GE30253>