Make enabling mdns in /etc/nsswitch.conf preseedable

Bug #595670 reported by Etienne Goyer
14
This bug affects 2 people
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-mdns/edit_nsswitch, defaulting to true, with a low or medium priority, sounds like an elegant and low-touch way to solve this issue.

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.

Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nss-mdns (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Thornton (mthornton-2) wrote :

Note that Microsoft Small Business System 2011 (the current version) uses a .local domain by default (and almost invariably because choosing anything else is difficult). Changing the domain post install is even more difficult (it won't happen).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.