PrinterDriversInstaller service: AccessDenied error

Bug #530218 reported by jimav
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Low
Till Kamppeter
Lucid
Fix Released
Low
Till Kamppeter

Bug Description

Binary package hint: system-config-printer

$HOME/.xsession-errors contains this error immediately after reboot & log-in:

system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.57" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file

No printers are configured (at least not manually...)
Running Alpha 3 + updates in VirtualBox vm with guest additions installed.

ProblemType: Bug
Architecture: amd64
Date: Mon Mar 1 10:25:16 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: innotek GmbH VirtualBox
Package: system-config-printer-gnome 1.1.17+20100217-0ubuntu2
PackageArchitecture: all
Papersize: letter
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-14-generic root=UUID=8cc9f952-31b2-440f-b822-f21ca3f2e5a3 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: system-config-printer
Uname: Linux 2.6.32-14-generic x86_64
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
jimav (james-avera) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirming the issue there on current lucid, Till you could you have a look to the issue?

Changed in system-config-printer (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The error message is harmless and caused by the PrinterDriverInstaller D-Bus service not being installed on our distro. The applet simply goes on running and printers get set up automatically.

If you do not get a queue set up automatically or if you are also not able to set up a queue manually, this is a different, independent problem. Please tell which printer you have in such a case.

Changed in system-config-printer (Ubuntu Lucid):
status: Confirmed → Incomplete
Revision history for this message
jimav (james-avera) wrote :

Cant the code check for the presence of optional capabilities and silently not try to use missing features?

The error message could be construed to mean that there is something wrong with security policy configuration, which would lead possibly many people to investigate further, wasting collectively a lot of time and effort for no purpose.

I hope you can fix the code to not log this error if it is not really an error.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.1.17+20100217-0ubuntu6

---------------
system-config-printer (1.1.17+20100217-0ubuntu6) lucid; urgency=low

  * debian/patches/55_silence_printerdriversinstaller_errors.patch:
    Silence error messages concerning the PrinterDriversInstaller which is
    not part of Ubuntu (LP: #530218).
 -- Till Kamppeter <email address hidden> Thu, 25 Mar 2010 19:12:50 +0100

Changed in system-config-printer (Ubuntu Lucid):
status: Incomplete → 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.