jockey-kde tries to install driver as user

Bug #872442 reported by Matthew Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

After installing "kubuntu-desktop" having installed the GNOME-based Ubuntu Oneiric, I found the Jockey restricted driver installer by searching in the K menu. It showed me the choice of ATI restricted drivers, but when I clicked "Activate", it told me I did not have the privileges necessary to perform the action, i.e. it had not invoked sudo (or its equivalent) and was trying to install the driver as me, rather than as root.

Revision history for this message
Martin Pitt (pitti) wrote :

It's not supposed to use sudo, but uses policykit. This works fine under a standard Ubuntu and a standard Kubuntu install. This is not an upstream jockey bug, so retargetting.

When do you "pkexec whoami", do you get a dialog for your password? Please give me the output of

  dpkg -l '*pol*kit*' | grep ^ii

affects: jockey → polkit-kde-1 (Ubuntu)
Changed in polkit-kde-1 (Ubuntu):
status: New → Incomplete
Revision history for this message
Matthew Smith (indigojo) wrote :

(1) Output of pkexec:

indigojo@ubuntu-desktop:~$ pkexec whoami
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/whoami' as the super user
Authenticating as: Yusuf Smith,,, (indigojo)
Password:
==== AUTHENTICATION COMPLETE ===
root
indigojo@ubuntu-desktop:~$

(2) Output of dpkg:

indigojo@ubuntu-desktop:~$ dpkg -l '*pol*kit*' | grep ^ii
ii gir1.2-polkit-1.0 0.102-1 GObject introspection data for PolicyKit
ii libpolkit-agent-1-0 0.102-1 PolicyKit Authentication Agent API
ii libpolkit-backend-1-0 0.102-1 PolicyKit backend API
ii libpolkit-gobject-1-0 0.102-1 PolicyKit Authorization API
ii libpolkit-qt-1-1 0.99.0-3 PolicyKit-qt-1 library
ii policykit-1 0.102-1 framework for managing administrative policies and privileges
ii policykit-1-gnome 0.102-1ubuntu1 GNOME authentication agent for PolicyKit-1
ii policykit-desktop-privileges 0.7 run common desktop actions without password

I have also just found that KPackageKit tries to do system updates without prompting me for a password, and fails.

Revision history for this message
Martin Pitt (pitti) wrote :

Does it help to install polkit-kde-1?

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

It could be bug 867737. While either the gnome or kde polkit frontend will work, the gnome frontend listener process won't start in KDE by default.

Revision history for this message
Matthew Smith (indigojo) wrote :

Have installed the package polkit-kde-1 and will await the results of the next system update.

Revision history for this message
Matthew Smith (indigojo) wrote :

OK, there was an update this morning and it behaved as expected, i.e. prompted me for a password then installed the updates correctly.

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, thanks. I'll add a polkit-kde-1 dependency to jockey-kde.

affects: polkit-kde-1 (Ubuntu) → jockey (Ubuntu)
Changed in jockey (Ubuntu):
importance: Undecided → Low
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.9.5-0ubuntu1

---------------
jockey (0.9.5-0ubuntu1) precise; urgency=low

  * New upstream release:
    - When connecting to D-BUS fails, improve error message to let users know
      what to do. Thanks Martin Owens.
    - jockey/oslib.py: Work with current PackageKit version. Thanks to Hedayat
      Vatankhah. (Not relevant for Ubuntu branch)
    - More user-friendly authentication messages on driver operations. Thanks
      Robert Roth. (LP: #799725)
    - Only ask for confirmation in check_composite if --confirm has been set.
      Thanks to Evan Dandrea. (LP: #855042)
    - examples/fake.modaliases: add -updates examples
    - Fix no space typo in VMWare drivers. Thanks Robert Roth. (LP: #722936)
    - detection.py: Fix crash if Driver ID does not have a package field.
      (LP: #837495)
  * debian/control: Add polkit-kde-1 dependency. (LP: #872442)
 -- Martin Pitt <email address hidden> Wed, 26 Oct 2011 08:40:31 +0200

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

Other bug subscribers