From owner-freebsd-current@FreeBSD.ORG Mon Sep 8 12:45:36 2003 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 448E916A4BF for ; Mon, 8 Sep 2003 12:45:36 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c211-28-27-130.belrs2.nsw.optusnet.com.au [211.28.27.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE70E43FBD for ; Mon, 8 Sep 2003 12:45:32 -0700 (PDT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h88JjUgh002662; Tue, 9 Sep 2003 05:45:30 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h88JjSZw002661; Tue, 9 Sep 2003 05:45:28 +1000 (EST) Date: Tue, 9 Sep 2003 05:45:28 +1000 From: Peter Jeremy To: Philipp Grau Message-ID: <20030908194528.GE43314@cirb503493.alcatel.com.au> References: <20030908105911.GA152151@CIS.FU-Berlin.DE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030908105911.GA152151@CIS.FU-Berlin.DE> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: new rc system 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: Mon, 08 Sep 2003 19:45:36 -0000 On Mon, Sep 08, 2003 at 12:59:11PM +0200, Philipp Grau wrote: >Next problem is that /etc/rc.d/ntpd is evaluated before /etc/rc.d/devfs (see >the output of "rcorder /etc/rc.d*) So the start of ntpd fails because it is >requires the devfs link. Ntpd likes to open /dev/refclock-0. > >What should I do to circumvent this problem? By simply adding a >"# REQUIRE: devfs" to the /etc/rc.d/ntpd file? Or this there some other >mechanism? This is a known shortcoming in the new rc system. Luke Mewburn commented on it in a talk recently but does not yet have a satisfactory solution. Assuming there is no implicit dependency on ntpd by devfs, adding "# REQUIRE: devfs" to /etc/rc.d/ntpd should work as would adding "# BEFORE: ntpd" to /etc/rc.d/devfs. You will need to remember to merge this change into future updates. Another option may be to create a dummy new rc.d file that contains both the above lines. Peter