add_mountroot_fail_hook uses wrong target name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upon boot of a system that uses LVM2 you get the message:
ln: /tmp/mountroot-
This is because the script /usr/share/
Version of Ubuntu: 20.04 LTS
Version of initramfs-tools: 0.136ubuntu6
For a live installation, this may be fixed with (all on one line):
sudo sed -i 's,\(ln -s "\$0" /tmp/mountroot-
and verified by checking that this message now disappears on next boot:
sudo journalctl -b | grep mountroot-
A proposed patch for the source distribution is attached.
The attachment "Proposed fix" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]