← Back to team overview

desktop-packages team mailing list archive

[Bug 1426923] Re: Allow ubuntu-system-settings to set a device's firmware through wpa_supplicant

 

I'm currently only succeeding with the following policy:

        <policy user="jonas">
                <allow send_destination="fi.w1.wpa_supplicant1"/>
                <allow receive_sender="fi.w1.wpa_supplicant1"/>
        </policy>

Being more specific, e.g. adding interface and send_member, gives me
errors that I should not get: Error:
GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Error return with
empty body:

Do we have to blanket OK phablet's access to fi.w1.wpa_supplicant1?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wpasupplicant in Ubuntu.
https://bugs.launchpad.net/bugs/1426923

Title:
  Allow ubuntu-system-settings to set a device's firmware through
  wpa_supplicant

Status in wpasupplicant package in Ubuntu:
  New

Bug description:
  Background:
  AP hotspots are currently provisioned like this [1]. I don't precisely know why we need to poke the driver, but AP hotspots on krillin fails without it.

  Rationale:
  Ubuntu System Settings needs to do the same things as aforementioned script, but via dbus [2] as phablet/current non-privileged user.

  What happens:
  If phablet runs [2], this error message [3] is produced, which I interpret to be equivalent with "you're not welcome here".

  What should happen instead:
  Ubuntu System Settings should be allowed to make the call

  [1] http://bazaar.launchpad.net/~mathieu-tl/+junk/touch-hotspot/view/head:/hotspot.py
  [2] gdbus call --system -d fi.w1.wpa_supplicant1 -o /fi/w1/wpa_supplicant1 -m fi.w1.wpa_supplicant1.SetInterfaceFirmware / ap
  [3] http://pastebin.ubuntu.com/10489519/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/1426923/+subscriptions