Bug#724602: dnsmasq: Please enable systemd unit on install and fix it

Andreas Metzler ametzler at bebt.de
Sun May 11 15:11:53 BST 2014


On 2014-05-11 Michael Biebl <biebl at debian.org> wrote:
> Am 11.05.2014 10:13, schrieb Andreas Metzler:
>> On 2013-09-25 Julian Andres Klode <jak at debian.org> wrote:
[...]
>>> dnsmasq currently does not enable its systemd unit in postinst. It should
>>> probably use dh-systemd.
[...]

>> Isn't this severity serious? I have just gone from sysv to systemd

> Agreed, I bumped the severity accordingly.

>> (using apt-get --purge install systemd-sysv), and was switched from
>> dnsmasq enabled before the upgrade to dnsmasq disabled, completely
>> breaking DNS resolution.

> Simon, first of all, thanks for shipping a native .service file for
> systemd. If you need help getting the service enabled (using
> dh-systemd), please let us know. We are happy to assist you with this or
> provide a patch.

Hello,

dnsmasq is packaged without debhelper, making this a little bit more
work. However I have simply checked what dh_systemd /would/ do and
have manually applied the changes to maintainerscripts and
dependencies to come up with the the attached patch. Could you please
doublecheck?

Thanks, cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq-enable-systemd.diff
Type: text/x-diff
Size: 2829 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140511/7ab76ab6/attachment-0002.diff>


More information about the Pkg-systemd-maintainers mailing list