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


Groups > linux.debian.bugs.dist > #1244611

Bug#1104639: Kernel hook installed in wrong directory / missing dependency

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist
Subject Bug#1104639: Kernel hook installed in wrong directory / missing dependency
Date 2025-05-03 18:10 +0200
Message-ID <KInB7-u92-5@gated-at.bofh.it> (permalink)
References <KImlH-tbD-11@gated-at.bofh.it> <KInhL-tMB-13@gated-at.bofh.it> <KImlH-tbD-11@gated-at.bofh.it> <KInhL-tMB-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, 2025-05-03 at 17:40 +0200, Johannes Schauer Marin Rodrigues
wrote:
> Hi Ben,
> 
> Quoting Ben Hutchings (2025-05-03 16:46:02)
> > reform-tools installs a kernel hook under /usr/share/kernel.  As you know,
> > this currently only works with unofficial kernel packages.
> > 
> > The official kernel packages should support this in trixie, but I
> > still do not want packages to rely on this until *after* the trixie
> > release.  There is no way to depend on "a new enough kernel package"
> > other than through the requirement that systems are fully upgraded to
> > one stable release before upgrading further.
> > 
> > If you are not convinced by that, then there is another problem for
> > partial upgrades: if debianutils is not upgraded to at least version
> > 5.21 then this hook will cause kernel package installation to fail as
> > it will try to pass 2 hook directories to run-parts which is not
> > supported.  So you should add a versioned dependency on debianutils if you
> > leave the hook under /usr/share/kernel for the trixie release.
> 
> the package also ships a symlink in /etc/kernel. Is that not enough?

That is backward-compatible, which addresses my first objection. 
However you still need the versioned dependency on debianutils.

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.

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


Thread

Bug#1104639: Kernel hook installed in wrong directory / missing dependency Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-05-03 17:50 +0200
  Bug#1104639: Kernel hook installed in wrong directory / missing dependency Ben Hutchings <ben@decadent.org.uk> - 2025-05-03 18:10 +0200

csiph-web