Bug#1077204: systemd fails to boot on a 5.4 kernel

Luca Boccassi bluca at debian.org
Fri Jul 26 19:09:03 BST 2024


Control: tags -1 moreinfo

On Fri, 26 Jul 2024 19:59:35 +0200 Kornilios Kourtis <kkourt at kkourt.io>
wrote:
> Package: systemd
> Version: 256.4-2
> 
> Hi,
> 
> systemd fails to boot on 5.4 kernels (other kernels seem to work).
The
> logs below are from 5.4.280, but trying with older kernels has the
same
> effect.
> 
> SELinux:  Could not open policy file <=
/etc/selinux/targeted/policy/policy.33:  No such file or directory
> [    1.136915] systemd[1]: systemd 256.4-2 running in system mode
(+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS
+OPENSSL +ACL +BLKID +CU
> RL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP
+LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE
+TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZST
> D +BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT +LIBARCHIVE)
> [    1.139048] systemd[1]: Detected virtualization kvm.
> [    1.139402] systemd[1]: Detected architecture x86-64.
> 
> Welcome to Debian GNU/Linux trixie/sid!
> 
> [    1.140500] systemd[1]: Hostname set to <kind-5.4>.
> [    1.160170] systemd[1]: bpf-restrict-fs: BPF LSM hook not enabled
in the kernel, BPF LSM not supported.
> [    1.169448] systemd-tpm2-ge (89) used greatest stack depth: 14272
bytes left
> [    1.171050] systemd-debug-g (79) used greatest stack depth: 13576
bytes left
> [  OK  ] Created slice system-getty.slice - Slice /system/getty.
> [  OK  ] Created slice system-modprobe.slice - Slice
/system/modprobe.
> [  OK  ] Created slice system-serial\x2dget…slice - Slice
/system/serial-getty.
> [  OK  ] Created slice user.slice - User and Session Slice.
> [  OK  ] Started systemd-ask-password-conso…equests to Console
Directory Watch.
> [  OK  ] Started systemd-ask-password-wall.…d Requests to Wall
Directory Watch.
> [  OK  ] Set up automount proc-sys-fs-binfm…ormats File System
Automount Point.
>          Expecting device dev-ttyS0.device - /dev/ttyS0...
> [  OK  ] Reached target paths.target - Path Units.
> [  OK  ] Reached target remote-fs.target - Remote File Systems.
> [  OK  ] Reached target slices.target - Slice Units.
> [  OK  ] Reached target swap.target - Swaps.
> [  OK  ] Reached target timers.target - Timer Units.
> [  OK  ] Listening on systemd-creds.socket - Credential
Encryption/Decryption.
> [  OK  ] Listening on systemd-initctl.socke…- initctl Compatibility
Named Pipe.
> [  OK  ] Listening on systemd-journald-dev-…socket - Journal Socket
(/dev/log).
> [  OK  ] Listening on systemd-journald.socket - Journal Sockets.
> [  OK  ] Listening on systemd-networkd.socket - Network Service
Netlink Socket.
> [  OK  ] Listening on systemd-udevd-control.socket - udev Control
Socket.
> [  OK  ] Listening on systemd-udevd-kernel.socket - udev Kernel
Socket.
> [FAILED] Failed to mount dev-hugepages.mount - Huge Pages File
System.
> See 'systemctl status dev-hugepages.mount' for details.
> [FAILED] Failed to mount dev-mqueue.mount - POSIX Message Queue File
System.
> See 'systemctl status dev-mqueue.mount' for details.
> [FAILED] Failed to mount run-lock.mount - Legacy Locks Directory
/run/lock.
> See 'systemctl status run-lock.mount' for details.
> [FAILED] Failed to mount sys-kernel-debug.mount - Kernel Debug File
System.
> See 'systemctl status sys-kernel-debug.mount' for details.
> [FAILED] Failed to mount sys-kernel-tracing.mount - Kernel Trace File
System.
> See 'systemctl status sys-kernel-tracing.mount' for details.
> [FAILED] Failed to mount tmp.mount - Temporary Directory /tmp.
> See 'systemctl status tmp.mount' for details.
> [FAILED] Failed to start modprobe at configfs.…vice - Load Kernel Module
configfs.
> See 'systemctl status modprobe at configfs.service' for details.
> ...

Please set systemd.log_level=debug on the kernel command line and
attach the full debug log output

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240726/6e3c9a0c/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list