Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2014 19:30:58 +0000 (UTC)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: [net/openntpd] pidfile support
Message-ID:  <slrnlopk7i.oht.naddy@lorvorc.mips.inka.de>
References:  <CAN3T69vFEGXmwWjwp69oJEOPx3cLKaDyxR379xGvnzaZ-_ExtA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-05-31, Tomek WaƂaszek <tmwalaszek@gmail.com> wrote:

> [root@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@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnlopk7i.oht.naddy>