Bug#376400: [pkg-ntp-maintainers] Bug#376400: ntp-simple: ntp cannnot open log and drift files

Kurt Roeckx kurt at roeckx.be
Tue Jul 4 05:56:46 UTC 2006


On Mon, Jul 03, 2006 at 09:39:53PM -0400, Blu wrote:
> On Mon, Jul 03, 2006 at 07:53:11AM +0200, Kurt Roeckx wrote:
> > On Sun, Jul 02, 2006 at 08:35:46PM -0400, Blu wrote:
> > 
> > invoke-rc.d ntp-server restart should be the proper way to start
> > it.
> > 
> > What version of the ntp-server package do you have installed?
> 
> 
> ii  ntp-server                       4.2.0a+stable-9         Network Time Protocol: common server tools
> ii  ntp-simple                       4.2.0a+stable-9         Network Time Protocol: daemon for simple systems

This doesn't make any sense to me.  /etc/init.d/ntp-server should
have this in it (for start and restart):
                start-stop-daemon --start --quiet --oknodo --pidfile /var/run/ntpd.pid --startas /usr/sbin/ntpd -- -p /var/run/ntpd.pid -u $UGID

And that should work properly.  You're missing both the -p and
-u.  The -u sets the user and group id, and since you don't have
that you have a problem.  The missing -p is probably the reason
why you might have several ones running.


Kurt





More information about the pkg-ntp-maintainers mailing list