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


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

Bug#1079080: initramfs-tools: does not catch errors from dracut-install

Started byChris Hofstaedtler <zeha@debian.org>
First post2024-08-19 23:50 +0200
Last post2024-08-22 03:10 +0200
Articles 2 — 2 participants

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


Contents

  Bug#1079080: initramfs-tools: does not catch errors from dracut-install Chris Hofstaedtler <zeha@debian.org> - 2024-08-19 23:50 +0200
    Bug#1079080: marked as done (initramfs-tools: does not catch  errors from dracut-install) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-22 03:10 +0200

#83535 — Bug#1079080: initramfs-tools: does not catch errors from dracut-install

FromChris Hofstaedtler <zeha@debian.org>
Date2024-08-19 23:50 +0200
SubjectBug#1079080: initramfs-tools: does not catch errors from dracut-install
Message-ID<Jdiqd-6bBN-1@gated-at.bofh.it>
Package: initramfs-tools
Version: 0.143.1
Severity: important
X-Debbugs-CC: bdrung@debian.org

In the light of the recent kmod/dracut-install issue, it came to
light that initramfs-tools does not catch errors from
dracut-install. Instead it just continues and produces an initramfs
with no modules.

As an example, with the currently broken kmod/dracut-install, on
upgrades this happens:

Setting up linux-image-6.10.4-amd64 (6.10.4-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.10.4-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.10.4-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.10.4-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.10.4-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.10.4-amd64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
/usr/lib/dracut/dracut-install: symbol lookup error: /usr/lib/dracut/dracut-install: undefined symbol: kmod_module_get_weakdeps, version LIBKMOD_5
/usr/lib/dracut/dracut-install: symbol lookup error: /usr/lib/dracut/dracut-install: undefined symbol: kmod_module_get_weakdeps, version LIBKMOD_5
/usr/lib/dracut/dracut-install: symbol lookup error: /usr/lib/dracut/dracut-install: undefined symbol: kmod_module_get_weakdeps, version LIBKMOD_5
Setting up gcc-13 (13.3.0-5) ...
...

Instead, it would be good if initramfs-tools would either abort, or
at least detect the problem and refuse to overwrite an existing
initrd.img with a now broken image.

Thanks for considering!

Chris

[toc] | [next] | [standalone]


#83574 — Bug#1079080: marked as done (initramfs-tools: does not catch errors from dracut-install)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-22 03:10 +0200
SubjectBug#1079080: marked as done (initramfs-tools: does not catch errors from dracut-install)
Message-ID<Je4uR-6G5d-7@gated-at.bofh.it>
In reply to#83535

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

Your message dated Thu, 22 Aug 2024 01:05:27 +0000
with message-id <E1sgwGV-00EE0t-OG@fasolo.debian.org>
and subject line Bug#1079066: fixed in initramfs-tools 0.144
has caused the Debian Bug report #1079066,
regarding initramfs-tools: does not catch errors from dracut-install
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


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

[toc] | [prev] | [standalone]


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


csiph-web