Re: dhcpcd support broken
- From: Beniamino Galvani <bgalvani redhat com>
- To: Dan Williams <dcbw redhat com>
- Cc: Joakim Tjernlund <joakim tjernlund transmode se>, "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Re: dhcpcd support broken
- Date: Wed, 27 May 2015 10:15:25 +0200
On Tue, 2015-05-26 at 18:24 -0500, Dan Williams wrote:
I suppose instead NM could exec "dhcpcd -V" and then look for the
string
"DHCPv6 options:" in the output the first time dhcpcd is run.
Beniamino, could you look into that?
In my opinion the current way of testing this is correct, since we
don't need to know if dhcpcd actually was built with IPv6 support, but
only if it supports the '-4' flag (that we pass to disable IPv6) and I
guess this depends only on the program version.
A potential problem is that IPv6 support in dhcpcd can be set from
configure script only when the executable path is autodetected (--with
-dhcpcd=yes) and not when a path is specified. So switching to runtime
detection could make sense; if you agree I will open an issue on
bugzilla for that.
Beniamino
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]