Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 18:29:20 +0300
From:      Mike Makonnen <mtm@identd.net>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        Kevin Oberman <oberman@es.net>
Subject:   Re: RCng/NTP Catch-22
Message-ID:  <20041021152920.GB1811@rogue.acs.lan>
In-Reply-To: <20041021151914.GB31030@odin.ac.hmc.edu>
References:  <4176E837.90402@telia.com> <20041021132145.65F415D04@ptavv.es.net> <20041021151914.GB31030@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 !



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