[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
** No longer affects: initramfs-tools (Ubuntu) ** No longer affects: initramfs-tools (Ubuntu Eoan) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Eoan: Fix Released Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: initramfs-tools (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: Confirmed Status in isc-dhcp package in Ubuntu: Fix Released Status in initramfs-tools source package in Eoan: Confirmed Status in isc-dhcp source package in Eoan: Fix Released Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
This bug was fixed in the package isc-dhcp - 4.4.1-2ubuntu5 --- isc-dhcp (4.4.1-2ubuntu5) eoan; urgency=medium * Apply patch from Alkis Georgopoulos to generate correct net{,6}-${iface}.conf files when DHCP supplies multiple DNS servers. (LP: #1840965). -- Michael Hudson-Doyle Tue, 03 Sep 2019 10:10:56 +1200 ** Changed in: isc-dhcp (Ubuntu Eoan) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Fix Released Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Fix Released Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
** Tags added: id-5d6458d075c1a113cb9c2e57 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
I uploaded my patch as a merge proposal instead. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
** Merge proposal linked: https://code.launchpad.net/~alkisg/ubuntu/+source/isc-dhcp/+git/isc-dhcp/+merge/371861 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
I just noticed that the original script used tabs instead of spaces; I'm attaching a new .diff that respects that. ** Patch removed: "isc-dhcp.diff" https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1840965/+attachment/5284861/+files/isc-dhcp.diff ** Patch added: "isc-dhcp.diff" https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1840965/+attachment/5284863/+files/isc-dhcp.diff ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
I'm attaching a patch for dhclient-enter-hooks.d/config. I thought to imitate ipconfig and write all values even if they're empty. For the debian/dhclient-script.* scripts which use chmod/chown parameters that aren't available in busybox, it might be best to just omit them, or use `cp/rm` instead of `chown/mv`. `cp` is supposed to preserve target attributes etc, so it'll work in a real system, even if `busybox cp` doesn't do that. ** Patch added: "isc-dhcp.diff" https://bugs.launchpad.net/netplan/+bug/1840965/+attachment/5284861/+files/isc-dhcp.diff ** No longer affects: netplan -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1840965] Re: dhclient initramfs code writes invalid net-eth0.conf
** Changed in: isc-dhcp (Ubuntu) Status: New => Triaged ** Changed in: isc-dhcp (Ubuntu) Importance: Undecided => High ** Also affects: initramfs-tools (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: isc-dhcp (Ubuntu Eoan) Importance: High Status: Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1840965 Title: dhclient initramfs code writes invalid net-eth0.conf Status in netplan: New Status in initramfs-tools package in Ubuntu: New Status in isc-dhcp package in Ubuntu: Triaged Status in initramfs-tools source package in Eoan: New Status in isc-dhcp source package in Eoan: Triaged Bug description: Since 18.10, Ubuntu switched to using dhclient instead of ipconfig in initramfs configure_networking(). And now a malformed /run/net-enp0s3.conf is generated, with unquoted values like the following, which are a shell syntax error: IPV4DNS0=1.2.3.1 1.2.3.2 1.2.3.3 This file is sourced by initramfs-tools/init in various places, and produces the following message a lot of times: /init: /run/net-enp0s3.conf: line 8: 1.2.3.2: not found I.e. values should be quoted, and 2 DNS entries should go in IPV4DNS0/IPV4DNS1, not multiple unquoted ones in IPV4DNS0. Here is the erroneous file that dhclient-enter-hooks.d/config produces: DEVICE=enp0s3 PROTO=dhcp IPV4PROTO=dhcp IPV4ADDR=10.161.254.38 IPV4NETMASK=255.255.255.0 IPV4BROADCAST=10.161.254.255 IPV4GATEWAY=10.161.254.1 IPV4DNS0=194.63.237.4 194.63.239.164 194.63.238.4 ROOTSERVER=10.161.254.1 HOSTNAME= DNSDOMAIN= Here is the correct one that ipconfig produces: DEVICE='enp0s3' PROTO='dhcp' IPV4ADDR='10.161.254.38' IPV4BROADCAST='10.161.254.255' IPV4NETMASK='255.255.255.0' IPV4GATEWAY='10.161.254.1' IPV4DNS0='194.63.237.4' IPV4DNS1='194.63.239.164' HOSTNAME='' DNSDOMAIN='' NISDOMAIN='' ROOTSERVER='10.161.254.1' ROOTPATH='' filename='' UPTIME='594' DHCPLEASETIME='25200' DOMAINSEARCH='' I.e. please either fix dhclient-enter-hooks.d/config, or revert the ipconfig => dhclient change. To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/1840965/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp