FreeBSD-10.3 No ntpd.pid file created

Matthew Seaman matthew at FreeBSD.org
Mon Feb 6 15:29:37 UTC 2017


On 2017/02/06 15:01, James B. Byrne via freebsd-questions wrote:
> We have a 10.3 BHyve virtual guest that is running ntpd.  However,
> when ntpd starts it is not creating a pid file and so normal service
> commands do not work.  ntpd is part of the base system and we have not
> altered any of the rc scripts or to our knowledge changed any
> permissions.

What happens if

 - you add '-p /var/run/ntpd.pid' to the ntpd arguments?

or

 - you add 'pidfile "/var/run/ntpd.pid"' to /etc/ntp.conf ?

According to ntpd(8), 'pidfile' is apparently a valid configuration file
directive, despite not being mentioned in ntp.conf(5).

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170206/87105e24/attachment.sig>


More information about the freebsd-questions mailing list