[net/openntpd] pidfile support

Christian Weisgerber naddy at mips.inka.de
Mon Jun 2 19:31:02 UTC 2014


On 2014-05-31, Tomek Wałaszek <tmwalaszek at gmail.com> wrote:

> [root at vps24009 ~]# /usr/local/etc/rc.d/openntpd stop
> Stopping openntpd.
> kill: 20188: No such process
> kill: 20189: No such process

Actually, what version of FreeBSD are you on?

I remember seeing the error above, but on further investigation,
this doesn't happen any longer... at least here on FreeBSD 10-STABLE.

# /usr/local/etc/rc.d/openntpd onestart
Starting openntpd.
# /usr/local/etc/rc.d/openntpd onestatus
openntpd is running as pid 25461 25462 25463.
# /usr/local/etc/rc.d/openntpd onestop
Stopping openntpd.
Waiting for PIDS: 25461.
# 

(This is _without_ overriding check_process.)

Or is this just some coincidence that the race doesn't happen here?

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the freebsd-ports mailing list