From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 13:21:45 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 F14C716A4CE for ; Thu, 21 Oct 2004 13:21:45 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58BA43D2F for ; Thu, 21 Oct 2004 13:21:45 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id IBA74465; Thu, 21 Oct 2004 06:21:45 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 65F415D04; Thu, 21 Oct 2004 06:21:45 -0700 (PDT) To: Pawel Worach In-reply-to: Your message of "Thu, 21 Oct 2004 00:35:35 +0200." <4176E837.90402@telia.com> Date: Thu, 21 Oct 2004 06:21:45 -0700 From: "Kevin Oberman" Message-Id: <20041021132145.65F415D04@ptavv.es.net> cc: freebsd-current@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 13:21:46 -0000 > Date: Thu, 21 Oct 2004 00:35:35 +0200 > From: Pawel Worach > > Kevin Oberman wrote: > >>Date: Thu, 21 Oct 2004 00:07:08 +0200 > >>From: Pawel Worach > > Pawel, > > > > Thanks, but you missed the point. /etc/rc.d/devfs is always executed > > AFTER ntpd. So putting the links into devfs.conf does not help. It's too > > late. > > Sorry, missed the patch I'm using. > > --- /usr/src/etc/rc.d/NETWORKING Fri Oct 8 01:49:33 2004 > +++ NETWORKING Thu Oct 21 00:30:39 2004 > @@ -6,7 +6,7 @@ > > # PROVIDE: NETWORKING NETWORK > # REQUIRE: dhclient netif routing network_ipv6 isdnd ppp-user > -# REQUIRE: routed mrouted route6d mroute6d > +# REQUIRE: routed mrouted route6d mroute6d devfs > > # This is a dummy dependency, for services which require networking > # to be operational before starting. > --- /usr/src/etc/rc.d/devfs Fri Oct 8 01:49:33 2004 > +++ devfs Thu Oct 21 00:31:52 2004 > @@ -4,7 +4,6 @@ > # > > # PROVIDE: devfs > -# REQUIRE: LOGIN > # BEFORE: securelevel > # KEYWORD: nojail Thanks. This does the trick, but allows devfs to start at any time before securelevel. I'm not sure if this might bite me somewhere down the line. Why does devfs require LOGIN? I assume three was a reason, but I have no idea if it was a good one or just a convenient choice. In any case, this does get things started, but a solution really needs to be incorporated into the distribution system. People installing and maintaining systems should not have to patch startup files to make ntpd work. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634