Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2020 13:59:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243469] net/ntimed daemon command does not use "-r"
Message-ID:  <bug-243469-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243469

            Bug ID: 243469
           Summary: net/ntimed daemon command does not use "-r"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld@FreeBSD.org
          Reporter: karl@denninger.net
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

The net/ntimed package/port rc script does not use the "-r" flag on the dae=
mon
command by default.

This would not normally be a problem if the package itself did not exit on
start under some temporary conditions, but it does.  Specifically, if the
network is not yet available (e.g. the machine boots before the upstream ro=
uter
to the Internet does, thus there is no resolver available) ntimed will exit=
 on
an error and, since daemon was not told to restart it if that happens, you =
now
have no time sync and there's no particular indication to the user that it
happened other than the error on the console shortly after the boot.

IMHO the default should be to restart it; if you have asked for time sync by
loading this as a lightweight client (instead of ntpd, for instance) you
probably mean it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243469-7788>