Clicking a hyperlink in Evince fails to open it if the default browser is a snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
evince (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Users cannot open a hyperlink in a PDF opened with evince when the default browser is a snap.
Error message in console:
internal error, please report: running "firefox" failed: timeout waiting for snap system profiles to get updated
Relevant messages from dmesg:
[ 1481.282216] audit: type=1400 audit(176046428
[ 1481.285679] audit: type=1400 audit(176046428
[ 1481.286340] audit: type=1400 audit(176046428
Description: Ubuntu 24.04.3 LTS
Release: 24.04
apparmor:
Installed: 4.0.1really4.
Candidate: 4.0.1really4.
Version table:
*** 4.0.1really4.
500 http://
100 /var/lib/
4.
500 http://
evince:
Installed: 46.3.1-0ubuntu1
Candidate: 46.3.1-0ubuntu1
Version table:
*** 46.3.1-0ubuntu1 500
500 http://
100 /var/lib/
46.0-1build1 500
500 http://
$ snap --version
snap 2.71+ubuntu24.04
snapd 2.71+ubuntu24.04
series 16
ubuntu 24.04
kernel 6.14.0-33-generic
It might help to add this to the AppArmor "snap_browsers" profile:
/ sys/fs/ cgroup/ cgroup. controllers r, sys/kernel/ security/ apparmor/ features/ r, sys/kernel/ security/ apparmor/ features/ ** r, usr/bin/ systemctl ix,
/
/
/
(after inspecting AppArmor DENIED messages, I don't really understand why they are needed)