Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #92875
| From | Cornelius Hoffmann <hoffmac00@physik.fu-berlin.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1138644: dracut: Move postinst.d and postrm.d into /usr/lib |
| Date | 2026-06-01 20:00 +0200 |
| Message-ID | <N1f5D-9yEf-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Package: dracut Version: 106-6 Severity: normal Dear maintainer, somewhat related to 1095646, I propose to move the scripts in kernel/postinst.d and kernel/postrm.d to /usr/lib. From trixie onwards, the kernel packages don't call run-parts directly anymore, but linux-run-hooks, which also supports placing hooks in /usr/lib/kernel. This would allow people who want to use kernel-install to generate a fresh initrd to disable the postinst.d hook in /etc/kernel without affecting other users. If this is not done in an environment using kernel-install, currently /usr/lib/kernel/install.d/55-initrd.install will copy the generated initrd into the staging directory where something like ukify would pick it up and multiple initrds would end up in the final UKI (that's not a problem with dracut per se, but it's a good example why you would want to disable the postinst.d hook). Best, Cornelius Hoffmann -- System Information: Debian Release: 13.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.85+deb13-amd64 (SMP w/4 CPU threads; PREEMPT) 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: systemd (via /run/systemd/system) Versions of packages dracut depends on: ii dracut-core 106-6 ii linux-base 4.12.1 dracut recommends no packages. Versions of packages dracut suggests: ii dracut-network 106-6 -- no debconf information
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#1138644: dracut: Move postinst.d and postrm.d into /usr/lib Cornelius Hoffmann <hoffmac00@physik.fu-berlin.de> - 2026-06-01 20:00 +0200
csiph-web