[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 con

[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 Server Team, which is subscribed to ntp in Ubuntu. https://bugs.

[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) if-up.d/nt

[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

[Bug 288905] Re: /etc/init.d/ntp doesnt use ntpdate to ensure clocks are aligned before starting server.

2015-10-26 Thread Cam Cope
It can be dangerous to step the clock while applications are running (see the fallout from the last couple of leap seconds). Stepping only needs to be done at boot. It makes more sense to just have separate init scripts for both ntpdate and ntp and to order them correctly. Adding ntpdate to the ntp

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

2015-10-26 Thread Cam Cope
The fix for 246203 was wrong: http://bazaar.launchpad.net/~ubuntu- branches/ubuntu/karmic/ntp/karmic/revision/23 The issue is that the ntp init script is started inside the ntpdate ifup script BEFORE the lock file is unlocked. That init script then blocks because the lock is taken. The correct fix

[Bug 525552] Re: Byobu overwrites shell prompt setting

2013-10-01 Thread Cam Cope
I tried to edit the two places readan2 mentioned on Ubuntu 13.10, but that just caused byobu to immediately exit on start :( I need a login shell to get RVM to work. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to byobu in Ubuntu. https