Package: dracut-core
Version: 059-4
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
dracut produces broken unified kernel images with systemd 254.
To reproduce:
dracut --uefi --kver ${kernel-version}
dracut produces the following warning:
objcopy: /var/tmp/dracut.JFHsiy/uefi/linux.efi:.osrel: section below image base
objcopy: /var/tmp/dracut.JFHsiy/uefi/linux.efi:.linux: section below image base
objcopy: /var/tmp/dracut.JFHsiy/uefi/linux.efi:.initrd: section below image base
It's not recognized as error and produces an image:
dracut: *** Creating UEFI image file '/boot/efi/EFI/Linux/linux.efi' done ***
As a result in next boot systemd-boot fails to load the image:
Error loading \EFI\Linux\linux.efi: Load error
Expected behavior:
Produced image should be a valid image.
Fixes are already in dracut master branch:
- f32e95bcadbc5158843530407adc1e7b700561b1
- 33a66ed04bdc30eccb172a0cd6dcc36d9d74f825
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.4.4-tartar (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dracut-core depends on:
ii cpio 2.13+dfsg-7.1
ii e2fsprogs 1.47.0-2
ii kmod 30+20230519-1
ii kpartx 0.9.4-5
ii libc6 2.37-6
ii libkmod2 30+20230519-1
ii udev 254~rc2-3
Versions of packages dracut-core recommends:
ii binutils 2.40.90.20230714-2
pn console-setup <none>
ii cryptsetup 2:2.6.1-4
pn dmraid <none>
ii dmsetup 2:1.02.185-2
ii lvm2 2.03.16-2
ii mdadm 4.2+20230508-5
pn pigz <none>
ii pkg-config 1.8.1-1
ii pkgconf [pkg-config] 1.8.1-1
ii systemd 254~rc2-3
dracut-core suggests no packages.
-- no debconf information