[Bug 222197] sysutils/py-google-compute-engine starts google_clock_skew_daemon too early
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Sep 10 13:58:42 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222197
Bug ID: 222197
Summary: sysutils/py-google-compute-engine starts
google_clock_skew_daemon too early
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: vivek at khera.org
CC: helen.koike at collabora.com
CC: helen.koike at collabora.com
Flags: maintainer-feedback?(helen.koike at collabora.com)
The clock skew daemon interferes with ntpd upon startup.
On boot, the following is observed:
Starting sshd.
Performing sanity check on sshd configuration.
Starting google_network_setup.
Starting google_ip_forwarding_daemon.
Starting google_clock_skew_daemon.
Starting google_accounts_daemon.
ntpd is not running.
No core dumps found.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Starting ntpd.
Sep 8 20:17:20 yertle ntpd[697]: unable to bind to wildcard address :: -
another process may be running - EXITING
What happens is that the clock skew daemon starts and does not see ntpd
running. It then proceeds to set the time using ntpdate. By luck of timing, it
does so at the precise moment that ntpd wants to start, causing that to fail.
Subsequently, since ntpd was not discovered by the daemon it is not restarted,
and the system time drifts without ntpd to keep it in check.
Once the system is running, if you stop the clock skew daemon, start ntpd, then
re-start the clock skew daemon, you will observe it stop and restart ntpd. If
you stop ntpd, and restart the clock skew daemon, you will observe the "ntpd is
not running." message, and ntpd is not started.
It seems to me that ntpd should come before the clock skew daemon in the
startup order. The documentation implies that the daemon only does work on
startup or migrate, so it is necessary for migration and ntpd is necessary for
the rest of the time.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list