NetworkManager/src/dhcp
Beniamino Galvani 21a43510f4 dhcp-helper: retry in case of failure connecting to D-Bus unix socket
Connecting to the unix socket can fail with EAGAIN if there are too
many pending connections and the server can't accept them in time
before reaching backlog capacity. Ideally the server should increase
the backlog length, but GLib doesn't provide a way to change it for a
GDBus server. Retry for up to 5 seconds in case of failure.

https://bugzilla.redhat.com/show_bug.cgi?id=1821594
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/471
(cherry picked from commit eefe5dacaa)
(cherry picked from commit 4cf63dfa15)
(cherry picked from commit 2b7908a1c6)
(cherry picked from commit 87f24157ef)
2020-04-21 09:03:31 +02:00
..
tests dhcp: include conditionals from existing dhclient configuration 2019-10-10 14:59:56 +02:00
meson.build build/meson: rename "nm_core_dep" to "libnm_core_dep" 2019-04-18 20:13:49 +02:00
nm-dhcp-client-logging.h core/dhcp: use addr-family parameter for instead of boolean 2017-09-11 15:05:57 +02:00
nm-dhcp-client.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-dhcp-client.h dhcp: initialize hostname as construct-property 2018-11-14 08:11:41 +01:00
nm-dhcp-dhclient-utils.c dhcp: include conditionals from existing dhclient configuration 2019-10-10 14:59:56 +02:00
nm-dhcp-dhclient-utils.h dhcp: refactor nm_dhcp_dhclient_save_duid() to accept original DUID 2018-11-13 19:09:33 +01:00
nm-dhcp-dhclient.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-dhcp-dhcpcanon.c all: replace g_strerror() calls with nm_strerror_native() 2019-02-12 08:50:28 +01:00
nm-dhcp-dhcpcd.c all: replace g_strerror() calls with nm_strerror_native() 2019-02-12 08:50:28 +01:00
nm-dhcp-helper-api.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-helper.c dhcp-helper: retry in case of failure connecting to D-Bus unix socket 2020-04-21 09:03:31 +02:00
nm-dhcp-listener.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-dhcp-listener.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-manager.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-dhcp-manager.h device: add "dhcp-plugin" match spec for device 2018-11-01 11:17:12 +01:00
nm-dhcp-systemd.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-dhcp-utils.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-dhcp-utils.h dhcp: drop NMDhcpDuidEnforce type 2018-06-20 11:39:27 +02:00