[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108204: marked as done (initramfs-tools: update-initramfs trigger does not update the initramfs in some cases)



Your message dated Sun, 29 Jun 2025 14:35:47 +0000
with message-id <E1uVt8F-00Gwet-85@fasolo.debian.org>
and subject line Bug#1108204: fixed in initramfs-tools 0.148.3
has caused the Debian Bug report #1108204,
regarding initramfs-tools: update-initramfs trigger does not update the initramfs in some cases
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.)


-- 
1108204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108204
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.148.2
Severity: normal

Dear Maintainer,

When installing a kernel package and a package with a trigger for update-initramfs
in one go, the update of the initramfs is skipped in some cases.

In a clean chroot, populated with debootstrap for "trixie", I ran

  apt install linux-image-amd64 plymouth-theme-mobian

Result:

  [...]
  Setting up linux-image-6.12.32-amd64 (6.12.32-1) ...
  I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.32-amd64
  I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.32-amd64
  I: /vmlinuz is now a symlink to boot/vmlinuz-6.12.32-amd64
  I: /initrd.img is now a symlink to boot/initrd.img-6.12.32-amd64
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-6.12.32-amd64
  Setting up linux-image-amd64 (6.12.32-1) ...
  Setting up plymouth-theme-mobian (1.1) ...
  update-alternatives: using /usr/share/plymouth/themes/mobian/mobian.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
  Processing triggers for libc-bin (2.41-8) ...
  Processing triggers for initramfs-tools (0.148.2) ...
  update-initramfs: /boot/initrd.img-6.12.32-amd64 has already been updated since Mon Jun 23 06:07:09 2025.
  #

The initramfs is updated after setup of the kernel package. It is NOT updated again
after setup of package plymouth-theme-mobian, which is wrong. The files that are
installed by package plymouth-theme-mobian are missing in the initramfs (and the
plymouth splash screen will not work).

This behaviour was introduced in version 0.147 by:

  [7f2ed35] Avoid updating the initramfs twice for some cases (LP: #1466965)

My use-case is that I install the kernel package and plymouth-theme-mobian
during an image build that runs in a debootstrap chroot.
I could work around the issue by manually calling "update-initramfs -u" at the
end of the image build, or by calling update-initramfs in the postinst script
of plymouth-theme-mobian (instead of defining a dpkg trigger). I consider both
ways as workarounds and the new behaviour of update-initrafms as a bug.

Note that I'm not a Mobian developer nor do I use that package. I have a custom
package that defines a trigger in the same way as plymouth-theme-mobian where I
observe the issue.

Tobias

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.148.3
Done: Ben Hutchings <benh@debian.org>

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108204@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <benh@debian.org> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Jun 2025 14:08:36 +0200
Source: initramfs-tools
Architecture: source
Version: 0.148.3
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <benh@debian.org>
Closes: 1108204
Changes:
 initramfs-tools (0.148.3) unstable; urgency=medium
 .
   [ Benjamin Drung ]
   * [e3f4fb4] Revert "Avoid updating the initramfs twice for some cases"
     (Closes: #1108204)
Checksums-Sha1:
 42625a7e76704f2c7b6d06a0931a019e8c2dacfa 2138 initramfs-tools_0.148.3.dsc
 617f0508d0a264eb7d36882c1ab456e7540148f3 115940 initramfs-tools_0.148.3.tar.xz
 bcab30a742af73b15acf4660a28645e7ea2a71b3 7444 initramfs-tools_0.148.3_source.buildinfo
Checksums-Sha256:
 315f4d65def3ee7cf12bc07dafc53e9f5c6ce29105836a8874cc8f74dc45e159 2138 initramfs-tools_0.148.3.dsc
 b4a787b133f78261a227bb37848e44473f4b691c76fcab2d46c3fb7bec4001ee 115940 initramfs-tools_0.148.3.tar.xz
 4c5d864c89ffdc5ec36d4b6bec44bdd85ac3e5a70cc4e6807c5567461762ee90 7444 initramfs-tools_0.148.3_source.buildinfo
Files:
 cb486761ca2b132a635010af4d29d9e9 2138 utils optional initramfs-tools_0.148.3.dsc
 eaa32a74b26cd321b86772b644a8da07 115940 utils optional initramfs-tools_0.148.3.tar.xz
 127c7d62594370c8f35361a7036c8720 7444 utils optional initramfs-tools_0.148.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhhQU8ACgkQ57/I7JWG
EQnXXA//WAt1puEwF6ws/9k0lac8sJzmvLJd0v3y5lUjWKV71HYdN9RnCnlJ0Z5V
7iQ6d2e3q3tpAovg79d5dZY5W2FVgWMc70x6w75ZuyuPaxulM4SPmv7XyIlB6XB7
fHgy0CTETpXnr7QRcsHfhyBpgM/SZUi8hhIJqO/fjllzmA2PplDFVzrN99NpfxFQ
CqIrMZQZkQQJ89nk70tdBpk9PZvW22KI8mci6vzz3b1JykuQxc633Vk9s7KRuiFD
TjxfJwIG+MnTpRxyA4D60E+PU7Resntjx7y3cFZYl9dGHDdcAzmkAutWfcFxcGfs
JHFWHJ5DamVYUs3sZP8S2VLgBH+1GBHh2TInvMI57zdFTDfz80+zZJkp67j13b1C
qj7Yif+ABwWU5YsZVVhdg1grWrD37qWeFWo66ecgRfuuJXqbaRDl9cyZ719+tR+N
osgeC7ZqV4xAr4s47xFvzJGK/sNtVV0nbfJ9AXSBe8lBpCMRYpzH5epnbUKotCSf
oM7xIqiLeJCcBdBJmnToQKvvh8JZ1ogolukOaJgzw8c2OySxblVUQqVnAYJTxJAU
6DpvukG95anGWCRE9C9MRm76fvOGQcU4BmHEWYhRiiMZmx8VdpB+grIwEOFTNzeq
odBEkz/LTNp/Hy8W1wQweg8Af9XBUgtH+FY/qNlDXH85yiAfgzY=
=a7sM
-----END PGP SIGNATURE-----

Attachment: pgpKBFsA91wL9.pgp
Description: PGP signature


--- End Message ---

Reply to: