Eugene Smiley on 9 Feb 2006 19:54:49 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] debian and ntpd / ntpdate


Jeff Abrahamson wrote:
> Debian says that ntpd doesn't start automatically nor even provide an
> init.d script because the maintainer can't find a solution that works
> sufficiently broadly.  Result, "apt-get install ntp" doesn't have
> quite the intended behavior.  Sadly, the distro doesn't include any
> sample scripts for init.d/, either.

That's funny, /etc/init.d/ntp-server (start|stop) works for me. I'll grant that
I must pay attention to if its running after reboot.

> Rather than spend the time to make a robust /etc/init.d/ntp-client, I
> just added the following to my root crontab:
> 
>     23 4 * * *    /etc/init.d/ntpdate start 2>&1 >/dev/null
> 
> Does this seem somehow to be a bad move?

As someone involved with the NTP pool project, I say it's not the prefered
behavior. It tends to cause the servers to take a beating, especially when
people set cron to run once an hour at :00.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug