Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 09:19:01 +0200 (CEST)
From:      Bernd Luevelsmeyer <bernd@heitec.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/81977: Order in /etc/rc.d (ntpd need devfs)
Message-ID:  <200506070719.j577J1fm000538@tostan.admin.er.heitec.net>
Resent-Message-ID: <200506070720.j577KSpI056939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81977
>Category:       conf
>Synopsis:       Order in /etc/rc.d (ntpd need devfs)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 07 07:20:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Luevelsmeyer
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE #1: Thu May 19 2005

>Description:
If an NTP daemon has reference clocks, it will need symbolic links
in /dev which are described in /etc/devfs.conf. Hence,
/etc/rc.d/devfs should run before /etc/rc.d/ntpd, but rcorder sorts
it later.

>How-To-Repeat:
rcorder /etc/rc.d/*

>Fix:
Have a line
        # REQUIRE: devfs
in /etc/rc.d/ntpd
This however collides with "LOGIN", which is required by devfs and
has a "BEFORE" in ntpd so you get a circular dependency. I've left
the "BEFORE: LOGIN" out of /etc/rc.d/ntpd, but I'm not sure about
it.
>Release-Note:
>Audit-Trail:
>Unformatted:



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