Merge lp://staging/~awe/lxc-android-config/fix-emulator-networking into lp://staging/lxc-android-config/15.04
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Pat McGowan | ||||
Approved revision: | 21 | ||||
Merged at revision: | 22 | ||||
Proposed branch: | lp://staging/~awe/lxc-android-config/fix-emulator-networking | ||||
Merge into: | lp://staging/lxc-android-config/15.04 | ||||
Diff against target: |
24 lines (+17/-1) 1 file modified
etc/NetworkManager/dispatcher.d/02default_route_workaround (+17/-1) |
||||
To merge this branch: | bzr merge lp://staging/~awe/lxc-android-config/fix-emulator-networking | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pat McGowan (community) | Approve | ||
Review via email:
|
Commit message
Update NM routing dispatcher script to fix emulator networking ( LP: #1587808).
Description of the change
This change updates a network-manager dispatcher script which is used to wipe routes which are sometimes created by non-compliant rild implementations.
The latest version of NM we released (1.2.2) includes a new event which triggers the dispatcher scripts when NM sets the hostname of the device. This was causing the script, which didn't check either parametres ( interface & status ), to wipe out the default route for the ethernet device which is configured in /etc/network/
See the following bug for details:
To test, build an emulator with this package, and verify that a default route exists for eth0, and that the browser is able to access the network.
reviewed and tested works for me