[Pkg-dns-devel] Bug#807132: Bug#807132: Bug#807132: Bug#807132: Related issue? unbound not restarted after upgrade

Robert Edmonds edmonds at debian.org
Sat Jun 11 02:33:12 UTC 2016


Robert Edmonds wrote:
> Hi,
> 
> After looking into this problem some more, I think the minimal fix for
> jessie is going to look something like a drop-in that overrides the bad
> values from systemd-sys-generator. Any chance anyone following this bug
> report could test the following drop-in? (Also attached.)
> 
> ==> /etc/systemd/system/unbound.service.d/sysv-generator-overrides.conf <==
> 
>     [Service]
>     Type=forking
>     PIDFile=/run/unbound.pid
>     RemainAfterExit=no
> 
> It works for me in a stretch VM when I run through the original bug
> submitter's sequence of commands.

Michael Biebl showed me an even more minimal fix, which is to put this
magic comment in /etc/init.d/unbound:

# pidfile: /run/unbound.pid

which is equivalent to the drop-in quoted above. (But the magic comment
must be *outside* of the LSB header.)

I'm planning on uploading 1.5.9-1 with this fix, and after the fix has
been proven in testing/unstable, backporting it to a stable update for
jessie. (And after that's done, adding native service unit files in a
subsequent upload.)

-- 
Robert Edmonds
edmonds at debian.org



More information about the pkg-dns-devel mailing list