From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 15:29:53 2004 Return-Path: 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 5F20E16A4CE; Thu, 21 Oct 2004 15:29:53 +0000 (GMT) Received: from telecom.net.et (sparrow.telecom.net.et [213.55.64.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 627AC43D2F; Thu, 21 Oct 2004 15:29:50 +0000 (GMT) (envelope-from mtm@identd.net) Received: from [213.55.68.46] (HELO rogue.acs.lan) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP id 60734198; Thu, 21 Oct 2004 18:22:40 +0300 Received: by rogue.acs.lan (Postfix, from userid 1000) id A4086B830; Thu, 21 Oct 2004 18:29:20 +0300 (EAT) Date: Thu, 21 Oct 2004 18:29:20 +0300 From: Mike Makonnen To: Brooks Davis Message-ID: <20041021152920.GB1811@rogue.acs.lan> References: <4176E837.90402@telia.com> <20041021132145.65F415D04@ptavv.es.net> <20041021151914.GB31030@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041021151914.GB31030@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD/6.0-CURRENT (i386) cc: freebsd-current@freebsd.org cc: freebsd-rc@freebsd.org Subject: Re: RCng/NTP Catch-22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 15:29:53 -0000 On Thu, Oct 21, 2004 at 08:19:14AM -0700, Brooks Davis wrote: > The requiement of LOGIN is bogus. Things that configure important > features like /dev must come before users might try to use them. > The current setup is extra nonsensical because devd is already > running when rc.d/devfs starts beating on things in /dev. > > I'll commit the following patch soon if there are no objections. > > -- Brooks > > Index: devfs > =================================================================== > RCS file: /home/ncvs/src/etc/rc.d/devfs,v > retrieving revision 1.9 > diff -u -p -r1.9 devfs > --- devfs 7 Oct 2004 13:55:25 -0000 1.9 > +++ devfs 21 Oct 2004 15:12:52 -0000 > @@ -4,8 +4,7 @@ > # > > # PROVIDE: devfs > -# REQUIRE: LOGIN > -# BEFORE: securelevel > +# BEFORE: NETWORKING securelevel > # KEYWORD: nojail > > . /etc/rc.subr When I was workin on this 'way back when..' I tried to keep the general order in /etc/rc because I didn't know if someone had a reason I didn't know about for having something before or after something else. So I kept the general order in /etc/rc and figured we would fix things as they were reveiwed. This seems to be one of those. Your patch is missing a requirement for rcconf and mountcrit remote. devfs can't be run before NETWORKING because it depends on at least one binary in /usr/sbin. See my patch and reply to Andre. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !