Public bug reported:

If one creates e.g. /etc/systemd/network.cu and /etc/systemd/network.fc
and symlinks  /etc/systemd/network to one of them, network setup will
fail on reboot, because /usr/share/initramfs-tools/hooks/udev does a
very poor job: it simply checks for a directory instead of the link
files and therefore skips copying required files to the ram image.
Another poor job is done when copying the files to the ram image:
instead of following symlinks it copies them as which in turn makes them
useless, because it does not copy the related dirs and thus the symlinks
point to nothing. So keeping the system in an consistent state which
such poor scripts is very hard, asking for trouble.

Suggested fix is attached.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "/usr/share/initramfs-tools/hooks/udev patch"
   
https://bugs.launchpad.net/bugs/1868892/+attachment/5341158/+files/networkd-ramfs.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868892

Title:
  initramfs-tools/hooks/udev for network *.link really sucks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1868892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to