ubuntu@jammy-test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
ubuntu@jammy-test:~$ dpkg -l | grep -i ifupdown
ii ifupdown 0.8.36+nmu1ubuntu3 amd64 high level tools to configure network interfaces
ubuntu@jammy-test:~$ sudo ifdown ens3
/etc/network/if-down.d/resolved: 12: mystatedir: not found
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens3/52:54:00:92:e4:09
Sending on LPF/ens3/52:54:00:92:e4:09
Sending on Socket/fallback
DHCPRELEASE of 192.168.122.213 on ens3 to 192.168.122.1 port 67 (xid=0x3fe7fca)
ubuntu@jammy-test:~$ sudo ifup ens3
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens3/52:54:00:92:e4:09
Sending on LPF/ens3/52:54:00:92:e4:09
Sending on Socket/fallback
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x96648e41)
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x96648e41)
DHCPOFFER of 192.168.122.213 from 192.168.122.1
DHCPREQUEST for 192.168.122.213 on ens3 to 255.255.255.255 port 67 (xid=0x418e6496)
DHCPACK of 192.168.122.213 from 192.168.122.1 (xid=0x96648e41)
bound to 192.168.122.213 -- renewal in 1488 seconds.
/etc/network/if-up.d/resolved: 12: mystatedir: not found
ubuntu@jammy-test:~$ dpkg -l | grep -i ifupdown
ii ifupdown 0.8.36+nmu1ubuntu4 amd64 high level tools to configure network interfaces
ubuntu@jammy-test:~$ sudo ifdown ens3
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens3/52:54:00:92:e4:09
Sending on LPF/ens3/52:54:00:92:e4:09
Sending on Socket/fallback
DHCPRELEASE of 192.168.122.213 on ens3 to 192.168.122.1 port 67 (xid=0x5294bd40)
ubuntu@jammy-test:~$ sudo ifup ens3
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens3/52:54:00:92:e4:09
Sending on LPF/ens3/52:54:00:92:e4:09
Sending on Socket/fallback
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x1c872a07)
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 8 (xid=0x1c872a07)
DHCPOFFER of 192.168.122.213 from 192.168.122.1
DHCPREQUEST for 192.168.122.213 on ens3 to 255.255.255.255 port 67 (xid=0x72a871c)
DHCPACK of 192.168.122.213 from 192.168.122.1 (xid=0x1c872a07)
bound to 192.168.122.213 -- renewal in 1350 seconds.
Built a PPA to test the fix:
sudo add-apt-repository ppa:jasimioni/ lp1907878
sudo apt update
Below the testing with the PPA package:
ubuntu@ jammy-test: ~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
ubuntu@ jammy-test: ~$ dpkg -l | grep -i ifupdown
ii ifupdown 0.8.36+nmu1ubuntu3 amd64 high level tools to configure network interfaces
ubuntu@ jammy-test: ~$ sudo ifdown ens3 if-down. d/resolved: 12: mystatedir: not found /www.isc. org/software/ dhcp/
/etc/network/
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Listening on LPF/ens3/ 52:54:00: 92:e4:09 52:54:00: 92:e4:09
Sending on LPF/ens3/
Sending on Socket/fallback
DHCPRELEASE of 192.168.122.213 on ens3 to 192.168.122.1 port 67 (xid=0x3fe7fca)
ubuntu@ jammy-test: ~$ sudo ifup ens3 /www.isc. org/software/ dhcp/
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Listening on LPF/ens3/ 52:54:00: 92:e4:09 52:54:00: 92:e4:09 if-up.d/ resolved: 12: mystatedir: not found
Sending on LPF/ens3/
Sending on Socket/fallback
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x96648e41)
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x96648e41)
DHCPOFFER of 192.168.122.213 from 192.168.122.1
DHCPREQUEST for 192.168.122.213 on ens3 to 255.255.255.255 port 67 (xid=0x418e6496)
DHCPACK of 192.168.122.213 from 192.168.122.1 (xid=0x96648e41)
bound to 192.168.122.213 -- renewal in 1488 seconds.
/etc/network/
### AFTER UPGRADE ###
ubuntu@ jammy-test: ~$ apt-cache policy ifupdown /ppa.launchpadc ontent. net/jasimioni/ lp1907878/ ubuntu jammy/main amd64 Packages dpkg/status 8.36+nmu1ubuntu 3 500 archive. ubuntu. com/ubuntu jammy/universe amd64 Packages
ifupdown:
Installed: 0.8.36+nmu1ubuntu4
Candidate: 0.8.36+nmu1ubuntu4
Version table:
*** 0.8.36+nmu1ubuntu4 500
500 https:/
100 /var/lib/
0.
500 http://
ubuntu@ jammy-test: ~$ dpkg -l | grep -i ifupdown
ii ifupdown 0.8.36+nmu1ubuntu4 amd64 high level tools to configure network interfaces
ubuntu@ jammy-test: ~$ sudo ifdown ens3 /www.isc. org/software/ dhcp/
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Listening on LPF/ens3/ 52:54:00: 92:e4:09 52:54:00: 92:e4:09
Sending on LPF/ens3/
Sending on Socket/fallback
DHCPRELEASE of 192.168.122.213 on ens3 to 192.168.122.1 port 67 (xid=0x5294bd40)
ubuntu@ jammy-test: ~$ sudo ifup ens3 /www.isc. org/software/ dhcp/
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Listening on LPF/ens3/ 52:54:00: 92:e4:09 52:54:00: 92:e4:09
Sending on LPF/ens3/
Sending on Socket/fallback
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 3 (xid=0x1c872a07)
DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 8 (xid=0x1c872a07)
DHCPOFFER of 192.168.122.213 from 192.168.122.1
DHCPREQUEST for 192.168.122.213 on ens3 to 255.255.255.255 port 67 (xid=0x72a871c)
DHCPACK of 192.168.122.213 from 192.168.122.1 (xid=0x1c872a07)
bound to 192.168.122.213 -- renewal in 1350 seconds.
diff can be seen here:
https:/ /launchpadlibra rian.net/ 683020167/ ifupdown_ 0.8.36+ nmu1ubuntu3_ 0.8.36+ nmu1ubuntu4. diff.gz