Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd without SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 290
Location: Germany

PostPosted: Sun Dec 08, 2024 8:44 am    Post subject: systemd without SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 ? Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum