initramfs-tools/hooks/udev for network *.link really sucks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Low
|
Dan Streetman | ||
Xenial |
Fix Released
|
Low
|
Dan Streetman | ||
Bionic |
Fix Released
|
Low
|
Dan Streetman | ||
Eoan |
Fix Released
|
Low
|
Dan Streetman | ||
Focal |
Fix Released
|
Low
|
Dan Streetman |
Bug Description
[impact]
If the /{etc,lib}
command will not actually find any of the files in the dir it links to.
[test case]
$ sudo touch /etc/systemd/
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.
...
$ sudo lsinitramfs /boot/initrd.
usr/lib/
$ sudo mv /etc/systemd/
$ sudo ln -s network.abc /etc/systemd/
$ sudo update-initramfs -u
$ sudo lsinitramfs /boot/initrd.
$
[regression potential]
this adjusts how link files are included in the initramfs, so regressions would likely occur when creating new initramfs, such as failure to create initramfs at all, or failure to properly copy link files into the initramfs, causing network setup failure.
[scope]
this is a Debian/Ubuntu specific file, and the Debian MR was just opened, so this is needed for Debian and all releases of Ubuntu.
[other info]
This bug likely has a very limited impact, as it is uncommon to symlink either the /lib/systemd/
[original description]
If one creates e.g. /etc/systemd/
Suggested fix is attached.
description: | updated |
tags: | added: ddstreet |
The attachment "/usr/share/ initramfs- tools/hooks/ udev patch" 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.]