[Bug 2009317] Re: All Snaps Broken After Release Upgrade
Georgia Garcia
2009317 at bugs.launchpad.net
Thu Mar 16 11:55:20 UTC 2023
Hi! Could you upload some system logs of when this happens?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2009317
Title:
All Snaps Broken After Release Upgrade
Status in apparmor package in Ubuntu:
Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Status in apparmor source package in Jammy:
Confirmed
Status in ubuntu-release-upgrader source package in Jammy:
Incomplete
Status in apparmor source package in Kinetic:
Confirmed
Status in ubuntu-release-upgrader source package in Kinetic:
Incomplete
Bug description:
isa~ lsb_release -rd
No LSB modules are available.
Description: Ubuntu Lunar Lobster (development branch)
Release: 23.04
Expected behavior:
==================
Installed snaps worked before do-release-upgrade (from Kinetic to Lunar), they should also work after.
Actual behavior:
==================
Snaps worked before do-release-upgrade, NONE work after. Printed warning is useless. Debugging requires secondary device. This should be a trivial fix (re-enable apparmor service at the end of do-release-upgrade).
isa~ firefox
snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
Please make sure that the snapd.apparmor service is enabled and started.
isa~ systemctl status snapd.apparmor
● snapd.apparmor.service - Load AppArmor profiles managed internally by snapd
Loaded: loaded (/lib/systemd/system/snapd.apparmor.service; enabled; preset: enabled)
Active: active (exited) since Sun 2023-03-05 18:27:10 MST; 10min ago
Main PID: 826 (code=exited, status=0/SUCCESS)
CPU: 43.722s
Mar 05 18:27:10 isa systemd[1]: Finished Load AppArmor profiles managed internally by snapd.
Notice: journal has been rotated since unit was started, output may be incomplete.
It looks like during the release upgrade apparmor was disabled and
needs to be re-enabled.
isa~ systemctl status apparmor
○ apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
isa~ systemctl start apparmor
Notes:
======
This is a reoccurring bug, I hit it when upgrading to Kinetic as well on the same device. This does NOT happen on all devices (my other device didn't hit this issue when upgrading Jammy->Kinetic->Lunar). This is a bad user experience - debugging requires a secondary device because Ubuntu browsers are snap-based.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2009317/+subscriptions
More information about the foundations-bugs
mailing list