Activity log for bug #1838329

Date Who What changed Old value New value Message
2019-07-29 18:44:39 Michael Aaron Murphy bug added bug
2019-07-29 18:44:39 Michael Aaron Murphy attachment added The workaround for this issue https://bugs.launchpad.net/bugs/1838329/+attachment/5279851/+files/cryptswap-mount-fix.patch
2019-07-29 20:31:05 Ubuntu Foundations Team Bug Bot tags bionic disco eoan bionic disco eoan patch
2019-07-29 20:31:23 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2019-08-13 01:44:52 Dan Streetman bug added subscriber Dan Streetman
2019-09-27 14:37:35 Dan Streetman bug watch added https://github.com/systemd/systemd/issues/10179
2019-09-27 14:37:35 Dan Streetman bug task added systemd
2019-09-27 15:39:50 Bug Watch Updater systemd: status Unknown New
2020-04-14 11:38:54 Dan Streetman tags bionic disco eoan patch bionic ddstreet disco eoan patch
2020-04-14 12:10:22 Sebastien Bacher systemd (Ubuntu): status New Triaged
2020-04-14 12:10:28 Sebastien Bacher systemd (Ubuntu): importance Undecided High
2020-04-14 12:14:05 Sebastien Bacher bug added subscriber Ubuntu Sponsors Team
2020-04-14 12:14:43 Sebastien Bacher bug added subscriber Sebastien Bacher
2020-04-14 23:46:51 Brian Murray tags bionic ddstreet disco eoan patch bionic ddstreet disco eoan patch rls-ff-incoming
2020-05-07 17:51:21 Brian Murray nominated for series Ubuntu Focal
2020-05-07 17:51:21 Brian Murray bug task added systemd (Ubuntu Focal)
2020-05-07 17:51:29 Brian Murray systemd (Ubuntu Focal): status New Triaged
2020-05-07 17:51:32 Brian Murray systemd (Ubuntu Focal): importance Undecided High
2020-05-07 17:51:37 Brian Murray systemd (Ubuntu Focal): milestone ubuntu-20.04.1
2020-05-07 17:51:46 Brian Murray tags bionic ddstreet disco eoan patch rls-ff-incoming bionic ddstreet disco eoan patch
2020-05-08 12:32:51 Francis Ginther tags bionic ddstreet disco eoan patch bionic ddstreet disco eoan id-5eb44cf735b12c4b9b721452 patch
2020-07-02 17:06:16 Dan Streetman systemd (Ubuntu Focal): assignee Dan Streetman (ddstreet)
2020-07-02 17:06:19 Dan Streetman systemd (Ubuntu Focal): status Triaged In Progress
2020-07-02 17:06:25 Dan Streetman systemd (Ubuntu): status Triaged Fix Released
2020-07-06 21:46:21 Dan Streetman description On some systems, cryptsetup-based encrypted swap partitions cause systemd to get stuck at boot. This is a timing-sensitive Heisenbug, so the rate of occurrence varies from one system to another. Some hardware will not experience the issue at all, others will only occasionally experience the issue, and then there are the unlucky who are unable to boot at all, no matter how many times they restart. The workaround is for the cryptsetup-generator to generate cryptswap service entries that call `udevadm trigger` after `mkswap`. This will ensure that the udev event is triggered, so that systemd is notified that the encrypt swap partition is ready to activate. This patch has already been submitted upstream to systemd, but it was not accepted because it is a workaround for the side effect of systemd not seeing the udev event upon creating the swap partition. [impact] systems using cryptsetup-based encrypted swap may hang during boot due to udevd missing the notification that swap has been setup on the newly created swap device. [test case] see original description, and reproduction is intermittent based on timing [regression potential] any regression would likely occur during, or after, boot when creating an encrypted swap device and/or while waiting to activate the new swap device. Regressions may cause failure to correctly enable swap and/or hung boot waiting for the swap device. [scope] this was (potentially) fixed upstream with PR 15836, which is not yet included in any upstream release, so this is needed in all releases, including groovy. also note while the upstream bug is closed, and code review seems to indicate this *should* fix this specific issue, there are some comments in the upstream bug indicating it may not completely solve the problem, although there is no further debug of the new reports. [original description] On some systems, cryptsetup-based encrypted swap partitions cause systemd to get stuck at boot. This is a timing-sensitive Heisenbug, so the rate of occurrence varies from one system to another. Some hardware will not experience the issue at all, others will only occasionally experience the issue, and then there are the unlucky who are unable to boot at all, no matter how many times they restart. The workaround is for the cryptsetup-generator to generate cryptswap service entries that call `udevadm trigger` after `mkswap`. This will ensure that the udev event is triggered, so that systemd is notified that the encrypt swap partition is ready to activate. This patch has already been submitted upstream to systemd, but it was not accepted because it is a workaround for the side effect of systemd not seeing the udev event upon creating the swap partition.
2020-07-06 21:46:31 Dan Streetman tags bionic ddstreet disco eoan id-5eb44cf735b12c4b9b721452 patch id-5eb44cf735b12c4b9b721452 patch
2020-07-06 21:46:38 Dan Streetman nominated for series Ubuntu Bionic
2020-07-06 21:46:38 Dan Streetman bug task added systemd (Ubuntu Bionic)
2020-07-06 21:46:38 Dan Streetman nominated for series Ubuntu Groovy
2020-07-06 21:46:38 Dan Streetman bug task added systemd (Ubuntu Groovy)
2020-07-06 21:47:04 Dan Streetman systemd (Ubuntu Groovy): status Fix Released In Progress
2020-07-06 21:47:07 Dan Streetman systemd (Ubuntu Groovy): status In Progress New
2020-07-07 10:53:11 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ddstreet/ubuntu/+source/systemd/+git/systemd/+merge/386957
2020-07-08 12:55:01 Robie Basak bug added subscriber Robie Basak
2020-07-15 16:50:50 Robie Basak systemd (Ubuntu Focal): status In Progress Fix Committed
2020-07-15 16:50:52 Robie Basak bug added subscriber Ubuntu Stable Release Updates Team
2020-07-15 16:50:55 Robie Basak bug added subscriber SRU Verification
2020-07-15 16:50:58 Robie Basak tags id-5eb44cf735b12c4b9b721452 patch id-5eb44cf735b12c4b9b721452 patch verification-needed verification-needed-focal
2020-07-15 16:52:00 Robie Basak removed subscriber Ubuntu Sponsors Team
2020-07-18 17:44:22 Launchpad Janitor systemd (Ubuntu Groovy): status New Fix Released
2020-07-22 18:44:46 Dan Streetman tags id-5eb44cf735b12c4b9b721452 patch verification-needed verification-needed-focal id-5eb44cf735b12c4b9b721452 patch verification-done verification-done-focal
2020-07-23 13:25:21 Ɓukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2020-07-23 13:25:18 Launchpad Janitor systemd (Ubuntu Focal): status Fix Committed Fix Released
2020-07-24 17:39:35 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387998
2021-06-18 14:57:37 Launchpad Janitor systemd (Ubuntu Bionic): status New Confirmed
2022-04-25 22:48:17 Dan Streetman removed subscriber Dan Streetman