I knew from my former tests:
1. apparmor 3.0 = bad
2. downgrading to 2.13.3-7ubuntu6 and back up to 3.0 = good
3. aa-enforce + service restart = good

I checked the logs on the affected systems how this got into the bad
state:

$ grep -E 'configure (lib)?(apparmor|libvirt)' /var/log/dpkg.log 
2020-09-16 05:56:09 configure libapparmor1:amd64 3.0.0~beta1-0ubuntu1 <none>
2020-09-16 05:56:18 configure apparmor:amd64 3.0.0~beta1-0ubuntu1 <none>
2020-09-16 05:57:31 configure libvirt-daemon-system-systemd:amd64 
6.6.0-1ubuntu2 <none>
2020-09-16 05:57:31 configure libvirt0:amd64 6.6.0-1ubuntu2 <none>
2020-09-16 05:57:33 configure libvirt-clients:amd64 6.6.0-1ubuntu2 <none>
2020-09-16 05:57:36 configure libvirt-daemon:amd64 6.6.0-1ubuntu2 <none>
2020-09-16 05:57:36 configure libvirt-daemon-driver-qemu:amd64 6.6.0-1ubuntu2 
<none>
2020-09-16 05:57:36 configure libvirt-daemon-system:amd64 6.6.0-1ubuntu2 <none>
2020-09-16 05:58:05 configure apparmor-utils:amd64 3.0.0~beta1-0ubuntu1 <none>
2020-09-17 14:04:17 configure libvirt-daemon-system-dbgsym:amd64 6.6.0-1ubuntu2 
<none>
2020-09-17 14:04:17 configure libvirt0-dbgsym:amd64 6.6.0-1ubuntu2 <none>
2020-09-17 14:04:17 configure libvirt-daemon-driver-qemu-dbgsym:amd64 
6.6.0-1ubuntu2 <none>
2020-09-17 14:04:17 configure libvirt-clients-dbgsym:amd64 6.6.0-1ubuntu2 <none>
2020-09-17 14:04:17 configure libvirt-daemon-dbgsym:amd64 6.6.0-1ubuntu2 <none>
2020-09-22 06:56:34 configure apparmor:amd64 3.0.0~beta1-0ubuntu5 <none>


It seems I had:
1. groovy container
2. upgrade to proposed (including libapparmor1 / apparmor 3.0)
3. install libvirt

I was trying to recreate the above with a new container as of today:
1. groovy container (2.13.3-7ubuntu6, all still confined)
2. upgrade to proposed (3.0.0~beta1-0ubuntu5, all still confined)
3. install libvirt (confinement working well)

Hmm, something must have been different.
I know I have used container snapshots when I ran into that - I need to sort 
out in what order that happened and if it would occur again.

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

Title:
  [FFe] apparmor 3 upstream release

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

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

Reply via email to