initramfs-tools (0.122ubuntu8.17) xenial; 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().
Date: Thu, 23 Jul 2020 13:20:14 -0300
Changed-By: [email protected] (Guilherme G. Piccoli)
Maintainer: Ubuntu Developers <[email protected]>
Signed-By: Mauricio Faria de Oliveira <[email protected]>
https://launchpad.net/ubuntu/+source/initramfs-tools/0.122ubuntu8.17
Format: 1.8
Date: Thu, 23 Jul 2020 13:20:14 -0300
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core initramfs-tools-bin
Architecture: source
Version: 0.122ubuntu8.17
Distribution: xenial
Urgency: medium
Maintainer: Ubuntu Developers <[email protected]>
Changed-By: Guilherme G. Piccoli <[email protected]>
Description:
initramfs-tools - generic modular initramfs generator (automation)
initramfs-tools-bin - binaries used by initramfs-tools
initramfs-tools-core - generic modular initramfs generator (core tools)
Launchpad-Bugs-Fixed: 1879987
Changes:
initramfs-tools (0.122ubuntu8.17) xenial; 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().
Checksums-Sha1:
56c1defcdd24d4da4e5bdb386c270d351e14354a 2105
initramfs-tools_0.122ubuntu8.17.dsc
d1553ff9589e2c313c6069c017537981a3ffb2c0 113812
initramfs-tools_0.122ubuntu8.17.tar.xz
Checksums-Sha256:
a91e5c7511bea371f110d6de6a33a282d35510bb4aadaf7a3fc442ebb638d873 2105
initramfs-tools_0.122ubuntu8.17.dsc
1c41094240f4b671ee24f1dec87833a796efc888b4b628fabbc0fec722a13765 113812
initramfs-tools_0.122ubuntu8.17.tar.xz
Files:
98e8cd4ae8e912ccb3c05a58f72d84b0 2105 utils optional
initramfs-tools_0.122ubuntu8.17.dsc
ffdf73875dc1fbb702f01c9f5e22100f 113812 utils optional
initramfs-tools_0.122ubuntu8.17.tar.xz
Original-Maintainer: Debian kernel team <[email protected]>
--
Xenial-changes mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/xenial-changes