A workaround for anyone affected by this: you can set `Optimize=no-diff-
encode` in /etc/apparmor/parser.conf, as the kernel only rejects diff-
encoded parser rules from these old apparmor_parser releases.

This PR in craft-providers demonstrates it:
https://github.com/canonical/craft-providers/pull/1048/changes

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

Title:
  AppArmor on 7.0 rejects focal apparmor_parser 2.13.3 policy ("Profile
  doesn't conform to protocol"); snapd in 20.04 containers fails to
  start

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to