conf/82526: /etc/rc.d/ntpd is being started too early
Andre Albsmeier
Andre.Albsmeier at siemens.com
Wed Jun 22 13:50:09 GMT 2005
>Number: 82526
>Category: conf
>Synopsis: /etc/rc.d/ntpd is being started too early
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 22 13:50:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andre Albsmeier
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE #3: Wed Jun 22 08:46:11 CEST 2005
HP GPS receiver attached to cuaa0
>Description:
To make ntpd use an HP GPS receiver as time reference it needs
a symlink from /dev/cuaa0 to /dev/hpgps0 which can be created
by an appropriate entry in /etc/devfs.conf.
However, devfs.conf rules are currently aplied after ntpd
had been started and that's why ntpd won't see the link.
>How-To-Repeat:
Try to sync ntpd to an HP GPS receiver using /dev/hpgps0.
>Fix:
--- /etc/rc.d/ntpd.ORI Wed Apr 20 15:24:32 2005
+++ /etc/rc.d/ntpd Wed Jun 22 15:30:10 2005
@@ -5,8 +5,7 @@
#
# PROVIDE: ntpd
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
+# REQUIRE: DAEMON devfs
# KEYWORD: nojail
. /etc/rc.subr
I had to remove the BEFORE: statement before rcorder would
have complained otherwise:
root at timefix:~>rcorder /etc/rc.d/* >/dev/null
rcorder: Circular dependency on provision `LOGIN' in file `/etc/rc.d/devfs'.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list