dambacher Apprentice
Joined: 11 Feb 2003 Posts: 290 Location: Germany
|
Posted: Sun Dec 08, 2024 8:44 am Post subject: systemd without SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 ? |
|
|
Hi everybody
I just upgraded my system and now systemd refuses to boot but only when I pass SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 at the kernel command line and then makes a message and 30s pause.
very inconvenient - i skipped the other words .-(
sys-apps/systemd: 256.7::gentoo
256.7(0/2)^t(09:05:27 08.12.2024)(acl boot dns-over-tls gcrypt kernel-install kmod lz4 openssl pam pcre policykit resolvconf seccomp secureboot sysv-utils zstd -apparmor -audit -bpf -cgroup-hybrid -cryptsetup -curl -elfutils -fido2 -gnutls -homed -http -idn -importd -iptables -lzma -pkcs11 -pwquality -qrcode -selinux -split-usr -test -tpm -ukify -vanilla -xkb ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13")
sys-kernel/gentoo-kernel: 6.12.3::gentoo
6.12.3(6.12.3)^t(08:55:33 08.12.2024)(debug initramfs modules-sign savedconfig secureboot strip -experimental -generic-uki -hardened -modules-compress -test)
there is no message about incorrect kernel flags on compiling systemd or gentoo-kernel
it seems like cgroup2 is running but some compatibility files are there, too:
Code: | # mount | grep "cgroup"
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
|
I boot with systemd-boot, it generates a ramdisk via dracut
What am I missing? |
|