[Bug 1850893] Re: chromium-browser does not resolve any names
Chromium does not open the file that I have linked to /etc/resolv.conf $ ls -al /etc/resolv.conf lrwxrwxrwx 1 root root 18 Nov 6 10:53 /etc/resolv.conf -> resolv.conf.PUBLIC $ ls -al /etc/resolv.conf.PUBLIC -rw-r--r-- 1 root root 455 Oct 24 20:22 /etc/resolv.conf.PUBLIC Messages below: $ journalctl -f | grep snap.chromium.chromium | grep resolv Dec 02 12:44:33 prayaagraj audit[1351]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1351 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj kernel: audit: type=1400 audit(1575270873.233:2812): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1351 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj audit[1576]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1576 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj kernel: audit: type=1400 audit(1575270873.273:2813): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1576 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
The nameservice apparmor abstraction allows read access to /etc/resolv.conf. However apparmor doesn't resolve symlinks by default. I suggest you bind mount /etc/resolv.conf.PUBLIC to /etc/resolv.conf, instead of a symlink. ** Changed in: chromium-browser (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
Chromium does not open the file that I have linked to /etc/resolv.conf $ ls -al /etc/resolv.conf lrwxrwxrwx 1 root root 18 Nov 6 10:53 /etc/resolv.conf -> resolv.conf.PUBLIC $ ls -al /etc/resolv.conf.PUBLIC -rw-r--r-- 1 root root 455 Oct 24 20:22 /etc/resolv.conf.PUBLIC Messages below: $ journalctl -f | grep snap.chromium.chromium | grep resolv Dec 02 12:44:33 prayaagraj audit[1351]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1351 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj kernel: audit: type=1400 audit(1575270873.233:2812): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1351 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj audit[1576]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1576 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 Dec 02 12:44:33 prayaagraj kernel: audit: type=1400 audit(1575270873.273:2813): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/resolv.conf.PUBLIC" pid=1576 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
So, instead of a symbolic link, I created a hard link and it works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
BTW, where is the apparmor profile for the snap chromium? I couldn't find it in /etc/apparmor.d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
The profile is at /var/lib/snapd/apparmor/profiles/snap.chromium.chromium. Beware that it is managed by snapd, and updating the snap to a newer revision will re-generate it, so custom changes will be lost. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
Agree with comment #22 - however why does does the SNAP version not work? Just updated to the EDGE channel [Version 80.0.3962.2 (Official Build) snap (64-bit)] - but to no avail. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
The key to the problem likely lies in the following: « Regarding the DNS setup: YES my DNS setup is not the default. I have disabled the systemd DNS crap and fallen back on /etc/resolv.conf - in that way it is non-default. » Can you run "journalctl -f | grep DEN" in a terminal, then run chromium, observe how it fails to resolve names, and share the output of the journalctl command? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
Thank you for taking the time to report this bug and helping to make Ubuntu better. Ubuntu 18.04 LTS is intended to upgrade to Ubuntu 18.10 (https://wiki.ubuntu.com/CosmicCuttlefish/ReleaseNotes) or to Ubuntu 20.04 LTS (after 20.04.1's release), ie. the next release or next LTS release. If you read Ubuntu 19.10's release notes (https://wiki.ubuntu.com/EoanErmine/ReleaseNotes) you'll note only mention of upgrading from Ubuntu 19.04 as this is all that's supported (& tested). From your description, it reads to me like you need support. (fyi: the snapped chromium-browser has been used by testers for over six months) This bug report can be converted to a question (which is aimed at support). You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community- support/709 Please execute the following command only once, as it will automatically gather debugging information, in a terminal: apport-collect 1850893 When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
As requested by Chris, please run the following command in a terminal to attach additional debug information to this bug report: apport-collect 1850893 Is there anything special with your DNS setup? (something non-default maybe) ** Changed in: chromium-browser (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
apport information ** Tags added: apport-collected eoan snap ** Description changed: OS: === Description: Ubuntu 19.10 Release: 19.10 Chromium Browser: = Version 78.0.3904.70 (Official Build) snap (64-bit) DNS resolution does not work in Chromium Browser since Ubuntu updated from 18.04 -> 19.10 and chromium moved from package to SNAP. DNS works in Mozilla Firefox (being used to submit this bug report) as well as in Google Chrome (Version 78.0.3904.87 (Official Build) (64-bit)) See attached screenshots. + --- + ProblemType: Bug + ApportVersion: 2.20.11-0ubuntu8.1 + Architecture: amd64 + CurrentDesktop: XFCE + DRM.card0-DP-1: + enabled: disabled + dpms: Off + status: disconnected + edid-base64: + modes: + DRM.card0-HDMI-A-1: + enabled: enabled + dpms: On + status: connected + edid-base64: AP///wBMLSwNV1BaQhYdAQOANB14KlKVpVZUnSUOUFS7jACzAIHAgQCBgJUAqcABAQEBAjqAGHE4LUBYLEUACSUhAAAe/QAySB5REQAKICAgICAg/ABDMjRGMzkwCiAgICAg/wBINFpNNTAwMTE1CiAgAVMCAxrxRpAEHxMSAyMJBweDAQAAZgMMABAAgAEdALxS0B4guChVQAklIQAAHowK0JAgQDEgDEBVAAklIQAAGIwK0Iog4C0QED6WAAklIQAAGAAAyQ== + modes: 1920x1080 1920x1080 1920x1080 1920x1080 1680x1050 1600x900 1280x1024 1440x900 1280x800 1280x720 1280x720 1280x720 1280x720 1280x720 1024x768 1024x768 800x600 800x600 800x600 720x576 720x576 720x480 720x480 720x480 720x480 640x480 640x480 640x480 640x480 720x400 + DRM.card0-HDMI-A-2: + enabled: disabled + dpms: Off + status: disconnected + edid-base64: + modes: + DRM.card0-eDP-1: + enabled: enabled + dpms: On + status: connected + edid-base64: AP///wAJ5fgGAAEaAQSlHRB4AviQnllVnCYaUFQBAQEBAQEBAQEBAQEBAQEBPhxWoFAAFjAwIDYAJaUQAAAanhZWoFAAFjAwIDYAJaUQAAAaAgARQ/8PPOZBRjrmAAM= + modes: 1366x768 1366x768 + DiskUsage: + Filesystem Type Size Used Avail Use% Mounted on + /dev/mapper/shoor-home xfs194G 171G 24G 88% /home + tmpfs tmpfs 7.8G 186M 7.6G 3% /dev/shm + /dev/mapper/shoor-home xfs194G 171G 24G 88% /home + DistroRelease: Ubuntu 19.10 + InstallationDate: Installed on 2018-05-02 (558 days ago) + InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) + MachineType: HP HP ProBook 430 G5 + Package: chromium-browser 77.0.3865.120-0ubuntu1~snap1 + PackageArchitecture: amd64 + ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-19-generic root=UUID=2dbdc9ef-f608-4d62-83ff-348f47118c15 ro resume=UUID=ff6eebb5-8c92-4fad-af15-00ccb0e08484 + ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1 + Snap.ChromeDriverVersion: ChromeDriver 78.0.3904.97 (021b9028c246d820be17a10e5b393ee90f41375e-refs/branch-heads/3904@{#859}) + Snap.ChromiumVersion: Chromium 78.0.3904.97 snap + Tags: eoan snap + Uname: Linux 5.3.0-19-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dialout dip disk docker lpadmin plugdev sambashare sudo tty vboxusers + _MarkForUpload: True + dmi.bios.date: 10/17/2017 + dmi.bios.vendor: HP + dmi.bios.version: Q85 Ver. 01.01.07 + dmi.board.name: 8377 + dmi.board.vendor: HP + dmi.board.version: KBC Version 02.21.00 + dmi.chassis.asset.tag: 5CD750DHFQ + dmi.chassis.type: 10 + dmi.chassis.vendor: HP + dmi.modalias: dmi:bvnHP:bvrQ85Ver.01.01.07:bd10/17/2017:svnHP:pnHPProBook430G5:pvr:rvnHP:rn8377:rvrKBCVersion02.21.00:cvnHP:ct10:cvr: + dmi.product.family: 103C_5336AN HP ProBook + dmi.product.name: HP ProBook 430 G5 + dmi.product.sku: 3EB74PA#ACJ + dmi.sys.vendor: HP ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1850893/+attachment/5304401/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
I have run the apport command. Regarding the DNS setup: YES my DNS setup is not the default. I have disabled the systemd DNS crap and fallen back on /etc/resolv.conf - in that way it is non-default. However, every application: Firefox Browser, Google Chrome browser, Thunderbird E-mail client, OpenVPN client, SSH client/server, wget/curl/aria2c, Python 2.x/3.x - you name it works except for the chromium snap. The chromium-browser worked fine when I was still running 18.04 LTS on the same hardware and the same network configuration. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
Just ran a "sudo apt update" followed by "sudo apt list --upgradable" ... chromium-browser/xenial-updates 78.0.3904.70-0ubuntu0.16.04.2 amd64 [upgradable from: 77.0.3865.120-0ubuntu1~snap1] So, it seems that upstream has reverted to an DPKG instead of snap. $ $ snap list Name Version Rev Tracking Publisher Notes chromium 78.0.3904.97 937 stablecanonical* - Using the snap version [Version 78.0.3904.97 (Official Build) snap (64-bit)], I continue to get the DNS error. However, on using the installed DPKG version [Version 78.0.3904.70 (Official Build) Built on Ubuntu , running on Ubuntu 19.10 (64-bit)], DNS works fine. So, this is an issue with how the SNAP packaging works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1850893] Re: chromium-browser does not resolve any names
"chromium-browser/xenial-updates 78.0.3904.70-0ubuntu0.16.04.2 amd64 [upgradable from: 77.0.3865.120-0ubuntu1~snap1]" xenial is ubuntu 16.04. It seems that you have mixed repos from different ubuntu versions and chromium deb from older version overwrote version from 19.10. Kixing repos from different ubuntu versions isn't supported and you should fix this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850893 Title: chromium-browser does not resolve any names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1850893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs