GNOME Bugzilla – Bug 749946
Detect at runtime if dhcpcd supports IPv6
Last modified: 2020-11-12 14:26:52 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.
Is this related to bug #707464?
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).