mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 02:10:09 +01:00
The nm_supplicant_config_add_*() functions used to log failures themselves. As also the caller was logging the failure this resulted in duplicate logging lines like: <warn> MAC address randomization is not supported <error> [1447867727.909185] [nm-device-wifi.c:2238] build_supplicant_config(): (wlp3s0): Couldn't add 802-11-wireless setting to supplicant config. <error> [1447867727.909261] [nm-device-wifi.c:2472] act_stage2_config(): (wlp3s0): Activation: (wifi) couldn't build wireless configuration. Instead, propagate the error reason back to the caller where there is more context to log one single concise message. Now you'd see only: <error> [1447935996.859371] [nm-device-wifi.c:2475] act_stage2_config(): (wlp3s0): Activation: (wifi) couldn't build wireless configuration: 802-11-wireless: cannot enable mac-randomization due to missing supplicant support |
||
|---|---|---|
| .. | ||
| tests | ||
| nm-supplicant-config.c | ||
| nm-supplicant-config.h | ||
| nm-supplicant-interface.c | ||
| nm-supplicant-interface.h | ||
| nm-supplicant-manager.c | ||
| nm-supplicant-manager.h | ||
| nm-supplicant-settings-verify.c | ||
| nm-supplicant-settings-verify.h | ||
| nm-supplicant-types.h | ||