Package: network-manager Version: 0.9.8.8-0ubuntu7.2 Severity: important Tags: patch ipv6
Dear Maintainer, I wish to use dhcpcd with Network Manager, because it has better support for IPv6 than dhclient (in this case I'm after stable privacy addresses of RFC7217). Upstream has support for using dhcpcd, but the Debian package is built with dhcpcd disabled. Not supporting dhcpcd is clearly a bug, since the manual page NetworkManager.conf(5) states the following: dhcp=dhclient | dhcpcd This key sets up what DHCP client NetworkManager will use. Presently dhclient and dhcpcd are supported. The client configured here should be available on your sys‐ tem too. If this key is missing, available DHCP clients are looked for in this order: dhclient, dhcpcd. Luckily, it seems to be easy to fix this. Just add dhcpcd5 as build dep and pass the --with-dhcpcd option to configure. I will include a patch for this. ps. I tested this with the newest version of network-manager from Ubuntu Trusty, but decided to report directly to Debian, since the Debian build log for network-manager seems to indicate that dhcpcd support is still disabled on the newest version of the package (1.0.10-1). -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-74-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages network-manager depends on: ii dbus 1.6.18-0ubuntu4.3 ii dnsmasq-base 2.68-1ubuntu0.1 ii iproute2 3.12.0-2ubuntu1 ii iputils-arping 3:20121221-4ubuntu1.1 ii isc-dhcp-client 4.2.4-7ubuntu12.3 ii libc6 2.19-0ubuntu6.6 ii libdbus-1-3 1.6.18-0ubuntu4.3 ii libdbus-glib-1-2 0.100.2-1 ii libglib2.0-0 2.40.2-0ubuntu1 ii libgudev-1.0-0 1:204-5ubuntu20.15 ii libmm-glib0 1.0.0-2ubuntu1.1 ii libnl-3-200 3.2.21-1 ii libnl-genl-3-200 3.2.21-1 ii libnl-route-3-200 3.2.21-1 ii libnm-glib4 0.9.8.8-0ubuntu7.2 ii libnm-util2 0.9.8.8-0ubuntu7.2 ii libpolkit-gobject-1-0 0.105-4ubuntu3.14.04.1 ii libsoup2.4-1 2.44.2-1ubuntu2 ii libsystemd-login0 204-5ubuntu20.15 ii lsb-base 4.1+Debian11ubuntu6 ii multiarch-support 2.19-0ubuntu6.6 ii policykit-1 0.105-4ubuntu3.14.04.1 ii sysv-rc 2.88dsf-41ubuntu6.2 ii udev 204-5ubuntu20.15 ii wpasupplicant 2.1-0ubuntu1.4 Versions of packages network-manager recommends: ii crda 1.1.2-1ubuntu2 ii iptables 1.4.21-1ubuntu1 ii modemmanager 1.0.0-2ubuntu1.1 ii network-manager-gnome 0.9.8.8-0ubuntu4.4 ii network-manager-pptp 0.9.8.2-1ubuntu2 ii ppp 2.4.5-5.1ubuntu2.2 ii systemd-services 204-5ubuntu20.15 Versions of packages network-manager suggests: pn avahi-autoipd <none> ii python 2.7.5-5ubuntu3 -- Configuration Files: /etc/NetworkManager/NetworkManager.conf changed: [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq dhcp=dhcpcd [ifupdown] managed=false -- no debconf information
diff -urN network-manager-0.9.8.8.orig/debian/control network-manager-0.9.8.8/debian/control --- network-manager-0.9.8.8.orig/debian/control 2014-04-09 16:41:19.000000000 +0300 +++ network-manager-0.9.8.8/debian/control 2016-01-07 02:03:02.709322388 +0200 @@ -30,6 +30,7 @@ libmm-glib-dev, gtk-doc-tools, isc-dhcp-client (>= 4.1.1-P1-4), + dhcpcd5, dbus-test-runner, dbus, valac (>= 0.17.1.24), diff -urN network-manager-0.9.8.8.orig/debian/rules network-manager-0.9.8.8/debian/rules --- network-manager-0.9.8.8.orig/debian/rules 2014-04-09 16:41:19.000000000 +0300 +++ network-manager-0.9.8.8/debian/rules 2016-01-07 02:04:11.189608388 +0200 @@ -30,6 +30,7 @@ --libexecdir=/usr/lib/NetworkManager \ --with-resolvconf=/sbin/resolvconf \ --with-dhclient=/sbin/dhclient \ + --with-dhcpcd=/sbin/dhcpcd \ --with-iptables=/sbin/iptables \ --with-crypto=nss \ --with-session-tracking=systemd \