Open broizter opened 1 month ago
The maintainer of Incus Stéphane Graber wrote about the issue which I thought was worth attaching.
"So normally the AppArmor abstractions/base contains what’s needed for dynamic libraries to be loaded. All our profiles include that abstraction so we don’t need to specifically allow every single library.
There must be something odd going on with NixOS which causes that abstraction to not include a correct pattern for where Nix stores its libraries (/nix/storage/*/lib/so or something like that)."
This is the apparmor profile he suggested to fix this particular issue.
/nix/storage/*/lib/*so* mr,
When creating new containers or VMs using Incus you first have to disable apparmor, otherwise you get errors and the creation fails.