[ubuntu/groovy-proposed] initramfs-tools 0.137ubuntu11 (Accepted)
Guilherme G. Piccoli
gpiccoli at canonical.com
Wed Aug 26 15:29:14 UTC 2020
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, 03 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.137ubuntu11
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 03 Aug 2020 18:04:00 -0300
Source: initramfs-tools
Architecture: source
Version: 0.137ubuntu11
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
Changes:
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:
527b351f26d09095633e90ebde8456b733283d95 1878 initramfs-tools_0.137ubuntu11.dsc
fbe4f0f6a93236f909a536782d3533402116c0f7 132988 initramfs-tools_0.137ubuntu11.tar.xz
283dac999a9d2fcd04f59f77cbc46701410d9962 6849 initramfs-tools_0.137ubuntu11_source.buildinfo
Checksums-Sha256:
9ddd868b2ee5b3a5198da2c8ed93349c58b9711deba374c622c72152105b1941 1878 initramfs-tools_0.137ubuntu11.dsc
d7e5732b71b2d68da4f860fe9fedddb3a4f7d1c56123fb8c8fce3d9707480aac 132988 initramfs-tools_0.137ubuntu11.tar.xz
e4d4187a151a4adc756f4b3163740ab7bbeed094c06ca521c30e1563060a5628 6849 initramfs-tools_0.137ubuntu11_source.buildinfo
Files:
580df51db29f540fa20d10165664721a 1878 utils optional initramfs-tools_0.137ubuntu11.dsc
3a5253e6d6328d93164323654660c84b 132988 utils optional initramfs-tools_0.137ubuntu11.tar.xz
d455ca25d6848372b7ff14435902080e 6849 utils optional initramfs-tools_0.137ubuntu11_source.buildinfo
Original-Maintainer: Debian kernel team <debian-kernel at lists.debian.org>
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE6lM3bZSskAWIGxy2bDc/V48coGcFAl9Gf3MACgkQbDc/V48c
oGfjywgAx1Y5ZiQvnsngaobrhuwm7J6VovBgwJdd+y4jil8sSiuk5zMYPi2rMG1a
vyo4Nk7qiG3gqcfV32ZR/NwScxTwt8f+P3Apw8yLf5gn8GOA8+VA8i7uBS2zrFsU
NECdBE0IKhhebSiPKWJvmSRQ/18n24PrGUINI7zIRgYqczhOJ86SfeTKm9+RerYI
XIllM5EKp8Qm5Xex282TvCOxeqVFbP8gU+vZEyUMGCqH1wAyBRfgKM5/CQDmEkoz
GtnnZbFlooyv2qW95LtESkGd/xTQUk3O3vw1fdMTwtFAdgQgtWnG0sJf5QjUy7iW
ua4Dj2l7loQMB56igFMLxjehVXFTig==
=wuOA
-----END PGP SIGNATURE-----
More information about the Groovy-changes
mailing list