conf/81977: Order in /etc/rc.d (ntpd need devfs)

Bernd Luevelsmeyer bernd at heitec.net
Tue Jun 7 07:20:29 GMT 2005


>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:


More information about the freebsd-bugs mailing list