[Bug 176844] Re: ntpdate fails to get a server from /etc/ntp.conf

2013-01-01 Thread david6
I may yet open a new bug, but in the meantime some comments ..

> ntpdate fails to get a server from /etc/ntp.conf

YES.

In my testing (Ubuntu 12.10, server, 64bit), ntpdate does NOT use the
NTP servers listed in /etc/ntp.conf. Therefore, not honouring the
setting: NTPDATE_USE_NTP_CONF=yes  in file: /etc/default/ntpdate

However, NTP and NTPDATE don't play well, and really only NTP needs to
work once the system is running (and 'nearly' synced). You also need to
stop/start NTP, before/after attempting to use NTPDATE:

ntpq -np
ntpq -c rl

sudo service ntp stop
ntpdate -q 1.au.pool.ntp.org
sudo service ntp start

ntpq -np
ntpq -c rl


And (surprise) NTPDATE uses a completely different file (/etc/ntp/step-tickers) 
to list time servers, to get the initial reasonable time sync, to allow NTP to 
then keep in sync. 

Note: Ubuntu (even 12.10) does not have this file, or even the directory
(/etc/ntp/), but does appear to use it (if created).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/176844

Title:
  ntpdate fails to get a server from /etc/ntp.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/176844/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 254375] Re: SIGSEGV in ntpq

2011-11-14 Thread david6
I still get this error on Ubuntu 10.04 LTS (latest updates), under 'cold
start' conditions.

For example: (new host), install ntp (sudo apt-get install ntp)

~$  ntpq -c rl (on a different host)
associd=0 status=c011 leap_alarm, sync_unspec, 1 event, freq_not_set,
version="ntpd 4.2.6p2@1.2194 Fri Sep  2 18:37:15 UTC 2011 (1)",
processor="i686", system="Linux/3.0.0-12-generic-pae", leap=11,
stratum=16, precision=-20, rootdelay=0.000, rootdisp=0.420, refid=INIT,
reftime=.  Thu, Feb  7 2036 19:28:16.000,
clock=d26c2106.4ae705a8  Tue, Nov 15 2011 12:21:42.292, peer=0, tc=3,
mintc=3, offset=0.000, frequency=0.000, sys_jitter=0.000,
clk_jitter=0.001, clk_wander=0.000


sometime after install, BUT before it is properly synced, I may get:

~$ ntpq -c rl
assID=0 status=c644 sync_alarm, sync_ntp, 4 events, event_peer/strat_chg,
version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:29 UTC 2011 (1)",
processor="i686", system="Linux/2.6.32-34-generic", leap=11, stratum=16,
Segmentation fault


later still, when properly synced, it returns valid data:

~$ ntpq -c rl
assID=0 status=0664 leap_none, sync_ntp, 6 events, event_peer/strat_chg,
version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:29 UTC 2011 (1)",
processor="i686", system="Linux/2.6.32-34-generic", leap=00, stratum=3,
precision=-20, rootdelay=303.768, rootdispersion=75.598, peer=65450,
refid=91.189.94.4,
reftime=d26c181d.ef314855  Tue, Nov 15 2011 11:43:41.934, poll=6,
clock=d26c187f.d8e7310b  Tue, Nov 15 2011 11:45:19.847, state=4,
offset=21.891, frequency=86.577, jitter=24.303, noise=46.878,
stability=25.729, tai=0


This must relate to string-space, a negative value (unexpected), or similar for 
nonsense data.

Does not ALWAYS occur, and HARD to reproduce ..

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/254375

Title:
  SIGSEGV in ntpq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/254375/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 254375] Re: SIGSEGV in ntpq

2011-11-14 Thread david6
Can this be assigned a higher priority, to resolve?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/254375

Title:
  SIGSEGV in ntpq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/254375/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs