Your message dated Sat, 04 Jan 2025 21:54:48 +0000
with message-id <[email protected]>
and subject line Bug#1018290: fixed in tiny-initramfs 0.1-6
has caused the Debian Bug report #1018290,
regarding /usr/sbin/update-tirfs: does not run hook scripts in
/etc/initramfs/post-update.d
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 [email protected]
immediately.)
--
1018290: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018290
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tiny-initramfs
Version: 0.1-5
Severity: normal
File: /usr/sbin/update-tirfs
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Contrary to section 8.3 of the Debian Kernel Handbook [1],
/usr/sbin/update-tirfs does not run the hook scripts in
/etc/initramfs/post-update.d. Together with a bug in systemd-boot (#1014581)
this led to my system trying and failing to boot without an initramfs.
I did not know whether to make the severity of this bug normal or serious.
While it does violate a 'must' directive in the Kernel Handbook, I don't know
whether that carries the same severity as violating a directive from the Policy.
Regards,
Victor Westerhuis
- -- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'unstable'), (100, 'experimental'), (1,
'experimental-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_NL.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en_US:en:nl_NL:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tiny-initramfs depends on:
ii tiny-initramfs-core 0.1-5+b12
tiny-initramfs recommends no packages.
tiny-initramfs suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCAAxFiEE6OxII3T+o0Ujs6ECQz2Rq5dHQPsFAmMLWO0THHZpY3RvckB3
ZXN0ZXJodS5pcwAKCRBDPZGrl0dA+yvGEACaLdiF9/QD61nv7cjjcLeE4bqqLBBR
WhVA1INGoJX27qf+o0WQVKUCe0/PqzgMjSp6wW2Ta8lrj3HaxdjutEIwIVC3VrxG
4R48X4EJzZjIqIZWPiPxvTDXJeVH1ar8KTYbyQNhZY5r8uCtIfiqgh2DUc/vRt5p
DW57YmIo6UAl2p0gRxQfi3ULaqTI4Mslp6bfVZQ8MWXNuf1tabY3mts2vPL/K7cp
/XMHLv567XQJqGYz1SJdb4LizpgD+OauoThFdTk37dJVXU6gvY8QPUMaN7wIZp2g
kR54jPWR3cFiHCrHZdHl6D2cwwSr44wnL6qxBUS1+wvORVS6tNBpJHROxScKYpHk
QDYsJrgqlcef4KSxUxXF5MR6kDR8ylX+2WFUrPjYNUiC3NSQCl0NaG3iXv/7KU/+
zkQyYYzbagtueYsMzL6MUlpE51nnpM6R2DwLg19/Yzsm4xgTVU6K6NtHNu1lU9mo
MfseeGMf6ZUmN44SYVLdehd+mXT8C9KXYYmS9aRAPUL8dybQFmIWGz15dmpsyeUA
DkYARyS0oBtKZUQKFAMkV/fxgL0f4JPvrWRAjejxtAtjKWS4/5PIjYwx+zQql5+T
8tSPOcZYmJuQA4WyOhghBNwqn/dfT3EvLZ8nfNTPmbJsO/oukgnwU6cmb7NCPKNq
VbAfSz54YMmfWQ==
=Lc76
-----END PGP SIGNATURE-----
>From 4f8089ba3ab39d55b19447712224972afabfc908 Mon Sep 17 00:00:00 2001
From: Victor Westerhuis <[email protected]>
Date: Sun, 28 Aug 2022 13:37:50 +0200
Subject: Run hook scripts in /etc/initramfs/post-update.d
According to the Debian Kernel Handbook, section 8.3, "initramfs
builders must call these scripts using run-parts after they create,
update or delete an initramfs."
Because update-tirfs uses `set -e`, there is no need to check if the
preceding invocation of mktirfs was successful.
---
debian/extra/update-tirfs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/extra/update-tirfs b/debian/extra/update-tirfs
index c79898d..e5f69f2 100755
--- a/debian/extra/update-tirfs
+++ b/debian/extra/update-tirfs
@@ -61,6 +61,9 @@ if [ x"$VERSION" = x"all" ] ; then
if ! [ -r "${V}" ] ; then continue ; fi
V=${V#/boot/vmlinu?-}
mktirfs -o /boot/initrd.img-"${V}" "${V}"
+ if [ -d /etc/initramfs/post-update.d ]; then
+ run-parts --arg="${V}" --arg=/boot/initrd.img-"${V}"
/etc/initramfs/post-update.d
+ fi
done
else
if ! ls /boot/vmlinu[xz]-"${VERSION}" >/dev/null 2>&1 ; then
@@ -68,4 +71,7 @@ else
exit 1
fi
mktirfs -o /boot/initrd.img-"${VERSION}" "${VERSION}"
+ if [ -d /etc/initramfs/post-update.d ]; then
+ run-parts --arg="${VERSION}" --arg=/boot/initrd.img-"${VERSION}"
/etc/initramfs/post-update.d
+ fi
fi
--
2.37.2
--- End Message ---
--- Begin Message ---
Source: tiny-initramfs
Source-Version: 0.1-6
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
tiny-initramfs, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated tiny-initramfs 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 04 Jan 2025 21:05:00 +0100
Source: tiny-initramfs
Architecture: source
Version: 0.1-6
Distribution: unstable
Urgency: medium
Maintainer: Christian Seiler <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 983121 1018290 1063904
Changes:
tiny-initramfs (0.1-6) unstable; urgency=medium
.
* Team upload
.
[ Jelmer Vernooij ]
* Migrate repository from alioth to salsa.
.
[ Andreas Tille ]
* Fix watch file
* Standards-Version: 4.7.0 (routine-update)
* debhelper-compat 13 (routine-update)
* Secure URI in copyright format (routine-update)
* Rules-Requires-Root: no (routine-update)
* Change priority extra to priority optional.
* Remove field Priority on binary package tiny-initramfs that duplicates
source.
* Installation to /usr/libexec
* Add Victor Westerhuis who filed ITS as Uploader
Closes: #1063904
.
[ Victor Westerhuis ]
* Run hook scripts in /etc/initramfs/post-update.d
Closes: #1018290
.
[ Michael Krylov ]
* Make tirfs able to resume from hibernation
Closes: #983121
.
[ MichaIng ]
* Skip initrd generation if not needed by kernel
Checksums-Sha1:
d05cd369e57726b66592a37229266028f4b0942e 2321 tiny-initramfs_0.1-6.dsc
7542617995f57aae407ed976939aa7b41dff2d69 93916 tiny-initramfs_0.1.orig.tar.xz
3673540987e00513c97c134d8a12b6b8305ec7aa 801 tiny-initramfs_0.1.orig.tar.xz.asc
f1d172392fe7dcf7e56d57c3fd6fb1aa8592ceac 17768
tiny-initramfs_0.1-6.debian.tar.xz
8fb75257cadc6065499243fb08c562bc99792438 6737
tiny-initramfs_0.1-6_amd64.buildinfo
Checksums-Sha256:
f811c0189fb3b262c4d4a8f5d2f6cd102ad5d590cb600b074e90289dde6d1112 2321
tiny-initramfs_0.1-6.dsc
321c34bd492b2328f5bbfb718fe7a0d99b6d1281060bcb794fe33eff737c6452 93916
tiny-initramfs_0.1.orig.tar.xz
77840ba0d0a0e50a609097454ab83b3936bc621881cc9e06c6427ac43efb36dc 801
tiny-initramfs_0.1.orig.tar.xz.asc
a412c7eebe895d789304f2c212a9472a1b6533c15523e3dac470bc5b6460e0c0 17768
tiny-initramfs_0.1-6.debian.tar.xz
9dc16db004d7b46c159c6f9afca4a184bc4a530f6f3bcc4a0836202493a7ffa6 6737
tiny-initramfs_0.1-6_amd64.buildinfo
Files:
42f0e9c621843882af01bccfc23d05ac 2321 utils optional tiny-initramfs_0.1-6.dsc
5bcf9f168332bf97892c2c35ac3aaf9d 93916 utils optional
tiny-initramfs_0.1.orig.tar.xz
7c8f5858531d02f895193503b4f8e506 801 utils optional
tiny-initramfs_0.1.orig.tar.xz.asc
0a8e8866679f21dae232c0e2ab96dddc 17768 utils optional
tiny-initramfs_0.1-6.debian.tar.xz
b2dc97e3e3d152e6c565cbae82b534f8 6737 utils optional
tiny-initramfs_0.1-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmd5oTMRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFeYg//TVOwU5gQK9LyfV73VABYgK2KPr6ikNd9
zXiW+fX1BQ0N6wgK+I7x7HoU6pUeCPFTEIN7t8dmE74YowoLRtANKd/8LF+hXFI9
dm8V9CAo1clYDdbGykkJFhFcMr/tCkLzANHwwvi0P5mvhqAVUbUFUIuP5kCOytLm
CSbASxFcVcAJlImFN9nFnIfNnY2YsmLFAJm4WVDm5hCDFbm5cNJUu4P0SF7K/Hnu
QaYLOVQSJlg+POiz6a3tuiRHt5tpDy4+PilnEAEk+QzUeFkqfYkJtPjAX/dv1BhP
LSeN3uX5HCoCPqSuyMW+I9y1iMjf+ai8ajtjmAYdnx2OKVxUyAkEvYO7xPFxBa2F
3imlSQVEdByDAaxiZzf9/7s5Vaw28O33/0ZOJ76HFiecjeU3+Nmnpw0qOULDAWkF
BXShh4C0qGpTvSxtL5O1z+wmjZFwahI5/J2ec3FV7SMoT2h0mcjdo8QjWFdGJFSk
AmNVJjZ8iJu340uZgXtiseAUCzENdka6hCbQANrQ1fIuFzBQgRD+pkqFd9m0nUWT
m0bDk4lQc7ZoYNsCSIpo38DOUm+OCgdLoP5xHDCwsuMKG+1kzAljl2dlt54PXwuB
KHTJ6A4rdLQgw2OcS6C2iqUghYOm0YUhJvj4eHuyc/ITlqO7kSgAgqSTBC4JsJKD
eaawIflsJhA=
=Movs
-----END PGP SIGNATURE-----
pgpkpVltjjoRz.pgp
Description: PGP signature
--- End Message ---