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


Groups > linux.debian.kernel > #93799 > unrolled thread

Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config

Started byAurelien Jarno <aurel32@debian.org>
First post2026-08-19 18:20 +0200
Last post2026-08-19 21:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config Aurelien Jarno <aurel32@debian.org> - 2026-08-19 18:20 +0200
    Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config Chris Hofstaedtler <zeha@debian.org> - 2026-08-19 19:00 +0200
      Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config Aurelien Jarno <aurel32@debian.org> - 2026-08-19 21:40 +0200
    Processed: Re: Bug#1144875: initramfs-tools: should check for the  config file in /lib/modules/${version}/config "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-08-19 21:40 +0200

#93799 — Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config

FromAurelien Jarno <aurel32@debian.org>
Date2026-08-19 18:20 +0200
SubjectBug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config
Message-ID<NtRbb-bUSn-9@gated-at.bofh.it>
Package: initramfs-tools
Version: 0.151
Severity: important

Starting with src:linux 7.2, the kernel config file is moved to
/lib/modules/${version}/config instead of /boot/config-${version} [1].
This causes initramfs-tools to emit a warning when generating the
initrd:

| W: Kernel configuration /boot/config-7.2+unreleased-riscv64 is missing, zstd compression support (CONFIG_RD_ZSTD) cannot be checked and is assumed to be available

initramfs-tools actually looks in /lib/modules/${version}, but expect
the config file to be named config-${version}. This need to be updated.

Alternatively, as dracut is now the default initrd generator, maybe
support for initramfs-tools should be removed from the src:linux
package.

[1] https://salsa.debian.org/kernel-team/linux/-/commit/4b94722d0432685c2249a34ff753319eb161f30a

[toc] | [next] | [standalone]


#93800

FromChris Hofstaedtler <zeha@debian.org>
Date2026-08-19 19:00 +0200
Message-ID<NtRNT-bV63-1@gated-at.bofh.it>
In reply to#93799
On Wed, Aug 19, 2026 at 06:08:31PM +0200, Aurelien Jarno wrote:
> Alternatively, as dracut is now the default initrd generator, maybe
> support for initramfs-tools should be removed from the src:linux
> package.

While I'm not against this, it seems a bit early. TTBOMK the live-boot
ecosystem still needs initramfs-tools. Please give affected users 
more time.

Thanks,
Chris

[toc] | [prev] | [next] | [standalone]


#93807

FromAurelien Jarno <aurel32@debian.org>
Date2026-08-19 21:40 +0200
Message-ID<NtUiJ-bWrG-3@gated-at.bofh.it>
In reply to#93800
control: tag -1 + patch

On 2026-08-19 18:50, Chris Hofstaedtler wrote:
> On Wed, Aug 19, 2026 at 06:08:31PM +0200, Aurelien Jarno wrote:
> > Alternatively, as dracut is now the default initrd generator, maybe
> > support for initramfs-tools should be removed from the src:linux
> > package.
> 
> While I'm not against this, it seems a bit early. TTBOMK the live-boot
> ecosystem still needs initramfs-tools. Please give affected users 
> more time.

Ok, got it, so let's fix that in initramfs-tools, I have submitted a MR:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/202

Once in testing, it will also need to be uploaded to trixie-backports to 
support backported kernels.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

[toc] | [prev] | [next] | [standalone]


#93808 — Processed: Re: Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2026-08-19 21:40 +0200
SubjectProcessed: Re: Bug#1144875: initramfs-tools: should check for the config file in /lib/modules/${version}/config
Message-ID<NtUiK-bWrG-21@gated-at.bofh.it>
In reply to#93799
Processing control commands:

> tag -1 + patch
Bug #1144875 [initramfs-tools] initramfs-tools: should check for the config file in /lib/modules/${version}/config
Added tag(s) patch.

-- 
1144875: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144875
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web