Part of the problem is not going to be fixed now: some of it is in
network-manager-applet, which should somehow watch for pending
activations and properly close the auth dialog, maybe, if it's possible.
This is what is going to fix the *no* auth dialogs from NetworkManager
on the screen.

NetworkManager itself appears to be resetting the number of retries for
*all* "failed" connections regardless of what the cause for failure was,
even if that failure was caused by missing secrets (what seems to be
causing the prompt for entering the password again).

Now, this particular issue can come from buggy drivers which would pass
the secret wrong or otherwise fail to connect to an access-point with an
unusual or plain incorrect return code. We can't really account for
these without special casing each driver. However, I was able to
reproduce the issue and write a patch that seems to properly fix the
authentication cases where the password in "incorrect" in NM or
otherwise refused by the AP. When a connection fails because of missing
secrets (e.g the user was prompted but never answered), the connection
is properly marked as failed; then, after 5 minutes the connections that
are failed because of "missing secrets" don't have their retries set
back to 0 like the other failed connections, but rather will wait until
an agent registers, at they should.

There is a test package being built at https://launchpad.net/~mathieu-
tl/+archive/ppa/+sourcepub/3776171/+listing-archive-extra (my PPA).
Please give it a shot and let me know if this fixes the issue
acceptably.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224040

Title:
  13.10: Multiple network manager authentication dialogs for saved
  network

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1224040/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to