Adding snap-core18 and snap-core20 tasks as it is a problem of core18
and core20 missing support for looking up host names via mDNS/DNS-SD.
The problem occurs also in other Snaps not only in the Chromium Browser
Snap. Therefore the fix for this bug is essentially important and
urgently needed.

Note that installing nscd is only a workaround, which can cause security
problems (aacording to Jamie Strandboge) when seeding it and also it
would only help Ubuntu users.

Especially also the CUPS Snap (https://github.com/OpenPrinting/cups-
snap) and Printer Application Snaps (the way to snap printer and scanner
drivers, required for the CUPS Snap, currently, we have the PostScript
Printer Application, https://github.com/OpenPrinting/ps-printer-app) are
affected as they internally use mDNS .local addresses to access network
devices. As we want to switch over printing in Ubuntu to the CUPS Snap
and also want to give manufacturers a way to publish distribution-
independent snapped printer/scanner drivers this problem needs to get
urgently fixed.

A suggested fix can be found in this thread:

https://forum.snapcraft.io/t/no-mdns-support-in-snaps-should-core-have-a
-modified-nsswitch-conf/

The /etc/nsswitch.conf file needs a simple change, replacing the line

hosts:          files dns

by

hosts:          files mdns4_minimal [NOTFOUND=return] dns

and the libnss-mdns package (provides libnss_mdns*.so*) needs to get
installed into the coreXX images.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1838038

Title:
  [snap] Snapped apps do not work with .local mdns/avahi name resolution

Status in snap-core18:
  New
Status in snap-core20:
  New
Status in snapd:
  Triaged
Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  (initially reported at https://forum.snapcraft.io/t/chromium-does-not-
  work-with-local-mdns-avahi-name-resolution/12483)

  The current chromium snap does not allow to open any .local urls.

  This is most likely caused by https://forum.snapcraft.io/t/no-mdns-
  support-in-snaps-should-core-have-a-modified-nsswitch-conf/7603.

  With the removal of the chromium deb and the switch to a snap-only
  deployment for this browser this is a pretty solid regression that
  should be addressed…

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core18/+bug/1838038/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to