Merge lp:~phablet-team/network-manager/lp1435776 into lp:~phablet-team/network-manager/vivid-phone-overlay
Proposed by
Tony Espy
Status: | Merged |
---|---|
Approved by: | Alfonso Sanchez-Beato |
Approved revision: | no longer in the source branch. |
Merge reported by: | Tony Espy |
Merged at revision: | not available |
Proposed branch: | lp:~phablet-team/network-manager/lp1435776 |
Merge into: | lp:~phablet-team/network-manager/vivid-phone-overlay |
Diff against target: |
69 lines (+49/-0) 3 files modified
debian/changelog (+9/-0) debian/patches/lp1435776_rm_ofono_secret_settings.patch (+39/-0) debian/patches/series (+1/-0) |
To merge this branch: | bzr merge lp:~phablet-team/network-manager/lp1435776 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | Approve | ||
Review via email:
|
Commit message
* debian/
that added USERNAME and PASSWORD to NM_SETTING_GSM object. NM doesn't
actually need access to these settings, and they can cause issues with
NM's secrets needed logic.
Description of the change
This change affects the ofono settings plugin and the way that it configures system connections based on ofono gprs_contexts ( aka APNs ).
The change removes the addition of USERNAME and PASSWORD NM_SETTING_GSM settings to the connection, as they're not needed by network-manager, and can cause secret-related activation errors.
To post a comment you must log in.
I have tried the patch in arale vivid image #35, but the bug did not go away.
To reproduce the issue, I use a SIM that does not need user or password. I change the "gprs" file introducing a user, but without password. I check that the operator still activates the context using the activate-context script. Then I checked that current NM is not able to activate the context. Finally, using the patched NM I still see the issue. The only difference I have noted is that apparently NM is trying only once to activate the context. The trace I see are (the old NM produced similar ones, but twice):
May 11 13:08:31 ubuntu-phablet NetworkManager[ 1206]: <info> Auto-activating connection '/2140500304798 93/context1' . 1206]: <info> Activation (ril_0) starting connection '/2140500304798 93/context1' 1206]: <info> Activation (ril_0) Stage 1 of 5 (Device Prepare) scheduled... 1206]: <info> Activation (ril_0) Stage 1 of 5 (Device Prepare) started... 1206]: <info> (ril_0): device state change: disconnected -> prepare (reason 'none') [30 40 0] 1206]: <info> (ril_0): device state change: prepare -> failed (reason 'no-secrets') [40 120 7] 1206]: <warn> Activation (ril_0) failed for connection '/2140500304798 93/context1' 1206]: <info> Activation (ril_0) Stage 1 of 5 (Device Prepare) complete. 1206]: <info> (ril_0): device state change: failed -> disconnected (reason 'none') [120 30 0] 1206]: <info> (ril_0): deactivating device (reason 'none') [0]
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[
May 11 13:08:31 ubuntu-phablet NetworkManager[