The whole privilege-checking section of the code looks like it was
copied from the 'jockey' app.  It starts at line 306, the comment "#
helper from jockey":

  http://bazaar.launchpad.net/~ubuntu-core-dev/software-
properties/main/view/head:/softwareproperties/dbus/SoftwarePropertiesDBus.py#L306

(AFAICT, that code predates the bazaar history, which shows the file
arriving in one piece, including the main part of this code.)

Later, I'll try to look at jockey and see if it now handles this better.
Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/828850

Title:
  software-properties-gtk crashed with DBusException in call_blocking():
  com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy:
  com.ubuntu.softwareproperties.applychanges

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/828850/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to