Comment 2 for bug 1840965

Revision history for this message
Alkis Georgopoulos (alkisg) wrote : Re: netplan initramfs code writes invalid net-eth0.conf

The code that generates the invalid /run/net-enp0s3.conf belongs in the Ubuntu isc-dhcp package, and specifically in debian/initramfs-tools/lib/etc/dhcp/dhclient-enter-hooks.d/config.

It got in effect in 18.10 when initramfs-tools in Ubuntu switched to calling dhclient instead of ipconfig.

Additionally, dhclient-script calls `chmod --reference=/etc/resolv.conf $new_resolv_conf`, but busybox chmod doesn't support the --reference parameter.

I.e. dhclient has numerous issues that need to be fixed, otherwise the ipconfig => dhclient change should be reverted...

Thank you.