Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #90882
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel, linux.debian.devel.release |
| Subject | Bug#1126020: trixie-pu: package linux-base/4.12.1 |
| Date | 2026-01-20 14:30 +0100 |
| Message-ID | <MfjXX-bWPY-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 3 groups.
[Multipart message — attachments visible in raw view] - view raw
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: linux-base@packages.debian.org, debian-kernel@lists.debian.org
Control: affects -1 + src:linux-base
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
linux-run-hooks does not look for linux-headers postinst hooks in the
same directory as older linux-headers postinst scripts. This was an
unintended incompatible change between bookworm and trixie.
[ Impact ]
linux-headers postinst hooks are not being run when a linux-headers
package is installed. Currently the only such hook packaged in Debian
belongs to dkms. This could result in out-of-tree modules not being
rebuilt at the right time.
In trixie the impact is mitigated because linux-headers packages
depend on the corresponding linux-image packages and dkms also
installs a postinst hook for those. However, this dependency has been
removed in unstable, so the mitigation does not apply when installing
a kernel from trixie-backports or during an upgrade to forky.
Secondly, I want to avoid downstream distributions or users adding
hooks in {/etc,/usr/share}/kernel/headers_postinst.d, which won't work
in either bookworm or forky.
[ Tests ]
I verified that:
- Installation of a linux-headers package while
linux-base 4.12 was installed did not run a hook script in
/etc/kernel/header_postinst.d
- Reinstallation of a linux-headers package while
linux-base 4.12.1 was installed did run the hook script
- Installation of a linux-image package while linux-base 4.12.1 was
installed ran the postinst hooks in /etc/kernel/postinst.d
[ Risks ]
If any downstream distribution or user added or moved a hook in
{/etc,/usr/share}/kernel/headers_postinst.d post-trixie, this will
stop working until they move it back to the previously
supported directory.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
- Change the construction of hook directory names to drop the 's'
from 'headers'
- Fix a somewhat related documentation error
- Adjust CI configuration for trixie
[ Other info ]
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#1126020: trixie-pu: package linux-base/4.12.1 Ben Hutchings <ben@decadent.org.uk> - 2026-01-20 14:30 +0100
csiph-web