NetworkManager/clients
Lubomir Rintel 9bf0b32cd1 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.
2018-02-13 15:03:49 +01:00
..
cli cli/connections: avoid using synchronous get_secrets() 2018-02-13 15:03:49 +01:00
common nmcli: team: do strict checking on runner-tx-hashes 2018-02-12 11:20:12 +01:00
tui all: fix -Wcast-function-type warnings 2018-02-08 17:11:46 +01:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-online.c all: require glib 2.40 2018-01-18 11:45:36 +01:00