Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #90317

Bug#1121366: Ships /etc/kernel/header_postinst.d instead of /etc/kernel/headers_postinst.d

From Andras Korn <korn-debbugs@elan.rulez.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1121366: Ships /etc/kernel/header_postinst.d instead of /etc/kernel/headers_postinst.d
Date 2025-11-28 10:40 +0100
Message-ID <LW37j-gmuZ-3@gated-at.bofh.it> (permalink)
References (2 earlier) <LVImd-g8MM-1@gated-at.bofh.it> <LVKR3-gayk-5@gated-at.bofh.it> <LVLtL-gaMu-11@gated-at.bofh.it> <LUYMp-fC7i-5@gated-at.bofh.it> <LVLtL-gaMu-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, Nov 27, 2025 at 03:42:10PM +0100, Ben Hutchings wrote:

Hi,

> > > Since nothing appears to install a hook in the new directories
> > > (/{etc,usr/share}/kernel/headers_postinst.d) yet, I will change this
> > > back rather than trying to support both.
> > 
> > I also found no package other than dkms install anything there, and dkms's
> > script hasn't actually run all this time with apparently nobody noticing
> > (because the same script is shipped in install.d as well).
> > 
> > I think it would be better to keep the name of
> > /etc/kernel/headers_postinst.d consistent with the -headers in the package
> > names, rather than modify linux-run-hooks to use the previous,
> > inconsistently-named directory.
> >
> > Rationale: principle of least surprise. You don't know how many custom
> > setups that created /etc/kernel/headers_postinst.d/ (because people found
> > out that's what linux-run-hooks used) you'd be breaking by changing it.
> > Probably not many (I know of a total of 3 :), but I don't think there is a
> > compelling reason to do it.
> 
> My rationale:
> 
> - The old directory name was supported for 15 years and in 7 stable
> releases, so many local packages and scripts may depend on it.  We must
> not stop supporting it without a transition plan.

OK, fair enough. I had no idea what the timeline was.

AndrĂ¡s

-- 
If I'm ever on life support, unplug me, then plug me back in. See if that works.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1121366: Ships /etc/kernel/header_postinst.d instead of /etc/kernel/headers_postinst.d Andras Korn <korn-debbugs@elan.rulez.org> - 2025-11-27 15:10 +0100
  Bug#1121366: Ships /etc/kernel/header_postinst.d instead of /etc/kernel/headers_postinst.d Ben Hutchings <benh@debian.org> - 2025-11-27 15:50 +0100
    Bug#1121366: Ships /etc/kernel/header_postinst.d instead of /etc/kernel/headers_postinst.d Andras Korn <korn-debbugs@elan.rulez.org> - 2025-11-28 10:40 +0100

csiph-web