From owner-freebsd-current@freebsd.org Sat Jul 21 16:41:32 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 669FD1050201 for ; Sat, 21 Jul 2018 16:41:32 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 DADE38F832 for ; Sat, 21 Jul 2018 16:41:31 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.106] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 1c0c093e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Sat, 21 Jul 2018 09:41:28 -0700 (PDT) To: FreeBSD Current From: Pete Wright Subject: ntpd as ntpd user question Message-ID: <5b90c49f-4616-9ef7-28a1-6445137245ef@nomadlogic.org> Date: Sat, 21 Jul 2018 09:41:24 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 16:41:32 -0000 hello - i am testing out the new ntpd that was committed yesterday and am attempting to run as non-root.  i've created a ntpd user/group, and verified permissions look good on pertinent directories.  i am running into an issue with the rc script tho - it's complaining about multiple pid files being specified? $ sudo /etc/rc.d/ntpd start Starting ntpd. ntpd error:  only one pidfile option allowed ntpd - NTP daemon program - Ver. 4.2.8p11 Usage:  ntpd [ - [] | --[{=| }] ]... \         [ ... ] Try 'ntpd --help' for more information. /etc/rc.d/ntpd: WARNING: failed to start ntpd has anyone else seen this issue? not sure if this is an issue with my local config or not, i've read through the rc script and its not obvious to me yet why it may be getting multiple pid arguments passed.  the only relevant bit i have set in rc.conf is: $ grep ntpd /etc/rc.conf ntpd_enable="YES" thanks! -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA