Bug#1085012: systemd-boot: missing kernel-install
Mikhail Kot
to-debian at myrrc.dev
Sun Oct 13 00:24:47 BST 2024
Package: systemd-boot
Version: 256.6-1
Severity: normal
X-Debbugs-Cc: to-debian at myrrc.dev
Dear Maintainer,
Hooks installed at
/etc/kernel/postrm.d/zz-systemd-boot and /etc/kernel/postinst.d/zz-systemd-boot
require kernel-install which is present in systemd but not in systemd-boot, but
systemd-boot doesn't depend on systemd
This leads to
1. Inability to install/update the kernel when systemd package is absent i.e. when using openrc
2. Inability to purge configuration for obsolete kernels that produces:
/etc/kernel/postrm.d/zz-systemd-boot: 11: kernel-install: not found
run-parts: /etc/kernel/postrm.d/zz-systemd-boot exited with return code 127
I see three possible solutions:
1. Making systemd-boot depend on systemd (bad, as most functionality is not used)
2. Supplying kernel-install and related files in the systemd-boot package
(also bad, as there would be a conflict with systemd package)
3. Creating a package systemd-kernel-install with libsystemd-shared as only
dependency, including the following files, and making systemd and systemd-boot
depend on it:
/usr/bin/kernel-install
/usr/lib/kernel/install.d/50-depmod.install
/usr/lib/kernel/install.d/55-initrd.install
/usr/lib/kernel/install.d/90-loaderentry.install
/usr/lib/kernel/install.d/90-uki-copy.install
kernel-install depends only on libsystemd-shared-256.so and it is provided by
libsystemd-shared.
Cheers,
Mikhail
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.10.4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
Versions of packages systemd-boot depends on:
ii libc6 2.39-7
ii libsystemd-shared 256.6-1
ii systemd-boot-efi 256.6-1
Versions of packages systemd-boot recommends:
ii efibootmgr 18-2
Versions of packages systemd-boot suggests:
pn systemd-ukify <none>
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list