Not sure the downgrade touches this file.

After sudo apt install apparmor=4.0.0-beta3-0ubuntu3 
libapparmor1=4.0.0-beta3-0ubuntu3 and reboot:
(flatpak not working)


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

shasum /etc/apparmor.d/bwrap-userns-restrict
a9bc3009905641ccaf5dfbe2c7a99b2410d05022  /etc/apparmor.d/bwrap-userns-restrict

$ sudo apt install apparmor libapparmor1
...
$ shasum /etc/apparmor.d/bwrap-userns-restrict
a9bc3009905641ccaf5dfbe2c7a99b2410d05022  /etc/apparmor.d/bwrap-userns-restrict
$ apt policy apparmor
apparmor:
  Installed: 4.0.1-0ubuntu0.24.04.2
  Candidate: 4.0.1-0ubuntu0.24.04.2
  Version table:
 *** 4.0.1-0ubuntu0.24.04.2 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

$ apt-file search /etc/apparmor.d/bwrap-userns-restrict
apparmor: /etc/apparmor.d/bwrap-userns-restrict

Entry in /var/log/apt/history.log that seems to have broken flatpak:

Start-Date: 2024-07-13  20:57:49
Commandline: aptdaemon role='role-commit-packages' sender=':1.122'
Upgrade: apparmor:amd64 (4.0.0-beta3-0ubuntu3, 4.0.1-0ubuntu0.24.04.2), 
libapparmor1:amd64 (4.0.0-beta3-0ubuntu3, 4.0.1-0ubuntu0.24.04.2)
End-Date: 2024-07-13  20:57:53

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

Title:
  Apparmor: New update broke flatpak with `apparmor="DENIED"`

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to