From owner-freebsd-current Wed Oct 30 16:41:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 864AC37B401 for ; Wed, 30 Oct 2002 16:41:26 -0800 (PST) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE6B43E42 for ; Wed, 30 Oct 2002 16:41:25 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch02.lj.gnf.org [172.25.10.20]) by ns1.gnf.org (8.12.3/8.12.3) with ESMTP id g9V0fGMf072492 for ; Wed, 30 Oct 2002 16:41:16 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.4905); Wed, 30 Oct 2002 16:41:20 -0800 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.6/8.12.5) with ESMTP id g9V0fK7j084535; Wed, 30 Oct 2002 16:41:20 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.6/8.12.6/Submit) id g9V0fKnu084534; Wed, 30 Oct 2002 16:41:20 -0800 (PST) Date: Wed, 30 Oct 2002 16:41:20 -0800 From: Gordon Tetlow To: Tim Kientzle Cc: current@freebsd.org Subject: Re: RCng Awkwardness Message-ID: <20021031004120.GE30253@roark.gnf.org> References: <3DC03815.2050003@acm.org> <20021030200055.GA30253@roark.gnf.org> <3DC05BF4.8050203@acm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nd30OFrAEJM3lM6x" Content-Disposition: inline In-Reply-To: <3DC05BF4.8050203@acm.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 31 Oct 2002 00:41:20.0518 (UTC) FILETIME=[3B0FC260:01C28076] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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