[ubuntu/groovy-proposed] initramfs-tools 0.137ubuntu12 (Accepted)
Guilherme G. Piccoli
gpiccoli at canonical.com
Tue Sep 1 14:49:12 UTC 2020
initramfs-tools (0.137ubuntu12) groovy; urgency=medium
* d/tests: Add explicit call to partprobe on net test, specially in
prep-image and run-image. (LP: #1893675)
initramfs-tools (0.137ubuntu11) groovy; urgency=medium
* scripts/functions: Prevent printf error carry over if the wrong
console is set. (LP: #1879987)
The function _log_msg() is "void" typed, returning whatever its
last command returns. This function is the basic building block
for all error/warning messages in initramfs-tools. If a bad console
is provided to kernel on command-line, printf returns error, and so
this error is carried over in _log_msg(). Happens that checkfs()
function has a loop that runs forever in this scenario (*if* fsck
is not present in initramfs and "quiet" is not passed in the
command-line). If that happens, boot is stuck and cannot progress.
The simple fix hereby merged is to return zero on _log_msg().
* scripts/local: Re-execute cryptroot local-block script. (LP: #1879980)
Currently, if an encrypted rootfs is configured on top of a MD RAID1
array and such array gets degraded (like a member is removed/failed),
initramfs-tools cannot mount the rootfs and the boot fails. We fix
that issue here by allowing cryptroot script to re-run on local-block
stage, given that mdadm is able to activate a degraded array in that
point. There is a cryptsetup counter-part for this fix, but alone the
initramfs-tools portion is innocuous.
Date: Mon, 31 Aug 2020 18:04:00 -0300
Changed-By: gpiccoli at canonical.com (Guilherme G. Piccoli)
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Signed-By: Eric Desrochers <eric.desrochers at canonical.com>
https://launchpad.net/ubuntu/+source/initramfs-tools/0.137ubuntu12
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 31 Aug 2020 18:04:00 -0300
Source: initramfs-tools
Architecture: source
Version: 0.137ubuntu12
Distribution: groovy
Urgency: medium
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Guilherme G. Piccoli <gpiccoli at canonical.com>
Launchpad-Bugs-Fixed: 1879980 1879987 1893675
Changes:
initramfs-tools (0.137ubuntu12) groovy; urgency=medium
.
* d/tests: Add explicit call to partprobe on net test, specially in
prep-image and run-image. (LP: #1893675)
.
initramfs-tools (0.137ubuntu11) groovy; urgency=medium
.
* scripts/functions: Prevent printf error carry over if the wrong
console is set. (LP: #1879987)
The function _log_msg() is "void" typed, returning whatever its
last command returns. This function is the basic building block
for all error/warning messages in initramfs-tools. If a bad console
is provided to kernel on command-line, printf returns error, and so
this error is carried over in _log_msg(). Happens that checkfs()
function has a loop that runs forever in this scenario (*if* fsck
is not present in initramfs and "quiet" is not passed in the
command-line). If that happens, boot is stuck and cannot progress.
The simple fix hereby merged is to return zero on _log_msg().
.
* scripts/local: Re-execute cryptroot local-block script. (LP: #1879980)
Currently, if an encrypted rootfs is configured on top of a MD RAID1
array and such array gets degraded (like a member is removed/failed),
initramfs-tools cannot mount the rootfs and the boot fails. We fix
that issue here by allowing cryptroot script to re-run on local-block
stage, given that mdadm is able to activate a degraded array in that
point. There is a cryptsetup counter-part for this fix, but alone the
initramfs-tools portion is innocuous.
Checksums-Sha1:
85a895da451d40d5935951a950b5cbf3f373e566 1878 initramfs-tools_0.137ubuntu12.dsc
604899faf26aff9f01599d844202711886533251 133012 initramfs-tools_0.137ubuntu12.tar.xz
6b6ccbef04ac75a66eb9f088a2ac93135d2c7945 6849 initramfs-tools_0.137ubuntu12_source.buildinfo
Checksums-Sha256:
81695c354a9207680358010f37bd117d9c465cc23d4a3796f9e1b90c8cdc3c64 1878 initramfs-tools_0.137ubuntu12.dsc
958b82dfcbca1b4954df331d33e0aab1292dca589ee17496f23506a5cbc0945c 133012 initramfs-tools_0.137ubuntu12.tar.xz
1a71a23d2b474377bb199cfbb859230f84c75519c5dac932208baa51169d0732 6849 initramfs-tools_0.137ubuntu12_source.buildinfo
Files:
407df2e7bb0484c7bc2d4a0b4923687c 1878 utils optional initramfs-tools_0.137ubuntu12.dsc
ab6eafbe19b50e499b61b576347ddea6 133012 utils optional initramfs-tools_0.137ubuntu12.tar.xz
9b43db0838345ab5ac8db1910adb744c 6849 utils optional initramfs-tools_0.137ubuntu12_source.buildinfo
Original-Maintainer: Debian kernel team <debian-kernel at lists.debian.org>
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE6lM3bZSskAWIGxy2bDc/V48coGcFAl9OXywACgkQbDc/V48c
oGewAggA60JVAKcWEefC6/ayanqB/Ys1TnoZ/ZKPoDJvOXNivFARx5GmQi2G1PnW
ByLdikaI1JiZDnZFseTOrx8N9afSMbc5OdcarTiqo3K8OIhRVlF1fygFgpgyyuGC
lSJITgGqJ8Uqy0gCYsqSDuibatCQEQ3FkJ+yvhPMtFH4laiwAGT0UFL0/M6vroGr
zsrQHHses1+cR/BgjSRwIM4Qi/P/wjNCYMeodqtreXyjBJyRJJmDOQYyIrhYcVM/
hP7CMeY97fwgyDV01mPf/52pHXjpHfBGE1S7BFLmQy70qPFQt0skMZhnnm114GVi
AhQz+oQzaIDc84DbynIQWiTyJ4O+LA==
=9U+y
-----END PGP SIGNATURE-----
More information about the Groovy-changes
mailing list