Subject: pkg/24947: ntpd from package ntp4 does not start via supplied rc.d script
To: None <gnats-bugs@gnats.netbsd.org>
From: Mirko Thiesen <thiesi@NetWorkXXIII.de>
List: pkgsrc-bugs
Date: 03/28/2004 05:34:00
>Number:         24947
>Category:       pkg
>Synopsis:       ntpd from package ntp4 does not start via supplied rc.d script
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 28 04:37:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mirko Thiesen
>Release:        NetBSD 1.6.2_STABLE
>Organization:
-- 
thiesi@NetWork23.Sytes.NET ---- NetBSD: Power to the people!
Tel.: ++49-(0)171-416 05 09 -- Fax: ++49-(0)171-134 16 05 09
Mirko Thiesen, P.O. Box 26 03 54, D-13413 Berlin, W. Germany
             "We're with you all the way, mostly"
	     
>Environment:
	
	
System: NetBSD ReLink.NetWorkXXIII.de 1.6.2_STABLE NetBSD 1.6.2_STABLE (ReLink) #13: Sun Mar 21 23:12:28 CET 2004 thiesi@ReLink.NetWorkXXIII.de:/usr/src/sys/arch/i386/compile/ReLink i386
Architecture: i386
Machine: i386
>Description:
ntpd does not start when using the supplied script "ntpd" in rc.d.
>How-To-Repeat:
cd /usr/pkgsrc/net/ntp4 && make update && cp -p /usr/pkg/etc/rc.d/ntpd
/etc/rc.d && /etc/rc.d/ntp start

... and nothing happens!
>Fix:
The path specified in the supplied rc.d script "ntpd" is incorrect: It tries
to start ntpd from /usr/pkg, but ntpd actually resides in /usr/pkg/bin, of
course.
>Release-Note:
>Audit-Trail:
>Unformatted: