← Back to team overview

desktop-packages team mailing list archive

[Bug 1367963] Re: NM tries to activate GPRS context of non-present SIM

 

[Expired for network-manager (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: network-manager (Ubuntu)
       Status: Incomplete => Expired

-- 
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/1367963

Title:
  NM tries to activate GPRS context of non-present SIM

Status in network-manager package in Ubuntu:
  Expired

Bug description:
  If a device has had more than one SIM installed, the filesystem will
  include ofono-specific directories for each of these SIMs.

  When NetworkManager walks through the list of possible GPRS contexts (
  aka APNs ), it currently doesn't apply any logic to filter non-present
  SIMs.

  Here's a filtered set of NetworkManager messages that shows activation
  attempts after boot, you'll notice that NM tries to activate two
  different "context1"s, one for each SIM that'd been detected and read
  by ofono.

  Sep 10 21:19:16 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context1'.
  Sep 10 21:19:21 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context1'.
  Sep 10 21:19:28 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context1'.
  Sep 10 21:19:33 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context1'.
  Sep 10 21:19:38 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context2'.
  Sep 10 21:19:43 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context2'.
  Sep 10 21:19:48 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context2'.
  Sep 10 21:19:53 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310410674422772/context2'.
  Sep 10 21:19:58 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310260006686790/context1'.
  Sep 10 21:20:03 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310260006686790/context1'.
  Sep 10 21:20:08 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310260006686790/context1'.
  Sep 10 21:20:13 ubuntu-phablet NetworkManager[1476]: <info> Auto-activating connection '/310260006686790/context1'.

  Here's the output from "nmcli c l":

  espy@shrike:% more nmcli-c-l.out 
  NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    
  /310260006686790/context1 eb36e8dd-f8dc-d7f4-6661-8346df5600ee   gsm               never                             
  /310410674422772/context2 4915a9cd-88fb-33d7-05c9-88b0f041a022   gsm               never                             
  /310410674422772/context1 77d2b549-57a9-a12a-c736-5e087c3e87f2   gsm               never            

  In a dual-SIM situation, this will mean that NM may try activate
  connections from both SIM on each modem.

  I'm marking this as "high", as there's a good chance that this could
  cause problems in the future that aren't easily corrected by a user.

  NM should only try and activate GPRS contexts for the SIM for which
  they've been provisioned.

  This was reproduced on mako running rtm image #26,

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