[Bug 230561] ntpd error: only one pidfile option allowed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 12 13:29:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230561

            Bug ID: 230561
           Summary: ntpd error: only one pidfile option allowed
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: cyclaero at gmail.com

FreeBSD 12.0-ALPHA1 (GENERIC) #0 r337557: Fri Aug 10 03:49:58 UTC 2018

During startup of the latest 12-CURRENT snapshot on a BeagleBone Black, I see:

ntpd error:  only one pidfile option allowed
ntpd - NTP daemon program - Ver. 4.2.8p11
Usage:  ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
                [ <server1> ... <serverN> ]
Try 'ntpd --help' for more information.
/etc/rc: WARNING: failed to start ntpd


As a workaround, I changed line 104 of /etc/rc.d/ntpd ...

from:

    command_args="-p ${pidfile} -c ${ntpd_config} ${driftopt}"

to:

    command_args="-c ${ntpd_config} ${driftopt}"

With this change, ntpd starts-up as usual.

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


More information about the freebsd-arm mailing list