-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot start new distributions with systemd 255 #4402
Comments
Hi @gitzdnex! Couldn't you try I guess that it's because of torvalds/linux@157a353 (read also https://lore.kernel.org/all/CA+enf=u0UmgjKrd98EYkxFu7FYV8dR1SBYJn_1b0Naq=3twbbQ@mail.gmail.com/#t). |
Hi, so when I run it with Normal start
here is just protocol error? Debug start
This is linked with this apprmor error - I guess that remount is main problem. Btw I think that remout
|
And here is more information, about error when apparmor with nesting profile is active. Container starts, but rest is not able. For example:
In here it looks again that mount...?
Makes a problem, but this is even when lxc apparmor profile with nesting is active. I guess when uncofined, will be active, it can work? Dmesg
|
Required information
Issue description
New systemd 255 in container is not able too boot or start services on kernel 6.5 and systemd249. From what I have read it is problem with apparmor, but now I can start container if i set apparmor profile to allow nesting. But then services still does not start. It seems that this happens in debian, ubuntu:noble and also on on fedora:39. All of them does not start systemd-networkd and so on.
Steps to reproduce
lxc-create testsystemd -t download
ubuntu > noblelxc-start testsystemd
lxc-attach testsystemd
- fails (it is needed to activate)lxc.include = /usr/share/lxc/config/nesting.conf
lxc-start testsystemd
- starts but services inside does not they also fail on apparmorInformation to attach
I have tried to edit services, but it looks, like it needs much more access so I was not able to start any of them. From what I have seen, it seems that previusly systemd in ubuntu had a patch which when this failed it allowed to continue like this one.
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1959047
I am not sure if there can be something done or if we will not be able to run it anymore?
I have also seen, that there ways some problem with apprmor on older kernels like 6.1, but currently I have 6.5.
The text was updated successfully, but these errors were encountered: