From Andre.Albsmeier@siemens.com  Wed Jun 22 13:42:59 2005
Return-Path: <Andre.Albsmeier@siemens.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BBA2116A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 13:42:59 +0000 (GMT)
	(envelope-from Andre.Albsmeier@siemens.com)
Received: from david.siemens.de (david.siemens.de [192.35.17.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 487CD43D55
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 13:42:58 +0000 (GMT)
	(envelope-from Andre.Albsmeier@siemens.com)
Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14])
	by david.siemens.de (8.12.6/8.12.6) with ESMTP id j5MDgvxS032164
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 15:42:57 +0200
Received: from ims.mchp.siemens.de (ims.mchp.siemens.de [139.25.31.39])
	by mail1.siemens.de (8.12.6/8.12.6) with ESMTP id j5MDgvjb002966
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 15:42:57 +0200
Received: from mail-ct.mchp.siemens.de (mail-ct.mchp.siemens.de [139.25.31.51])
				by ims.mchp.siemens.de  with ESMTP id j5MDguFv019202
				for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 15:42:56 +0200 (MEST)
Received: from curry.mchp.siemens.de (curry [139.25.42.7])
	by mail-ct.mchp.siemens.de (8.12.11/8.12.11) with ESMTP id j5MDguEe017984
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2005 15:42:56 +0200 (MEST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.13.3/8.13.3) id j5MDguqf096230
	for FreeBSD-gnats-submit@freebsd.org; Wed, 22 Jun 2005 15:42:56 +0200 (CEST)
Message-Id: <200506221342.j5MDguZR004393@curry.mchp.siemens.de>
Date: Wed, 22 Jun 2005 15:42:56 +0200 (CEST)
From: Andre Albsmeier <Andre.Albsmeier@siemens.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /etc/rc.d/ntpd is being started too early
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82526
>Category:       conf
>Synopsis:       [patch] /etc/rc.d/ntpd is being started too early
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 13:50:08 GMT 2005
>Closed-Date:    Mon Dec 19 10:59:28 GMT 2005
>Last-Modified:  Mon Dec 19 19:40:02 GMT 2005
>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@timefix:~>rcorder /etc/rc.d/* >/dev/null
rcorder: Circular dependency on provision `LOGIN' in file `/etc/rc.d/devfs'.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: dougb 
State-Changed-When: Mon Dec 5 08:51:52 GMT 2005 
State-Changed-Why:  

This problem seems to have sorted itself out in HEAD and 
RELENG_6. Is there any way you can upgrade the affected 
system to 6-Stable and report back if that fixes it for you? 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Mon Dec 5 08:51:52 GMT 2005 
Responsible-Changed-Why:  

I'll handle the feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82526 
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Dec 19 10:58:54 UTC 2005 
State-Changed-Why:  

Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82526 

From: Andre Albsmeier <andre@albsmeier.net>
To: Doug Barton <dougb@FreeBSD.org>
Cc: Andre.Albsmeier@siemens.com, bug-followup@FreeBSD.org
Subject: Re: conf/82526: [patch] /etc/rc.d/ntpd is being started too early
Date: Mon, 19 Dec 2005 19:03:51 +0100

 On Mon, 19-Dec-2005 at 10:59:26 +0000, Doug Barton wrote:
 > Feedback timeout.
 > 
 
 That's not true. I reported earlier that the problem persists
 in 5-STABLE and I currently can't upgrade to 6.x.
 
 	-Andre

From: Doug Barton <dougb@FreeBSD.org>
To: Andre Albsmeier <andre@albsmeier.net>
Cc: Andre.Albsmeier@siemens.com,  bug-followup@FreeBSD.org
Subject: Re: conf/82526: [patch] /etc/rc.d/ntpd is being started too early
Date: Mon, 19 Dec 2005 11:09:06 -0800

 Andre Albsmeier wrote:
 > On Mon, 19-Dec-2005 at 10:59:26 +0000, Doug Barton wrote:
 >> Feedback timeout.
 >>
 > 
 > That's not true. I reported earlier that the problem persists
 > in 5-STABLE and I currently can't upgrade to 6.x.
 
 Sorry about that, there was nothing in the audit trail of the PR.
 
 
 -- 
 
      This .signature sanitized for your protection
 

From: Andre Albsmeier <andre@albsmeier.net>
To: Doug Barton <dougb@FreeBSD.org>
Cc: Andre Albsmeier <andre@albsmeier.net>, Andre.Albsmeier@siemens.com,
        bug-followup@FreeBSD.org
Subject: Re: conf/82526: [patch] /etc/rc.d/ntpd is being started too early
Date: Mon, 19 Dec 2005 20:31:47 +0100

 On Mon, 19-Dec-2005 at 11:09:06 -0800, Doug Barton wrote:
 > Andre Albsmeier wrote:
 > >On Mon, 19-Dec-2005 at 10:59:26 +0000, Doug Barton wrote:
 > >>Feedback timeout.
 > >>
 > >
 > >That's not true. I reported earlier that the problem persists
 > >in 5-STABLE and I currently can't upgrade to 6.x.
 > 
 > Sorry about that, there was nothing in the audit trail of the PR.
 
 I assume this came from the fact that bug-followup@ wasn't CC'ed
 in the mail requesting the feedback a few weeks ago. Since I didn't
 add it, my reply apparently reached only the requester. Now I
 added bug-followup@ manually.
 
 Anyway, no big deal :-). I have fixed it locally in 5-STABLE and
 will cry again when going to 6.x and it doesn't work :-).
 
 Thanks,
 
 	-Andre
>Unformatted:
