uc20 initrd is racy between the-tool and systemd-modules-load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Critical
|
Ian Johnson |
Bug Description
With the current state of the initrd, the-tool is currently not exiting if systemd-mount exits with non-zero status, which is problematic in and of itself, but this combined with the fact that mounts are not effectively "re-tried" because systemd-mount starts a transient unit with the args that the-tool uses means that if the mount initially fails the first time, we will never try again.
On top of all that, there is a race between the mounting /dev/disk/
This race combined with the first point about the-tool never trying again means that when we hit this race we will fail to mount /dev/disk/
The right thing to do here I think is to have the-tool depend on systemd-
tags: | added: core20 |
tags: |
added: uc20 removed: core20 |
Changed in snapd: | |
status: | Confirmed → Fix Released |
milestone: | none → 2.45 |
MP up: https:/ /code.launchpad .net/~anonymous e67/ubuntu- core-initramfs/ +git/ubuntu- core-initramfs/ +merge/ 383246