[Pkg-utopia-maintainers] Bug#607956: Bug#607956: Bug#607956: network-manager: Does not start with "dhcp=dhcpcd" option in NetworkManager.conf

Viktor Malyarchuk malyar at gmail.com
Tue Mar 29 10:19:07 UTC 2011


Hi Michael,

NM does not work with dhcpcd v3 (dhcpcd=1:3.2.3-8)
--------------------
NetworkManager[3399]: <warn> invalid connection: 'NMSettingConnection' /
'id' invalid: 1
/sbin/dhcpcd-bin: invalid option -- 'B'
usage: dhcpcd [-adknpEGHMNRSTY] [-c script] [-h hostname] [-i classID]
              [-l leasetime] [-m metric] [-r ipaddress] [-s ipaddress]
              [-t timeout] [-u userclass] [-F none | ptr | both]
              [-I clientID] [-P pidfile] <interface>
NetworkManager[3399]: <info> (eth2): DHCPv4 client pid 3402 exited with
status 1
--------------------

NM work fine with dhcpcd v5 (dhcpcd5=5.2.11-1) if "/etc/init.d/dhcpcd"
daemon is NOT running.

Otherwise NM never get IP:
--------------------
NetworkManager[3292]: <info> Activation (ath3) Beginning DHCPv4 transaction
(timeout in 45 seconds)
dhcpcd[3297]: sending commands to master dhcpcd process
NetworkManager[3292]: <info> dhcpcd started with pid 3297
NetworkManager[3292]: <info> Activation (ath3) Stage 3 of 5 (IP Configure
Start) complete.
NetworkManager[3292]: <info> (ath3): DHCPv4 client pid 3297 exited with
status 0
--------------------

There is the nice summary of the problem in third paragraph of comment #10
here:
http://bugs.gentoo.org/show_bug.cgi?id=345365#c10
Comment #13 claim that issue is resolved:
http://bugs.gentoo.org/show_bug.cgi?id=345365#c13
Not sure if it can be applicable to Debian. Look very Gentoo specific.

My workaround is just to delete "/etc/init.d/dhcpcd" from the system. Not
exactly elegant solution but it work.

Cheers!
Viktor

On Fri, Mar 18, 2011 at 12:50 PM, Michael Biebl <biebl at debian.org> wrote:

> Am 10.03.2011 12:46, schrieb Viktor Malyarchuk:
> > Hi Michael,
> >
> > yes this is the case. If I build NM on the system with Sid's dhcpcd5
> > installed, dhcpcd support is enabled. If build happens on dhcpcd-free
> > system, dhcpcd support is disabled by default but could be enabled by
> > "--with-dhcpcd=/sbin/dhcpcd".
> >
> > Could you be so kind to enable NM's dhcpcd support by applying attached
> > patch? It is one-liner that add "--with-dhcpcd=/sbin/dhcpcd \" to
> > "debian/rules".
>
> Which version of dhcpcd do you use?
>
> According to configure.ac, on v4 (and later, I guess) is fully supported:
>
> AC_ARG_WITH([dhcpcd], AS_HELP_STRING([--with-dhcpcd=yes|no|path], [Enable
> dhcpcd
> 4.x support]))
> ...
>                AC_MSG_CHECKING(for dhcpcd)
>                # We fully work with upstream dhcpcd-4
>                for path in /sbin /usr/sbin /usr/pkg/sbin /usr/local/sbin;
> do
>                        test -x "${path}/dhcpcd" || continue
>                        case `"$path/dhcpcd" --version 2>/dev/null` in
>
>
> I'm wondering if this could cause problems, given that Debian ships both
> dhcpcd
> v3 and v5 and /sbin/dhcpcd is managed via alternatives.
>
> Cheers,
> Michael
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110329/698682c5/attachment.htm>


More information about the Pkg-utopia-maintainers mailing list