Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2018 13:29:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 230561] ntpd error: only one pidfile option allowed
Message-ID:  <bug-230561-7@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: cyclaero@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.

home | help

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