After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749946 - Detect at runtime if dhcpcd supports IPv6
Detect at runtime if dhcpcd supports IPv6
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-05-27 08:36 UTC by Beniamino Galvani
Modified: 2020-11-12 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Beniamino Galvani 2015-05-27 08:36:06 UTC
Right now the configure script tries to detect if dhcpcd supports IPv6 by looking at its version number, but this is not enough since dhcpcd can be built without IPv6 support. Moreover, IPv6 support can be enabled only when dhcpcd path is autodetected (--with-dhcpcd=yes) and not when the executable path is specified.

Note that we always disable IPv6 when launching dhcpcd and we need information about IPv6 support only to pass the '-4' option to the program and force it to use only IPv4.

It would be better to defer the detection of IPv6 support to runtime and, for example, look at the output of 'dhcpcd -V' to see if it includes the string "DHCPv6 options:". This test could be done before starting dhcpcd for the first time and the result could be cached for performance reasons.
Comment 1 Dennis Schridde 2018-09-18 20:40:42 UTC
Is this related to bug #707464?
Comment 2 André Klapper 2020-11-12 14:26:52 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).