← 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"/>

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.

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

Status in wpasupplicant package in Ubuntu:

Bug description:
  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.

  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: