Public bug reported:

Due to the patch for bug 191889 in NetworkManager
(lp191889_always_offline_with_unmanaged_devices.patch), unmanaged
devices are treated as online.

But this is causing problems for me.  After a suspend/resume,
NetworkManager sees my deactivated device and treats it as online for a
brief moment before it becomes activated again during resume.  (I have
an attached log from such a suspend/resume.)

So the state sequence as exposed over DBus is something like ASLEEP ->
ONLINE (fake) -> DISCONNECTED -> CONNECTING.

But this causes problems for apps that are paying attention to state.
For example, Deja Dup watches for when the user is online to know when
it can start a backup.  And in this situation it says, "oh I'm online,
let me do something" and instantly fails.

Is this patch still needed?  Can it be smarter?  (And at the very least,
it should be updated to fake NM_STATE_CONNECTED_GLOBAL instead of
NM_STATE_CONNECTED.)

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  NM fakes a CONNECTED state during resume

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to