[Regression] Avahi-daemon nss-mdns hostname resolution is deactivated since 16.10 resulting in "Unable to locate printer"

Bug #1635391 reported by theghost
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
avahi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since 16.10 Avahi-daemon nss-mdns hostname resolution for network printer is deactivated.
This causes that print jobs against these printers fail with the error "Unable to locate printer".

As a reminder, before 16.10, it hostname resolution worked perfectly.

As a workaround change the existing config entry in "/etc/nsswitch.conf" from:
hosts: files resolve [!UNAVAIL=return] mdns4_minimal [NOTFOUND=return] dns

to:
hosts: files mdns_minimal [NOTFOUND=return] dns myhostname

as described here:

https://wiki.archlinux.org/index.php/Avahi#Hostname_resolution

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: avahi-daemon 0.6.32-1ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 20 21:31:12 2016
InstallationDate: Installed on 2016-10-16 (4 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
ProcEnviron:
 LANGUAGE=de_DE
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: avahi
UpgradeStatus: No upgrade log present (probably fresh install)

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

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

Changed in avahi (Ubuntu):
status: New → Confirmed
Revision history for this message
russell hedger (yumpottedmeat) wrote :

I can confirm this bug exists in a fresh install of Kubuntu 16.10 and that the workaround is successful.

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.