From owner-freebsd-ports-bugs@freebsd.org Sun Sep 10 13:58:42 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A2C9E126D2 for ; Sun, 10 Sep 2017 13:58:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC26B75275 for ; Sun, 10 Sep 2017 13:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8ADwfuA012361 for ; Sun, 10 Sep 2017 13:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222197] sysutils/py-google-compute-engine starts google_clock_skew_daemon too early Date: Sun, 10 Sep 2017 13:58:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vivek@khera.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2017 13:58:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222197 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@FreeBSD.org Reporter: vivek@khera.org CC: helen.koike@collabora.com CC: helen.koike@collabora.com Flags: maintainer-feedback?(helen.koike@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 fai= l. Subsequently, since ntpd was not discovered by the daemon it is not restart= ed, 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 "ntp= d 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. --=20 You are receiving this mail because: You are the assignee for the bug.=