Activity log for bug #2002835

Date Who What changed Old value New value Message
2023-01-13 17:27:22 Tiago Nobrega bug added bug
2023-01-13 17:27:22 Tiago Nobrega attachment added snapd-fedora-issue-paste https://bugs.launchpad.net/bugs/2002835/+attachment/5641225/+files/snapd-fedora-issue-paste
2023-01-13 17:28:27 Tiago Nobrega description The setup is this: a fedora 35 host (a google vm running a spread test), running an ubuntu 22.04 lxd instance, running snapd inside. The behavior seems to be that a "snap set ..." command will fail the first time, and then work. The failure output is this: root@test-ubuntu2204:~# snap set system refresh.hold=2023-01-14T19:38:14.031694Z error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot load apparmor profiles: exit status 1 apparmor_parser output: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning: unable to find a suitable fs in /proc/mounts, is it mounted? Use --subdomainfs to override. ) ... then if I repeat the command it works fine. Confirmed to happen in Fedora 35 and 37 so far. The attached file has the commands used to reproduce it together with more debugging info. The setup is this: a fedora 35 host (a google vm running a spread test), running an ubuntu 22.04 lxd instance, running snapd inside. The behavior seems to be that a "snap set ..." command will fail the first time, and then work. The failure output is this: root@test-ubuntu2204:~# snap set system refresh.hold=2023-01-14T19:38:14.031694Z error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot load apparmor profiles: exit status 1 apparmor_parser output: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning: unable to find a suitable fs in /proc/mounts, is it mounted? Use --subdomainfs to override. ) ... then if I repeat the command it works fine. Confirmed to happen in Fedora 35 and 37 so far. The attached file has the commands used to reproduce it together with more debugging info. The file shows that this behavior happens with snapd 2.58, but not with 2.57.6.
2023-01-23 16:52:57 Michael Vogt snapd: status New Incomplete
2023-01-24 08:23:50 Michael Vogt snapd: status Incomplete Confirmed
2023-01-24 08:23:52 Michael Vogt snapd: importance Undecided High
2023-01-25 13:01:36 Jon Seager bug added subscriber Jon Seager
2023-01-26 16:10:59 Michael Vogt snapd: importance High Critical
2023-02-20 15:36:10 Michael Vogt snapd: status Confirmed Fix Committed
2024-01-02 08:16:46 Philip Meulengracht snapd: status Fix Committed Fix Released