Ubuntu LXC container privilege apparmor issue with do-release-upgrade
An issue with running LXC containers and performing a release upgrade since 18.04 to 20.04 is that snapd is installed whether you are using it or not.
I chose the 4.0 stream for 'production' but before performing the release upgrade gave the following commands to make sure the installation did not hang up due to apparmor privilege issues.
mount -t tmpfs tmpfs /sys/kernel/security/
service snapd restart