[Bug 982032] [NEW] package-data-downloader user.d hook relies on gksudo, not present on Kubuntu

Steve Langasek steve.langasek at canonical.com
Sun Apr 15 02:16:30 UTC 2012


Public bug reported:

The package-data-downloader update-notifier hook has an action that
requires root privileges.  In the interest in expedience, this button
uses gksudo in precise; but gksudo is not included in Kubuntu.

This needs to be fixed to either use policykit + a dbus service (which
may be too heavyweight for this despite being the preferred security
model?), or to use use something like ubiquity's "get root any way I
can" wrapper.

Neither of these fixes is going to make it for precise .0, however.
This is inconvenient, but the dialog is only presented in case of a
download failure anyway.

** Affects: update-notifier (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: update-notifier (Ubuntu)
       Status: New => Triaged

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  package-data-downloader user.d hook relies on gksudo, not present on
  Kubuntu

Status in “update-notifier” package in Ubuntu:
  Triaged

Bug description:
  The package-data-downloader update-notifier hook has an action that
  requires root privileges.  In the interest in expedience, this button
  uses gksudo in precise; but gksudo is not included in Kubuntu.

  This needs to be fixed to either use policykit + a dbus service (which
  may be too heavyweight for this despite being the preferred security
  model?), or to use use something like ubiquity's "get root any way I
  can" wrapper.

  Neither of these fixes is going to make it for precise .0, however.
  This is inconvenient, but the dialog is only presented in case of a
  download failure anyway.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/982032/+subscriptions




More information about the foundations-bugs mailing list