Control: notfound 1077937 systemd-resolved/257.1-4
Control: reassign 1077937 avahi-daemon

As already mentioned, it is not acceptable to break my package (sd-
resolved) for the benefit of avoiding to ship a static config snippet
in another, as it's beyond trivial to do so, has zero negative
consequences, and achieves exactly what you are looking for. systemd
supports vendor-supplied drop-ins in /usr/ exactly, precisely and
explicitly for use cases such as this one.

resolved needs to work out of the box upon installation, and that
includes mDNS, as avahi is not prio:essential so it's not guaranteed to
be available, which means mdns won't either. Requiring users to rebuild
binaries locally or manually fiddle with configuration to make basic
things work is not acceptable.

So please ship the following in the avahi-daemon binary package:

/usr/lib/systemd/resolved.conf.d/avahi-disable-mdns.conf

With content:

[Resolve]
MulticastDNS=no

For additional user friendliness you can optionally issue a 'systemctl
reload systemd-resolved' in the postinst, if you wish.

-- 
Kind regards,
Luca Boccassi

Reply via email to