[ubuntu/groovy-proposed] cryptsetup 2:2.3.3-1ubuntu6 (Accepted)
Guilherme G. Piccoli
gpiccoli at canonical.com
Tue Sep 22 16:10:13 UTC 2020
cryptsetup (2:2.3.3-1ubuntu6) groovy; urgency=medium
* Introduce retry logic for external invocations after mdadm (LP: #1879980)
- Currently, if an encrypted rootfs is configured on top of a MD RAID1
array and such array gets degraded (e.g., a member is removed/failed)
the cryptsetup scripts cannot mount the rootfs, and the boot fails.
We fix that issue here by allowing the cryptroot script to be re-run
by initramfs-tools/local-block stage, as mdadm can activate degraded
arrays at that stage.
There is an initramfs-tools counter-part for this fix, but alone the
cryptsetup portion is harmless.
- d/cryptsetup-initramfs.install: ship the new local-bottom script.
- d/functions: declare variables for local-top|block|bottom scripts
(flag that local-block is running and external invocation counter.)
- d/i/s/local-block/cryptroot: set flag that local-block is running.
- d/i/s/local-bottom/cryptroot: clean up the flag and counter files.
- d/i/s/local-top/cryptroot: change the logic from just waiting 180
seconds to waiting 5 seconds first, then allowing initramfs-tools
to run mdadm (to activate degraded arrays) and call back at least
30 times/seconds more.
Date: Wed, 16 Sep 2020 17:35:59 -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/cryptsetup/2:2.3.3-1ubuntu6
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 16 Sep 2020 17:35:59 -0300
Source: cryptsetup
Architecture: source
Version: 2:2.3.3-1ubuntu6
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
Changes:
cryptsetup (2:2.3.3-1ubuntu6) groovy; urgency=medium
.
* Introduce retry logic for external invocations after mdadm (LP: #1879980)
- Currently, if an encrypted rootfs is configured on top of a MD RAID1
array and such array gets degraded (e.g., a member is removed/failed)
the cryptsetup scripts cannot mount the rootfs, and the boot fails.
We fix that issue here by allowing the cryptroot script to be re-run
by initramfs-tools/local-block stage, as mdadm can activate degraded
arrays at that stage.
There is an initramfs-tools counter-part for this fix, but alone the
cryptsetup portion is harmless.
- d/cryptsetup-initramfs.install: ship the new local-bottom script.
- d/functions: declare variables for local-top|block|bottom scripts
(flag that local-block is running and external invocation counter.)
- d/i/s/local-block/cryptroot: set flag that local-block is running.
- d/i/s/local-bottom/cryptroot: clean up the flag and counter files.
- d/i/s/local-top/cryptroot: change the logic from just waiting 180
seconds to waiting 5 seconds first, then allowing initramfs-tools
to run mdadm (to activate degraded arrays) and call back at least
30 times/seconds more.
Checksums-Sha1:
25b10f7b051b262d470da33c2f5eda42e4b01618 2594 cryptsetup_2.3.3-1ubuntu6.dsc
46ab8ce239de4e0e20462c5a286813f5e48fb6b6 127616 cryptsetup_2.3.3-1ubuntu6.debian.tar.xz
ceef159e542d50d9879c81d15dda2ef7ab6abf33 6418 cryptsetup_2.3.3-1ubuntu6_source.buildinfo
Checksums-Sha256:
265aa5f0969b50fe2bd4d60cd2d7402e0179a1d480f6c4d2f1d5d9f333620c91 2594 cryptsetup_2.3.3-1ubuntu6.dsc
91e9ede2582e2dc3375fb803900146db5fa339ccea4bba5bed4a16c3cee04a6b 127616 cryptsetup_2.3.3-1ubuntu6.debian.tar.xz
acd9d547b02f4bf4c6d86b0c0ffd61f54644a07c27232d4c7e2960ef7041f072 6418 cryptsetup_2.3.3-1ubuntu6_source.buildinfo
Files:
5a913984e73327e37adb4bf1e3667bbc 2594 admin optional cryptsetup_2.3.3-1ubuntu6.dsc
e7ee4018fc27b49ae04e874419f051b3 127616 admin optional cryptsetup_2.3.3-1ubuntu6.debian.tar.xz
bd0bf3afa2079037042f4c9bcae3e27a 6418 admin optional cryptsetup_2.3.3-1ubuntu6_source.buildinfo
Original-Maintainer: Debian Cryptsetup Team <pkg-cryptsetup-devel at alioth-lists.debian.net>
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE6lM3bZSskAWIGxy2bDc/V48coGcFAl9qHJYACgkQbDc/V48c
oGdnKQf+N10RqeGeiGZ3rmj34+4L5afZN1+rT46/ZEACAu/RevbNY3U8aRsIyIoY
hu8i9RI160SAsLXxUtbzJO2MHcYnhdLTrB4wyKDyfu0i8lsw4SLlJSpjU/3DZCwQ
r6vbttAA57BlZTRK9kwH6M20aVWT4zSRdiMNTsijsZTXmcRKpOgrGA/9gul2HaXh
jEPlOEdx8StEejd/qyMPZIU2QFXu4nWDvx/a93FxnzRQ651DQaKv9C3QVNU1o6PC
tccCFWZ4ef4Xk//7UOJzSitKd9xJjga6tJgVnob+V1I2n09AB99wl7Rup5ZQx5R/
AUAM2/USCbAuovkSIDyWmwyudzabgg==
=Xpak
-----END PGP SIGNATURE-----
More information about the Groovy-changes
mailing list