[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc-android-config in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: Fix Released Status in lxc-android-config package in Ubuntu: Fix Released Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
This bug was fixed in the package lxc-android-config - 0.230+16.10.20160728-0ubuntu1 --- lxc-android-config (0.230+16.10.20160728-0ubuntu1) yakkety; urgency=medium * Update NM routing dispatcher script to fix emulator networking ( LP: #1587808). (LP: #1587808) -- Tony EspyThu, 28 Jul 2016 19:44:02 + ** Changed in: lxc-android-config (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc-android-config in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: Fix Committed Status in lxc-android-config package in Ubuntu: Fix Released Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc-android-config in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: Fix Committed Status in lxc-android-config package in Ubuntu: In Progress Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Branch linked: lp:~awe/lxc-android-config/fix-emulator-networking- xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc-android-config in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: In Progress Status in lxc-android-config package in Ubuntu: In Progress Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Branch linked: lp:~awe/lxc-android-config/fix-emulator-networking -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc-android-config in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: In Progress Status in lxc-android-config package in Ubuntu: In Progress Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
The attached script prevents the route flush from occurring when the hostname is set. This script is owned by lxc-android-config, so I'll add a new task to the bug. Note, we may even want to make additional changes to that this script doesn't flush then routing table on VPN events. I made an attempt to do this ( ie. added an additional check for the prefix "vpn-" when checking $status ), but was having trouble getting it working. The attached change just prevents it from running when the hostname is set, which is what's causing the emulator regression. ** Attachment added: "02default_route_workaround" https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1587808/+attachment/4708304/+files/02default_route_workaround ** Also affects: lxc-android-config (Ubuntu) Importance: Undecided Status: New ** Changed in: lxc-android-config (Ubuntu) Status: New => In Progress ** Changed in: network-manager (Ubuntu) Status: In Progress => Invalid ** Changed in: lxc-android-config (Ubuntu) Assignee: (unassigned) => Tony Espy (awe) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: In Progress Status in lxc-android-config package in Ubuntu: In Progress Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
So... a long time ago, when Ubuntu Touch was first being developed, we hit a bug with certain rild implementations that would configure the routing table when a data call was established, and this caused problems with NM's routing logic. The workaround was the creation of a NM dispatcher script called 02default_route_workaround, which runs the following command when triggered: ip route flush proto boot This clears any pre-existing routes, and let's NM be the master of the routing table. As you can imagine, this doesn't play well with externally managed devices which may have created default routes. I confirmed that this script was the culprit by adding a logger statement to log when the script gets called to syslog. By dumping the script args ( $1 == interface, $2 == status ), I determined that the script was being called with 'interface=none' and 'status=hostname'. I compared NM 0.9.10x to the 1.2.2, and turns out there's a difference in how the hostname is set. In 0.9.10x, setting the hostname is handled by one of the settings plugins. On an Ubuntu system this is either ifupdown or the keyfile settings plugins, neither of which trigger the dispatcher scripts. In NM 1.2.2, setting the hostname is no longer handled by the settings plugins, and is now instead handled by the core NMPolicy class. The static function settings_set_hostname_cb additionally triggers a call to nm_dispatcher_call with action=hostname. This fix is to modify 02default_route_workaround to prevent the route flush from occurring if 'status=hostname'. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: In Progress Status in lxc-android-config package in Ubuntu: In Progress Status in network-manager package in Ubuntu: Invalid Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: In Progress Status in network-manager package in Ubuntu: In Progress Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1587808] Re: Ubuntu-emulator no network on latest image
** Also affects: network-manager (Ubuntu) Importance: Undecided Status: New ** Changed in: network-manager (Ubuntu) Assignee: (unassigned) => Tony Espy (awe) ** Changed in: phablet-tools (Ubuntu) Status: Confirmed => Invalid ** Changed in: network-manager (Ubuntu) Status: New => In Progress ** Changed in: network-manager (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1587808 Title: Ubuntu-emulator no network on latest image Status in Canonical System Image: Confirmed Status in network-manager package in Ubuntu: In Progress Status in phablet-tools package in Ubuntu: Invalid Bug description: STEPS: 1. run sudo ubuntu-emulator create --channel ubuntu-touch/rc/ubuntu rc-test 2. run ubuntu-emulator-run rc-test EXPECTED: Expected I expect there to be a mock sim installed and a network connection ACTUAL: You get the message from the wizard saying there is no sim installed and from the running setup you can not connect to the network. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1587808/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp