Public bug reported:

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(1760464287.080:742): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/sys/fs/cgroup/cgroup.controllers" pid=11382 comm="firefox" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1481.285679] audit: type=1400 audit(1760464287.084:743): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/sys/kernel/security/apparmor/features/caps/" pid=11382 comm="firefox" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1481.286340] audit: type=1400 audit(1760464287.084:745): apparmor="DENIED" 
operation="exec" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/usr/bin/systemctl" pid=11393 comm="firefox" requested_mask="x" 
denied_mask="x" fsuid=1000 ouid=0


Description:    Ubuntu 24.04.3 LTS
Release:        24.04

apparmor:
  Installed: 4.0.1really4.0.1-0ubuntu0.24.04.4
  Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.4
  Version table:
 *** 4.0.1really4.0.1-0ubuntu0.24.04.4 500
        500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     4.0.0-beta3-0ubuntu3 500
        500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages

evince:
  Installed: 46.3.1-0ubuntu1
  Candidate: 46.3.1-0ubuntu1
  Version table:
 *** 46.3.1-0ubuntu1 500
        500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     46.0-1build1 500
        500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages

$ snap --version
snap 2.71+ubuntu24.04
snapd 2.71+ubuntu24.04
series 16
ubuntu 24.04
kernel 6.14.0-33-generic

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

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

** Description changed:

  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
+ 
  
  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04
  
  apparmor:
-   Installed: 4.0.1really4.0.1-0ubuntu0.24.04.4
-   Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.4
-   Version table:
-  *** 4.0.1really4.0.1-0ubuntu0.24.04.4 500
-         500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
-         100 /var/lib/dpkg/status
-      4.0.0-beta3-0ubuntu3 500
-         500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages
+   Installed: 4.0.1really4.0.1-0ubuntu0.24.04.4
+   Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.4
+   Version table:
+  *** 4.0.1really4.0.1-0ubuntu0.24.04.4 500
+         500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
+         100 /var/lib/dpkg/status
+      4.0.0-beta3-0ubuntu3 500
+         500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  
  evince:
-   Installed: 46.3.1-0ubuntu1
-   Candidate: 46.3.1-0ubuntu1
-   Version table:
-  *** 46.3.1-0ubuntu1 500
-         500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
-         100 /var/lib/dpkg/status
-      46.0-1build1 500
-         500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages
+   Installed: 46.3.1-0ubuntu1
+   Candidate: 46.3.1-0ubuntu1
+   Version table:
+  *** 46.3.1-0ubuntu1 500
+         500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
+         100 /var/lib/dpkg/status
+      46.0-1build1 500
+         500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  
  $ snap --version
  snap 2.71+ubuntu24.04
  snapd 2.71+ubuntu24.04
  series 16
  ubuntu 24.04
  kernel 6.14.0-33-generic

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

Title:
  Clicking a hyperlink in Evince fails to open it if the default browser
  is a snap

Status in apparmor package in Ubuntu:
  New
Status in evince package in Ubuntu:
  New

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(1760464287.080:742): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/sys/fs/cgroup/cgroup.controllers" pid=11382 comm="firefox" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
  [ 1481.285679] audit: type=1400 audit(1760464287.084:743): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/sys/kernel/security/apparmor/features/caps/" pid=11382 comm="firefox" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
  [ 1481.286340] audit: type=1400 audit(1760464287.084:745): apparmor="DENIED" 
operation="exec" class="file" profile="/usr/bin/evince//snap_browsers" 
name="/usr/bin/systemctl" pid=11393 comm="firefox" requested_mask="x" 
denied_mask="x" fsuid=1000 ouid=0


  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04

  apparmor:
    Installed: 4.0.1really4.0.1-0ubuntu0.24.04.4
    Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.4
    Version table:
   *** 4.0.1really4.0.1-0ubuntu0.24.04.4 500
          500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       4.0.0-beta3-0ubuntu3 500
          500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages

  evince:
    Installed: 46.3.1-0ubuntu1
    Candidate: 46.3.1-0ubuntu1
    Version table:
   *** 46.3.1-0ubuntu1 500
          500 http://se.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       46.0-1build1 500
          500 http://se.archive.ubuntu.com/ubuntu noble/main amd64 Packages

  $ snap --version
  snap 2.71+ubuntu24.04
  snapd 2.71+ubuntu24.04
  series 16
  ubuntu 24.04
  kernel 6.14.0-33-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2127874/+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