I’ve recently updated LXD from 4.3 to 4.4 and on reboot all containers failed to start. I looked into the system journal and found the error:
lxd: t=2020-08-01T12:04:56-0500 lvl=eror msg=“The start hook failed” container=pihole err="Failed to run: apparmor_parser --version: "
LXD appears to expect the
apparmor_parser executable to exist on the host, regardless of if apparmor is in use by any of the containers. Installing apparmor resolves the issue, but I don’t really need it installed on my system.
Is this issue worthy of a bug report against LXD, or should I take it up with the packagers of LXD for my distro (Arch Linux)?