mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 08:40:38 +01:00
supplicant: suppress more bus activation failure errors
These are expected errors if the supplicant can't be launched for some reason. We should only log entirely unexpected errors like wrong method arguments or types, really odd failures, etc. NetworkManager[1312]: <error> [1379601146.148818] [supplicant-manager/nm-supplicant-interface.c:853] interface_add_cb(): (wlan0): error adding interface: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. NetworkManager[1312]: <error> [1379601171.160742] [supplicant-manager/nm-supplicant-interface.c:853] interface_add_cb(): (wlan0): error adding interface: Activation of fi.w1.wpa_supplicant1 timed out
This commit is contained in:
parent
f8c23077cc
commit
44ccf3454b
1 changed files with 3 additions and 1 deletions
|
|
@ -840,8 +840,10 @@ interface_add_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data
|
|||
|| g_error_matches (error, DBUS_GERROR, DBUS_GERROR_SPAWN_FORK_FAILED)
|
||||
|| g_error_matches (error, DBUS_GERROR, DBUS_GERROR_SPAWN_FAILED)
|
||||
|| g_error_matches (error, DBUS_GERROR, DBUS_GERROR_TIMEOUT)
|
||||
|| g_error_matches (error, DBUS_GERROR, DBUS_GERROR_NO_REPLY)
|
||||
|| g_error_matches (error, DBUS_GERROR, DBUS_GERROR_TIMED_OUT)
|
||||
|| dbus_g_error_has_name (error, DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND)) {
|
||||
/* Supplicant wasn't running and could be launched via service
|
||||
/* Supplicant wasn't running and could not be launched via service
|
||||
* activation. Wait for it to start by moving back to the INIT
|
||||
* state.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue