[Pkg-libvirt-maintainers] Bug#1041066: libguestfs0: Please use dhcpcd as default DHCP client

Benjamin Drung bdrung at debian.org
Fri Jul 14 17:14:35 BST 2023


Package: libguestfs0
Version: 1:1.50.1-2
Severity: normal
X-Debbugs-Cc: bdrung at debian.org

Dear Maintainer,

ISC has announced the end of life for ISC DHCP as of the end of 2022.
Kea is the recommended successor of the DHCP server. This bug report is
about replacing the DHCP client dhclient. libguestfs0 depends on
isc-dhcp-client.

`appliance/init` uses following code to configure the network:

```sh
if test "$guestfs_network" = 1; then
    iface=$(ls -I all -I default -I lo /proc/sys/net/ipv4/conf)
    # Two workarounds for Ubuntu:
    touch /etc/fstab
    rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved
    if dhclient --version >/dev/null 2>&1; then
        dhclient $iface
    else
        dhcpcd $iface
    fi
fi
```

Please change the dependency to "dhcpcd-base | isc-dhcp-client" to allow dhcpcd
as alternative and to make it the default.

-- 
Benjamin Drung
Debian & Ubuntu Developer



More information about the Pkg-libvirt-maintainers mailing list