[Pkg-utopia-maintainers] Bug#810151: Bug#810151: network-manager: Cannot use dhcpcd
Tuomas Suutari
tuomas.suutari at gmail.com
Fri Jan 22 16:31:13 UTC 2016
Hello Michael!
Thanks for checking this out.
On 20 January 2016 at 16:54, Michael Biebl <biebl at debian.org> wrote:
> Looking into this a bit more, specifically the configure check for
> dhcpcd: If we pass the /sbin/dhcpcd path to --with-dhcpcd,
> IPV6 support is not enabled, because the following check is not run:
>
>
> elif $with_dhcpcd --version 2>&1 | grep -q "^dhcpcd [[6789]]\."; then
> AC_DEFINE(DHCPCD_SUPPORTS_IPV6, 1, [Define if dhcpcd supports
> IPv6 (6.x+)])
> fi
>
> Is that really intentional in your patch?
No, it was not intentional. My patch was made for 0.9.8.8-0ubuntu7.2
which I was using in Ubuntu 14.04. That version didn't have the
DHCPCD_SUPPORTS_IPV6 define at all. Sorry that I was too lazy to check
the latest versions.
Now I checked the configure scripts of 1.0.10 (in sid) and 1.1.90 (in
experimental) too and I see the problem. This is IMHO bug in the
configure script, since passing dhcpcd via path shouldn't result in
lesser functionality than via "yes". Anyway, it seems that if we pass
"--with-dhcpcd=yes" and build-depend on dhcpcd5, the configure script
should set the DHCPCD_SUPPORTS_IPV6 define. Didn't test this though.
OK, but it seems that this will get us nowhere. While checking the
sources if we should actually depend on dhcpcd rather than just
build-depend, I found out following line:
nm_log_warn (LOGD_DHCP6, "the dhcpcd backend does not support IPv6.");
And then found out: https://bugzilla.gnome.org/show_bug.cgi?id=707464
So it seems that Network Manager does not support dhcpcd with IPv6.
Improvements in IPv6 support was my reason to check out dhcpcd, but
didn't want to drop NM. That's why I created this bug in the first
place, but now it seems that I just lost interest (at least until NM
bug 707464 is fixed).
Maybe I should just get a newer kernel with RFC7217 support.
--
Tuomas
More information about the Pkg-utopia-maintainers
mailing list