← Back to team overview

desktop-packages team mailing list archive

[Bug 805140] Re: NM fakes a CONNECTED state during resume

 

I cannot reproduce this anymore. I have no issues when resuming from
standby.

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

Title:
  NM fakes a CONNECTED state during resume

Status in “network-manager” package in Ubuntu:
  Triaged

Bug description:
  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.)

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