*** This bug is a duplicate of bug 1575572 ***
https://bugs.launchpad.net/bugs/1575572
Hi Martin,
the fix for Bug #1575572 released yesterday turns the situation from bad
to worse from my experience. Since I saw this on i686 only before, I am
experiencing this also on amd64 since installing the init-system-helpers
update today.
| yellow Other updates (2): apt-get install init init-system-helpers
| init (1.29ubuntu1 1.29ubuntu2)
| init-system-helpers (1.29ubuntu1 1.29ubuntu2)
>From my experience this is something that happens when ntpdate isn't
ready when systemd tries to start ntpd and ntpd wasn't started before
/etc/network/if-up.d/ntpdate is started.
As far as I can see this is because /etc/network/if-up.d/ntpdate from
ntpdate and /etc/init.d/ntp from ntp try to handle each other's locks
but don't do that properly. The init.d script simply breaks the locks
from ntpdate, even if ntpdate is still running.
My workarround I had already used on Ubuntu 12.4 LTS (precise), but it
was unnecessary on Ubuntu 14.4 LTS (trusty), and now it's in again for
16.4 LTS (xenial) was to let the ifup-Script wait for the ntpd.
But that's possibly not the best solution. ;-)
For the Question why to use ntpdate *and* ntpd: We do this to immediately sync
the clocks of physical test servers (which are not always on, to save energy)
on boot, whereas during normal operation the slow drift of ntpd is the wished
behavior.
So it possibly would be a much better solution (for me) to remove
/etc/network/if-up.d/ntpdate, and start the ntpdate before ntpd from
/etc/init.d/ntp if it's present, and of course wait until it's ready
before starting ntpd.
Kind regards,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577596
Title:
ntpd not started when using ntpdate
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1577596/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs