Jockey backend does not permit non-local consoles

Bug #269175 reported by Till Kamppeter
4
Affects Status Importance Assigned to Milestone
Jockey
Fix Released
Low
Unassigned
jockey (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: policykit

I am on Intrepid and log in on another Intrepid box with "ssh -X <IP>". In the ssh session I run the commands

sudo dpkg -P --force-depends splix
dbus-send --print-reply --dest=com.ubuntu.DeviceDriver /GUI com.ubuntu.DeviceDriver.search_driver string:"printer_deviceid:MFG:Samsung;MDL:ML-1610;DES:;CMD:GDI;"

to test Jockey. The window to download the driver pops up, which means that the X forwarding works. Problem is that I do not get asked for my password to install the downloaded driver but I get an "Authentication failed" message pop-up. The only way to actually install the driver is to work on the local desktop of the machine.

pitti told me on the IRC that this is caused by the SSH session not being a ConsoleKit session and this is caused by a problem in the configuration of PolicyKit. Therefore I report this as a bug in PolicyKit.

"ck-list-sessions" shows my SSH session.

Changed in policykit:
assignee: nobody → pitti
importance: Undecided → Medium
milestone: none → ubuntu-8.10-beta
description: updated
Revision history for this message
James Westby (james-w) wrote : Re: [Bug 269175] [NEW] SSHing from one Intrepid box to another: No ConsoleKit session

On Thu, 2008-09-11 at 22:08 +0000, Till Kamppeter wrote:
> "ck-list-sessions" shows my SSH session.

Hi Till,

Could you provide the output of this command please?

Thanks,

James

Revision history for this message
Martin Pitt (pitti) wrote : Re: SSHing from one Intrepid box to another: No ConsoleKit session

No, I meant that the .policy file for Jockey probably doesn't allow non-local consoles.

Changed in policykit:
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Not a highly important feature, dropping Ubuntu milestone.

Changed in jockey:
milestone: ubuntu-8.10-beta → none
Revision history for this message
Martin Pitt (pitti) wrote :

Scheduling for upstream 0.5, but not a blocker.

Changed in jockey:
importance: Undecided → Low
milestone: none → 0.5
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk.

Changed in jockey:
status: Confirmed → Fix Committed
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.5~alpha1-0ubuntu2

---------------
jockey (0.5~alpha1-0ubuntu2) intrepid; urgency=low

  * debian/control: Replace python-qt4 dependency with python-kde4, since
    that's required now. (LP: #263017)
  * oslib.py, {install,remove}_package(): Intercept apt's LockFailedException
    and FetchFailedException. (LP: #268850)
  * oslib.py: Fix typo causing crash in remove_repository(), add test cases.
    (LP: #269435)
  * Merge some bug fixes from trunk:
    - Update KDE UI according to recent GTK ui changes. (LP #268163)
    - ui.py, set_handler_enable(): Fix reversed logic in determining
      enable/disable strings. (LP: #269444)
    - fglrx.py: Fix crash if Device section does not configure a driver
      (LP: #269565)
    - Test suite: check handler behaviour with invalid xorg.conf, fix a few
      crashes uncovered by that. (LP: #258064)
    - detection.py: Fix crashes if cupsd is not running. (LP: #256780, #255488)
    - jockey-gtk: Call gtk.init_check() to test $DISPLAY, and print error
      message instead of crashing. (LP: #234252)
    - oslib.py, _save_module_blacklist(): Create modules.d directory if it
      does not exist. (LP: #229065)
    - jockey-gtk: Add license text dialog and link it to the license button
      (LP: #269352)
    - com.ubuntu.devicedriver.policy.in: Allow non-local driver install
      (auth_admin). (LP: #269175)
    - Move hardware detection from Backend ctor to separate function, and call
      that with long D-BUS timeout and progress dialog. (LP: #253224)
    - Various fixes in test suite.

 -- Martin Pitt <email address hidden> Tue, 16 Sep 2008 08:10:35 -0700

Changed in jockey:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in upstream release 0.5beta1.

Changed in jockey:
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.