I installed LXD v. 5.0.2, on Ubuntu 22.04 after reinstalling all the nodes (long story). There is a Ubuntu 22.04 container running bind9. It requires an AppArmor setting to update the DSN from Terraform. That worked on the previous LXD cluster. I have a TAR export of the old working container, but I wasn’t able to import that into the new LXD cluster because it was missing manifest data.
I would like to know how make AppArmor accessible from the container since I was able to get to it before, and/or guidance on how to restore from an export from the old container on the previous cluster.
@stgraber - I replace LXD with Incus and my six node cluster is up and running. I still can’t access AppArmor from a container, but I know it used to work. Can you see if you can reproduce this problem? Here are the steps to reproduce.
@stgraber - The Incus Linux container is missing /lib/apparmor/rc.apparmor.functions. Did you mean on the Incus node, or should I scp /lib/apparmor/rc.apparmor.functions from the node to the Linux container and edit it there?
@stgraber - Thank you, Stéphane.That did the trick for AppArmor. I don’t have a full understanding of Linux Containers. I thought AppArmor lived in the kernel of the host as was somehow exposed to the container.
I have a different issue to look into now. That DNS server has a static IP, and I’m not able to hit it on port 53 or ping it. That may be another post if I don’t figure it out.