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

Re: xntp3: init script is not very policy-compliant



On Sun, 14 Jun 1998, Raul Miller wrote:

> Jason Gunthorpe <jgg@gpu.srv.ualberta.ca> wrote:
> > You can't background ntpdate, both ntpdate and xntpd can not run at the
> > same time, if you load one then the other will fail.
> 
> Hm... then I guess it should be done the other way around.
> 
> ntpdate will run with xntpd running, I've done this numerous times.
> So start xntpd first.

I've never had ntpdate ever work while xntpd is running, with the set
options it never actually changes the time, I forget if it's a silent
fail or if it gives some error.

Wakko{root}/mnt/Big/home/jgg#ntpdate ntp.fuller.edu
14 Jun 16:17:34 ntpdate[4120]: the NTP socket is in use, exiting

Wakko{root}/mnt/Big/home/jgg#strace ntpdate -b -s www.tac.net 
[...]
bind(4, {sin_family=AF_INET, sin_port=htons(123),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in
use)   
[...]

Wakko{root}/mnt/Big/home/jgg#tail /var/log/syslog
Jun 14 16:17:53 Wakko ntpdate[4123]: the NTP socket is in use, exiting

Jason


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: