[Bug 1945097] [NEW] getent does not resolve host in .local while avahi does

MagnusPI 1945097 at bugs.launchpad.net
Sun Sep 26 11:41:00 UTC 2021


Public bug reported:

To reproduce:
1)Set up a shared printer.
2) On a computer in the same local network the printer is seen by cups as a dnssd printer.
3) After setting up the printer as a dnssd printer cups cannot print since it cannot locate the printer.


avahi -a -r and avahi-resolve-host-name are able to resolve the host with the printer.
getent cannot resolve it and cups fails.

As suggested in 
https://ask.fedoraproject.org/t/avahi-isnt-being-used-to-resolve-local-domain-names/4911/8
the issue is related to mdns4_minimal in /etc/nsswitch.conf and the absence of /etc/mdns.allow

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libc-bin 2.31-0ubuntu9.2
ProcVersionSignature: Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.20
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 26 13:32:43 2021
InstallationDate: Installed on 2020-10-06 (354 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1945097

Title:
  getent does not resolve host in .local while avahi does

Status in glibc package in Ubuntu:
  New

Bug description:
  To reproduce:
  1)Set up a shared printer.
  2) On a computer in the same local network the printer is seen by cups as a dnssd printer.
  3) After setting up the printer as a dnssd printer cups cannot print since it cannot locate the printer.

  
  avahi -a -r and avahi-resolve-host-name are able to resolve the host with the printer.
  getent cannot resolve it and cups fails.

  As suggested in 
  https://ask.fedoraproject.org/t/avahi-isnt-being-used-to-resolve-local-domain-names/4911/8
  the issue is related to mdns4_minimal in /etc/nsswitch.conf and the absence of /etc/mdns.allow

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libc-bin 2.31-0ubuntu9.2
  ProcVersionSignature: Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22
  Uname: Linux 5.11.0-36-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.20
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Sep 26 13:32:43 2021
  InstallationDate: Installed on 2020-10-06 (354 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1945097/+subscriptions




More information about the foundations-bugs mailing list