-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd generator script broken with systemd 256~rc3 #887
Comments
So that's a bit of a mess... Your denial shows:
Which happens to be a combination of flags we already allow: https://github.com/lxc/incus/blob/main/internal/server/apparmor/instance_lxc.go#L539 I'm not seeing any mention of that |
Going to do a test on Ubuntu 24.04 as that's the only distro that seems to ship with AppArmor 4 and it's shipping a pre-release version for that matter... |
AppArmor is so broken... I've confirmed that adding nosymfollow indeed works, but the kernel code never logs it as being needed... |
Closes lxc#887 Signed-off-by: Stéphane Graber <[email protected]>
Is there any sort of workaround we could apply for everyone who's still got some apparmor 3.x version on the host side? (Short of totally disabling a container's apparmor profile, that is.) As more distros pickup newer versions of systemd I think this will become a wider issue, especially since apparmor 4.0 hasn't had an official release yet. Specifically for my sid container, |
I suspect |
Closes lxc#887 Signed-off-by: Stéphane Graber <[email protected]>
Ah, this was a bit of red herring; I've found the root problem after some more poking at my container:
If I hardcode I don't know if you want to re-assign this bug to distrobuilder or not, but it's not directly an apparmor issue like I first thought. |
Ah, interesting. The symfollow thing is still an issue which I'm addressing but indeed if the generator doesn't work at all, then that's another problem too :) |
Closes lxc#887 Signed-off-by: Stéphane Graber <[email protected]>
Closes lxc#887 Signed-off-by: Stéphane Graber <[email protected]>
Closes lxc#887 Signed-off-by: Stéphane Graber <[email protected]>
Closes #887 Signed-off-by: Stéphane Graber <[email protected]>
Over the weekend I updated one of my Debian sid containers, which pulled in updated systemd packages (256~rc3). After that update, several services are now failing with
status=243/CREDENTIALS
. On the host I'm seeing apparmor messages like this:I haven't had time to look into this myself, but did find two LXD bugs that look like they might be this same issue: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2046486 and canonical/lxd#12698.
I've seen this on both bookworm and sid hosts, running Debian's 6.0.0 package of Incus.
The text was updated successfully, but these errors were encountered: