[Pkg-hpijs-devel] Bug#572247: hplip: start/stop button should fail with permission error dialog if not member of lpadmin
Olivier Berger
oberger at ouvaton.org
Tue Mar 2 16:06:24 UTC 2010
Package: hplip
Version: 3.9.12-2
Severity: normal
Hi.
As far as I can understand, one needs to be a member of the lpadmin group so that the cups client library part of hp-toolbox can start/stop/resume printers managed by cups in the backend.
Now, if one executes hp-toolbox without being a member of lpadmin, the start/stop button will be useless, failing silently.
I already filed a bug upstream about the fact that it fails silently instead of having some GUI dialog for error message (https://bugs.launchpad.net/hplip/+bug/530746).
Now, I think that it should be documented somewhere that such lpadmin group membership is required (assuming that it's Debian-specific), and/or be mentioned in the error message instead of a very generic error.
Maybe hp-check could check for this too.
Thanks in advance.
Best regards,
-- Package-specific info:
HP Linux Imaging and Printing System (ver. 3.9.12)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied
tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux asustour 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux
Distribution:
debian testing
Checking Python version...
OK, version 2.5.5 installed
Checking PyQt 4.x version...
OK, version 4.6 installed.
Checking for CUPS...
Status: scheduler is running
Version: 1.4.2
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------
| RUNTIME DEPENDENCIES |
------------------------
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.9.12 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.12
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.12.29
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name =
working_dir = .
device_uri = "hp:/net/Photosmart_C4700_series?zc=HPB659AB"
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
version = 3.9.12.29
date_time = 03/02/10 17:01:23
[settings]
systray_messages = 0
systray_visible = 0
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Photosmart_C4780
----------------
Type: Printer
Device URI: hp:/net/Photosmart_C4700_series?zc=HPB659AB
PPD: /etc/cups/ppd/Photosmart_C4780.ppd
PPD Description: HP Photosmart c4700 Series, hpcups 3.9.12
Printer status: printer Photosmart_C4780 is idle. enabled since Tue Mar 2 16:46:15 2010
Communication status: Good
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_C4700_series?zc=HPB659AB' is a Hewlett-Packard Photosmart_C4700_series all-in-one
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
---------------
| USER GROUPS |
---------------
olivier dialout cdrom floppy sudo audio video plugdev
-----------
| SUMMARY |
-----------
No errors or warnings.
Done.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages hplip depends on:
ii adduser 3.112 add and remove users and groups
ii coreutils 7.4-2 The GNU core utilities
ii cups 1.4.2-4 Common UNIX Printing System(tm) -
ii cups-client 1.4.2-4 Common UNIX Printing System(tm) -
ii hplip-data 3.9.12-2 HP Linux Printing and Imaging - da
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcups2 1.4.2-4 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.20-2 simple interprocess messaging syst
ii libhpmud0 3.9.12-2 HP Multi-Point Transport Driver (h
ii libsane 1.0.20-14+b1 API library for scanners
ii libssl0.9.8 0.9.8k-8 SSL shared libraries
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii policykit-1 0.96-1 framework for managing administrat
ii python 2.5.4-9 An interactive high-level object-o
ii python-dbus 0.83.1-1 simple interprocess messaging syst
ii python-imaging 1.1.7-1+b1 Python Imaging Library
ii python-pexpect 2.3-1 Python module for automating inter
Versions of packages hplip recommends:
ii hplip-cups 3.9.12-2 HP Linux Printing and Imaging - CU
ii sane-utils 1.0.20-14+b1 API library for scanners -- utilit
Versions of packages hplip suggests:
ii hplip-doc 3.9.12-2 HP Linux Printing and Imaging - do
ii hplip-gui 3.9.12-2 HP Linux Printing and Imaging - GU
pn kdeprint | gtklp | xpp <none> (no description available)
pn openprinting-ppds <none> (no description available)
-- no debconf information
More information about the Pkg-hpijs-devel
mailing list