[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-03-02 Thread Nathan O'Sullivan
Hi Cam, On our hosts, 4 physical interfaces and then a bunch of bonds and bridges taking total up to 12 entries in /etc/network/interfaces . So contention certainly seems plausible? My guests have actually gone back to working normally, so I likely have mis-attributed an unrelated problem that

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-03-02 Thread Cam Cope
Nathan: How many interfaces or IP's are you bringing up? That error message makes it sound like there could be a lot of contention on the lock. Could you also get the output of `pstree | grep -B3 lockfile` while a VM is coming up? (You'll need to attach to a free virtual terminal using the kvm

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-03-01 Thread Nathan O'Sullivan
This fix is causing problems on Ubuntu 12.04 for me; for both KVM hosts and KVM guests. I see a message like lockfile creation failed: exceeded maximum number of lock attempts On my hosts, it delays boot finishing for several minutes; while some of my guests just never become network accessible.

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-02-03 Thread Launchpad Bug Tracker
This bug was fixed in the package ntp - 1:4.2.6.p5+dfsg-3ubuntu2.14.04.7 --- ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.04.7) trusty; urgency=medium * Use a single lockfile again - instead unlock the file before starting the init script. The lock sho uld be shared - both services can't

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-02-03 Thread Launchpad Bug Tracker
This bug was fixed in the package ntp - 1:4.2.6.p3+dfsg-1ubuntu3.8 --- ntp (1:4.2.6.p3+dfsg-1ubuntu3.8) precise; urgency=medium * Use a single lockfile again - instead unlock the file before starting the init script. The lock sho uld be shared - both services can't run at the

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-01-31 Thread Cam Cope
I can confirm I've been running this in production and have not seen any further issues. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu.

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-01-21 Thread Brian Murray
Hello Thomas, or anyone else affected, Accepted ntp into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ntp/1:4.2.6.p5+dfsg- 3ubuntu2.14.04.7 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-01-19 Thread Iain Lane
Uploaded both now, thanks again! ** Changed in: ntp (Ubuntu Precise) Status: Triaged => In Progress ** Changed in: ntp (Ubuntu Trusty) Status: Triaged => In Progress ** Changed in: ntp (Ubuntu Precise) Assignee: (unassigned) => Cam Cope (ccope) ** Changed in: ntp (Ubuntu

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2016-01-14 Thread Mathew Hodson
** Changed in: ntp (Ubuntu Precise) Status: New => Triaged ** Changed in: ntp (Ubuntu Trusty) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu.

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-12-07 Thread Iain Lane
Thanks Cam, I'm going to upload this to Xenial. If you want this to be uploaded to a stable release, please provide the required information (QA information, regression potential, etc) from https://wiki.ubuntu.com/StableReleaseUpdates#Procedure -- You received this bug notification because you

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-12-07 Thread Launchpad Bug Tracker
This bug was fixed in the package ntp - 1:4.2.6.p5+dfsg-3ubuntu9 --- ntp (1:4.2.6.p5+dfsg-3ubuntu9) xenial; urgency=medium [ Cam Cope ] * Use a single lockfile again - instead unlock the file before starting the init script. The lock sho uld be shared - both services can't

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-12-07 Thread Cam Cope
** Description changed: - We're seeing a race between if-up.d/ntpdate and the ntp startup script. + [Impact] + * Hardware clocks are not stepped at boot, which can prevent NTP from ever + syncing the clock. + Incorrect clocks can cause serious issues in distributed systems. - 1)

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-12-07 Thread C de-Avillez
** Also affects: ntp (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: ntp (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-12-07 Thread Mathew Hodson
** Changed in: ntp (Ubuntu Precise) Importance: Undecided => Medium ** Changed in: ntp (Ubuntu Trusty) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu.

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-11-10 Thread Mathew Hodson
** Changed in: ntp (Ubuntu) Importance: Low => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1125726 Title: boot-time race between /etc/network/if-up.d/ntpdate and

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-11-09 Thread Mathew Hodson
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1125726 Title: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start" Status

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and "/etc/init.d/ntp start"

2015-11-09 Thread Cam Cope
In case it wasn't clear, my patch is supposed to be for the debian/ntpdate.if-up file. Also, I think the priority of this bug should be higher, it was assigned 'low' when there was no clear problem caused by the race. Systems booting with uncorrectable clock skew can be a serious problem. -- You

[Touch-packages] [Bug 1125726] Re: boot-time race between /etc/network/if-up.d/ntpdate and /etc/init.d/ntp start

2015-02-01 Thread Paul Szabo
See also https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/288905 where I said: The way I read man ntpd (on Debian wheezy), we could (should?) replace ntpdate by ntpd -q; and if we are going to run ntpd then ntpdate is unnecessary anyway. If we have (or are going to have) ntpd, then we