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


Groups > linux.debian.bugs.dist > #1244610 > unrolled thread

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

Started byJohannes Schauer Marin Rodrigues <josch@debian.org>
First post2025-05-03 17:50 +0200
Last post2025-05-03 18:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromJohannes Schauer Marin Rodrigues <josch@debian.org>
Date2025-05-03 17:50 +0200
SubjectBug#1104639: Kernel hook installed in wrong directory / missing dependency
Message-ID<KInhL-tMB-13@gated-at.bofh.it>

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

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?

Thanks!

cheers, josch

[toc] | [next] | [standalone]


#1244611

FromBen Hutchings <ben@decadent.org.uk>
Date2025-05-03 18:10 +0200
Message-ID<KInB7-u92-5@gated-at.bofh.it>
In reply to#1244610

[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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web