phablet-network requires NetworkManager, sudo, and wifi

Bug #1427559 reported by Selene ToyKeeper on 2015-03-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
Undecided
Unassigned

Bug Description

The phablet-network tool currently requires NetworkManager and wifi on the host in order to work, but not all phablet developers use NM. This causes the tool to fail when the host uses ethernet, or when the host uses some other network management system, or when the host uses a different wireless network than the device (5Ghz vs 2.4Ghz, for example). It also fails if the user doesn't have sudo access, or if they have sudo but phablet-network is wrapped in a script with no terminal input.

In short, it tends to fail in several cases because it assumes a lot about the network configuration. But we don't need to assume, we can simply configure and make sure it will always be correct. And perhaps fall back on the old NM automatic method when no configuration is available.

Related branches

Selene ToyKeeper (toykeeper) wrote :

I linked a patch to fix this issue. It also fixes the issue in other tools which rely on phablet-network, such as the automated sanity testing suite, which would otherwise need their own patches or workarounds.

Changed in phablet-tools (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phablet-tools - 1.2+16.10.20160504-0ubuntu1

---------------
phablet-tools (1.2+16.10.20160504-0ubuntu1) yakkety; urgency=medium

  * This fixes Bug #1427559 (phablet-network requires NetworkManager).
    (LP: #1427559)

 -- Selene Scriven <email address hidden> Wed, 04 May 2016 01:06:14 +0000

Changed in phablet-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers