bind-chroot, runs, works, dies

Tony Finch dot at dotat.at
Wed Aug 30 13:21:06 UTC 2017


Petr Mensik <pemensik at redhat.com> wrote:
>
> But presence of pid files also work as notification of completed
> initialization (which is done BEFORE forking and finishing ExecStart
> command).

named writes its pidfile relatively early during startup. The parent
doesn't exit until the child daemon has finished starting, so that's a
better notification (though not what systemd wants...).

> Service type=simple is not good replacement of forking, because it does
> not let you know when service failed to start at all.

Good grief.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Trafalgar: North or northwest 4 or 5, occasionally 6 later. Moderate,
occasionally rough later in northwest. Showers. Good.


More information about the bind-users mailing list