Make enabling mdns in /etc/nsswitch.conf preseedable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nss-mdns (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libnss-mdns
libnss-mdns is a recommends of ubuntu-desktop, which mean it is installed by default in most case. His postinst script unconditionally edit /etc/nsswitch.conf and insert itself in the host entry.
Under certain circumstances, such as when installing a machine that is to reside in a network with a unicast .local DNS domain, it is not desirable to have mdns host name resolution. It would good if whether to edit /etc/nsswitch.conf would be preseedable, so that we can avoid the inconvenience of fixing the situation post-installation. A boolean debconf template such as libnss-
Either that, or automatically turning off the avahi daemon when on a network with a unicast .local domain (as describe in libnss-mdns README.Debian), would be good solution.
Thanks for your consideration.
Any thoughts on this? I consider this a very important feature, since many large users use a .local domain and making this change preseedable would help considerably with the deployment.