[Bug 2085770] Re: Clicking download links causes Firefox Snap to freeze up

Jonas Gamao 2085770 at bugs.launchpad.net
Fri Dec 13 04:07:24 UTC 2024


Doesn't seem to be affected on Noble (Tuxedo OS 4; Ubuntu 24.04), and I
don't see that prompting-client

> sudo snap get system experimental.apparmor-prompting
[sudo] password for yamiyuki: 
error: snap "core" has no "experimental.apparmor-prompting" configuration option

> snap --version
snap    2.66.1+24.04
snapd   2.66.1+24.04
series  16
tuxedo  24.04
kernel  6.11.0-107011-tuxedo

On Lubuntu 25.04 devel
$ sudo snap get system experimental.apparmor-prompting
2024/12/12 23:03:22.478386 logger.go:99: DEBUG: snap (at "/snap/snapd/current") is older ("2.66.1") than distribution package ("2.66.1+25.04")
true

$ journalctl -xe | grep DENIED
Dec 12 22:56:04 Lubuntu-KVM kernel: audit: type=1400 audit(1734062164.057:289): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.snapd-desktop-integration" name="/proc/3670/maps" pid=3670 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 22:56:53 Lubuntu-KVM kernel: audit: type=1400 audit(1734062213.458:4300): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/usr/local/share/" pid=5395 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Dec 12 22:56:53 Lubuntu-KVM kernel: audit: type=1400 audit(1734062213.513:4301): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/proc/5404/maps" pid=5404 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 22:56:53 Lubuntu-KVM kernel: audit: type=1400 audit(1734062213.972:4302): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/xdg/xdg-Lubuntu/gtk-3.0/settings.ini" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 22:56:54 Lubuntu-KVM kernel: audit: type=1107 audit(1734062214.586:4303): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.83" pid=5378 label="snap.firefox.firefox" peer_pid=5477 peer_label="unconfined"
Dec 12 22:56:54 Lubuntu-KVM kernel: audit: type=1107 audit(1734062214.587:4304): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.83" pid=5378 label="snap.firefox.firefox" peer_pid=5477 peer_label="unconfined"
Dec 12 22:56:57 Lubuntu-KVM kernel: audit: type=1400 audit(1734062217.915:4305): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 22:56:58 Lubuntu-KVM kernel: audit: type=1107 audit(1734062218.095:4306): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/hostname1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.91" pid=5378 label="snap.firefox.firefox" peer_pid=5843 peer_label="unconfined"
Dec 12 22:56:58 Lubuntu-KVM kernel: audit: type=1107 audit(1734062218.096:4307): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/hostname1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.91" pid=5378 label="snap.firefox.firefox" peer_pid=5843 peer_label="unconfined"
Dec 12 22:58:01 Lubuntu-KVM kernel: audit: type=1400 audit(1734062281.390:4308): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/home/yamiyukisenpai/Downloads/" pid=5378 comm="pool-firefox-be" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Dec 12 22:58:01 Lubuntu-KVM kernel: audit: type=1400 audit(1734062281.390:4309): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/home/yamiyukisenpai/Downloads/" pid=5378 comm="pool-firefox-be" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Dec 12 22:58:58 Lubuntu-KVM kernel: audit: type=1400 audit(1734062338.734:4310): apparmor="DENIED" operation="mknod" class="file" profile="snap.firefox.firefox" name="/home/yamiyukisenpai/Downloads/0IcuDOaS.mp4" pid=5378 comm="firefox" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
Dec 12 23:00:00 Lubuntu-KVM kernel: audit: type=1400 audit(1734062400.174:4311): apparmor="DENIED" operation="rmdir" class="file" profile="snap.firefox.firefox" name="/home/yamiyukisenpai/Downloads/" pid=5378 comm="firefox" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
Dec 12 23:00:00 Lubuntu-KVM kernel: audit: type=1400 audit(1734062400.209:4312): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 23:00:56 Lubuntu-KVM kernel: audit: type=1107 audit(1734062456.404:5574): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.96" pid=5378 label="snap.firefox.firefox" peer_pid=6268 peer_label="unconfined"
Dec 12 23:01:01 Lubuntu-KVM kernel: audit: type=1400 audit(1734062461.614:5575): apparmor="DENIED" operation="rmdir" class="file" profile="snap.firefox.firefox" name="/home/yamiyukisenpai/Downloads/" pid=5378 comm=4267494F5468727E506F6F6C202332 requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
Dec 12 23:01:01 Lubuntu-KVM kernel: audit: type=1400 audit(1734062461.667:5576): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 23:01:42 Lubuntu-KVM kernel: audit: type=1400 audit(1734062502.218:5577): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 23:01:42 Lubuntu-KVM kernel: audit: type=1400 audit(1734062502.222:5578): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=5378 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Dec 12 23:01:42 Lubuntu-KVM kernel: audit: type=1107 audit(1734062502.527:5581): pid=1058 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.99" pid=5378 label="snap.firefox.firefox" peer_pid=6438 peer_label="unconfined"

yamiyukisenpai at Lubuntu-KVM:~$ journalctl -xe | grep -i debug
Dec 12 23:06:38 Lubuntu-KVM snapd[6378]: logger.go:99: DEBUG: received prompt request from the kernel: {MsgNotificationOp:{MsgNotification:{MsgHeader:{Length:117 Version:3} NotificationType:APPARMOR_NOTIF_OP Signalled:0 NoCache:0 ID:2 Error:-13} Allow:0 Deny:16 Pid:6563 Label:snap.firefox.firefox Class:AA_CLASS_FILE Op:0} SUID:1000 OUID:1000 Name:/home/yamiyukisenpai/Downloads/8bop5PYY.iso}
Dec 12 23:06:38 Lubuntu-KVM snapd[6378]: logger.go:99: DEBUG: received from kernel requests channel: &{6563 snap.firefox.firefox 1000 /home/yamiyukisenpai/Downloads/8bop5PYY.iso AA_CLASS_FILE create 0xc000294bd0 0}
Dec 12 23:06:38 Lubuntu-KVM snapd[6378]: logger.go:99: DEBUG: adding prompt to internal storage: &{ID:0000000000000004 Timestamp:2024-12-12 23:06:38.455680546 -0500 EST m=+296.316983402 Snap:firefox Interface:home Constraints:0xc000a00c00 listenerReqs:[0xc000a00b40]}
Dec 12 23:06:38 Lubuntu-KVM snapd[6378]: logger.go:99: DEBUG: waiting prompt loop

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

Title:
  Clicking download links causes Firefox Snap to freeze up

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




More information about the Ubuntu-mozillateam-bugs mailing list