-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On 02/10/2017 08:58, Olaf Hering wrote:
> On Sun, Oct 1, Oliver Freyermuth <o.freyerm...@googlemail.com> 
> wrote:
> 
>> Is this a bug, or a feature?
> 
> This is a bug.
> 
> I'm sure no standard requires the DHCP server to come back within 3
> minutes. NetworkManager must keep retrying, forever.
> 
> Reported here: http://bugzilla.suse.com/show_bug.cgi?id=584544
> 
> Workaround here: https://build.opensuse.org/request/show/519609
> 
> --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ 
> -79,7 +79,7 @@ _LOG_DECLARE_SELF (NMDevice); 
> /*******************************************************************/
>
>
>
>
> 
#define DHCP_RESTART_TIMEOUT   120 -#define DHCP_NUM_TRIES_MAX
> 3 +#define DHCP_NUM_TRIES_MAX     -1UL #define DEFAULT_AUTOCONNECT 
> TRUE
> 
> /*******************************************************************/
>
>
>
>
> 
Complete fix is to wipe all usage of DHCP_NUM_TRIES_MAX.

Hi Olaf, thanks for sharing your patch.
With that anyway you miss the option of having different connections
that could fallback if the "primary" one with dhcp fails.
I would not trow away that feature.
A change in the default NetworkManager.conf can switch it off for
default connections leaving the feature there if needed:
(https://bugzilla.redhat.com/show_bug.cgi?id=1350830#c7).

Francesco

> 
> 
> Olaf
> 
> 
> 
> _______________________________________________
> networkmanager-list mailing list networkmanager-list@gnome.org 
> https://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWw0H+TwdTVfQ8jil6Tt6PuC/5W8FAlnSV3wACgkQ6Tt6PuC/
5W9cvgf/WmJaiglx0WSn7diS6/qiryfNaJz0FdjrRppd3Ze3la+j1p0q0HUIKAZ7
1gnHkx8RqXLeM2KPEZdcAjcNYgkn+uW+GR8ao0Pylb2PmOorLpzhNoLWjd3S6oBh
q4BX8qSHnj1PChzQ7PBKqi8wq7mRPuaEhSykYT7xUFbhlZa6GNWpv1M2plTIQBX1
w880IqxWswiq8YbyN6Zo7m0IRt9ZGDxZX23OtDXNXDalmW/Ju4P1g7ZPciP0uL0z
cmwztzHvFBvBGB6TA4FGEr7piwgLcPRO5aqlIg35cvYr1qEG89mL3/YPtEjI9rUD
+1Q+7WZFeaZ2LbSQBoUKHcg62iZnYQ==
=6NMk
-----END PGP SIGNATURE-----
_______________________________________________
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to