[Pkg-utopia-maintainers] Bug#810151: network-manager: Cannot use dhcpcd

Tuomas Suutari tuomas.suutari at gmail.com
Thu Jan 7 00:46:42 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network-manager_build_with_dhcpcd.diff
Type: text/x-diff
Size: 919 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160107/4a0d347c/attachment.diff>


More information about the Pkg-utopia-maintainers mailing list