NetworkManager/clients
Lubomir Rintel 57b347e69b cli/connections: avoid using synchronous get_secrets()
With --ask it might call back to nmcli's agent, causing a deadlock
while the client is waiting for the response. Let's give the client
a chance to service the agent requests while waiting:

  $ nmcli --ask --show-secrets c show 'Oracle HQ'
  <hang>

This is probably still rather suboptimal and inefficient, since we
still serialize the calls and block on response. However, if we submit
multiple calls to GetSecrets, the daemon would start authorizing the
first one and fail the other ones immediately before the authorization
succeeds.

This could perhaps be addressed in the daemon, but let's settle for a
fix that's compatible with the current daemon for now.

(cherry picked from commit 9bf0b32cd1)
2018-02-13 15:14:35 +01:00
..
cli cli/connections: avoid using synchronous get_secrets() 2018-02-13 15:14:35 +01:00
common nmcli: team: do strict checking on runner-tx-hashes 2018-02-12 12:16:10 +01:00
tui tui: fix creation of open Wi-Fi connections 2017-11-30 23:43:30 +01:00
nm-online.c nm-online: fix wrong assertion failure during nm-online 2017-02-07 19:42:30 +01:00