I overwrote my ntp.conf with an older one when I upgraded.  I guess that
is why mine broke. :)

Thanks for the tip.

Aaron

On Fri, 2004-10-29 at 03:47, Michael Schloh wrote:
> On Thu, Oct 28, 2004, Aaron BOSTICK wrote:
> > Line 56 of rc.ntp in release 2.2 of ntpd is missing the -p option which
> > creates the pid file.  This is preventing the rc script from working
> > properly.
> >
> > The line should read:
> >     /opkg/bin/ntpd -p $ntp_pidfile
> >
> Thanks for the tip.
> 
> You're right that there is a $ntp_pidfile variable in the %common section of
> rc.ntp. However, OpenPKG 2.2's ntp package now writes its pid file according
> to the config file ntp.conf. You should find one in your /opkg/etc/ntp, and
> can adjust the path and filename of the pid file there. Speak up if the ntpd
> binary running in daemon mode is not producing the pid file where you
> specify it in ntp.conf (making sure it has the necessary privileges to write
> to the path in question).
> 
> This change in OpenPKG 2.2's ntp package has some drawbacks. Although the
> admin can change where ntpd writes its pid file (in ntp.conf), the variable
> $ntp_pidfile in rc.ntp is hardcoded to look for the pid file in
> /opkg/var/ntp. I'll look into ways of fixing this.
> 
> Regards,
> Michael
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to