Bug#402376: ntpdate: The "-u" option should be default in /etc/default/ntpdate

2006-12-09 Thread Teemu Likonen
Package: ntpdate
Version: 1:4.2.2.p4+dfsg-1
Severity: normal

The current default is to not use the option "-u". ntpdate does not get
time if privileged ports are used:

  # /usr/sbin/ntpdate-debian
  10 Dec 00:22:18 ntpdate[3526]: the NTP socket is in use, exiting

With "-u" it works:

  # /usr/sbin/ntpdate-debian -u
  10 Dec 00:37:05 ntpdate[3620]: adjust time server 192.245.169.15 offset 
-0.010303 sec

I'd suggest to ship the /etc/default/ntpdate with NTPOPTIONS="-u".


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402376: [pkg-ntp-maintainers] Bug#402376: ntpdate: The "-u" option should be default in /etc/default/ntpdate

2006-12-09 Thread Kurt Roeckx
On Sun, Dec 10, 2006 at 12:45:50AM +0200, Teemu Likonen wrote:
> Package: ntpdate
> Version: 1:4.2.2.p4+dfsg-1
> Severity: normal
> 
> The current default is to not use the option "-u". ntpdate does not get
> time if privileged ports are used:
> 
>   # /usr/sbin/ntpdate-debian
>   10 Dec 00:22:18 ntpdate[3526]: the NTP socket is in use, exiting

This looks like ntpd is running, and ntpdate shouldn't be run in the
first place.

> With "-u" it works:
> 
>   # /usr/sbin/ntpdate-debian -u
>   10 Dec 00:37:05 ntpdate[3620]: adjust time server 192.245.169.15 offset 
> -0.010303 sec

And I think we don't want that.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402376: [pkg-ntp-maintainers] Bug#402376: ntpdate: The "-u" option should be default in /etc/default/ntpdate

2006-12-09 Thread Peter Eisentraut
Teemu Likonen wrote:
> The current default is to not use the option "-u". ntpdate does not
> get time if privileged ports are used:
>
>   # /usr/sbin/ntpdate-debian
>   10 Dec 00:22:18 ntpdate[3526]: the NTP socket is in use, exiting

But that is intentional.  If you have ntpd running, ntpdate shouldn't 
interfere.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]