[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733948: marked as done (hplip-gui: HP Toolbox can't be used as regular user when root account disabled)



Your message dated Sun, 05 Jan 2014 15:22:09 +0000
with message-id <E1VzpWj-0002eX-Lj@franck.debian.org>
and subject line Bug#697331: fixed in user-setup 1.55
has caused the Debian Bug report #697331,
regarding hplip-gui: HP Toolbox can't be used as regular user when root account disabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
697331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697331
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hplip-gui
Version: 3.13.11-2
Severity: important

Dear Maintainer,

I installed the hplip-gui package on a fresh Debian Jessie install to make available the HP Toolbox for easy HP printers installation and management (in particular networked multi-function printing/scanning).

This installation has the root account disabled by specifying an empty password during the initial installation.

After launching hp-toolbox from command line (it can't be found from the Activites Overview, reported as Bug #733947), I proceed to networked printer detection which goes on as expected until reaching the Setup Device dialog and confirming the printer addition by clicking on the Add Printer button. At that point a dialog appears:

 You do not have permission to add a printer. You need authentication.

My standard credentials don't work as expected, an error dialog indicates:

 Could not connect to CUPS Server due to insufficient privileges.

 Try with a valid user.

I would expect HP Toolbox to be usable even when the root account is disabled, as the initial user in a vanilla install has admin privileges.

As a workaround, a networked printer can be installed using the standard printing configuration utility, but network scanning and other advanced features won't be configured.

This effectively makes it harder to properly configure such networked multifunction devices.

I believe the same bug has been reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1209246

-- Package-specific info:
Saving output in log file: /home/magicfab/hp-check.log

HP Linux Imaging and Printing System (ver. 3.13.11)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-13 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).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: debian-unstable version is not supported. Using debian-7.2 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) GNU/Linux
 Host: ARA-salon
 Proc: 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) GNU/Linux
 Distribution: debian unstable
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.13.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  unstable version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.13.11

[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
html=/usr/share/doc/hplip-3.13.11
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
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.13.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 01/02/14 09:51:01
version = 3.13.11


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.05            OK         -
 network              Network-wget              OPTIONAL        -               1.14            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.23          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 error: dbus          DBus                      REQUIRED        -               1.6.18          MISSING    'DBUS may not be installed or not running'
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'

-------------------------
|  General Dependencies |
-------------------------

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             2.7             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.10.3          OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.17            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.6           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.10.3          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.13.11         OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.13.11         OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.13.11         OK         -

-----------------------
|  Scan Configuration |
-----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.13.11         OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.13.11         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


lpstat
------
Type: Unknown
Device URI: No destinations added.


--------------
| PERMISSION |
--------------


-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'libjpeg8-dev' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 

Total Errors: 12
Total Warnings: 0

Run 'hp-doctor' command to prompt and fix the issues. 

Done.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip-gui depends on:
ii  dbus-x11         1.6.18-2
ii  gksu             2.0.2-6
ii  hplip            3.13.11-2
ii  python-qt4       4.10.3+dfsg1-1
ii  python-qt4-dbus  4.10.3+dfsg1-1

Versions of packages hplip-gui recommends:
ii  python-notify  0.1.1-3
ii  simple-scan    3.10.0-1

hplip-gui suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: user-setup
Source-Version: 1.55

We believe that the bug you reported is fixed in the latest version of
user-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 697331@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated user-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 05 Jan 2014 12:33:09 +0100
Source: user-setup
Binary: user-setup-udeb user-setup
Architecture: source all
Version: 1.55
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 user-setup - Set up initial user and password
 user-setup-udeb - Set up users and passwords (udeb)
Closes: 697331
Changes: 
 user-setup (1.55) unstable; urgency=low
 .
   * Add first created user to lpadmin group so that it can use local
     printers when installed. Closes: #697331
   * Update Standards to 3.9.5 (checked)
Checksums-Sha1: 
 4e789eba6f474eaa9f4cd87bd78c93271f885a70 1729 user-setup_1.55.dsc
 ed93197fabd3e7e216418ca1c79e9ba168243bb2 173798 user-setup_1.55.tar.gz
 855100a92c04ed6f5852ab9483f978c4f1523285 162626 user-setup-udeb_1.55_all.udeb
 d295eff4f57385089cc5e851a9b58a5eddff4734 172628 user-setup_1.55_all.deb
Checksums-Sha256: 
 e48ee70e2d42e67851b75f8ac22e0c39562a2af6064c80aa2c545cce112b97c8 1729 user-setup_1.55.dsc
 a283226a995c1348d73e64d2c9374f28971a8d9e31ffc2526ef47547a41a72b2 173798 user-setup_1.55.tar.gz
 cfd5928dc5f499076259f87108e7fe1b6c080830d3e7209437d21da4c0959cef 162626 user-setup-udeb_1.55_all.udeb
 12e7dd35f6ed070a2f3b209de89fde5fd7c70f21dc9d98d831ce1fd1bfdcee2f 172628 user-setup_1.55_all.deb
Files: 
 5c87e89c7540e2b2768503998f4cfc73 1729 debian-installer extra user-setup_1.55.dsc
 1f0bb5b6b970f3046b1524afb444291e 173798 debian-installer extra user-setup_1.55.tar.gz
 c0c22f1aa2810c4a411d9e362c1d8825 162626 debian-installer standard user-setup-udeb_1.55_all.udeb
 9eefcb4c7d59a98d7bdc749219586e5b 172628 admin extra user-setup_1.55_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUslpDocvcCxNbiWoAQJOCg/9EbXtCvvy6h5ii0EIiHQGLt64ZUgy2Zdb
Kx7yIUyGrTWCVbwwX02+phzUFKss0MqpEcDgawBZaiRZbc0WhuhEX4caS3CjtVdE
KR0wK51tjVsGalbfsPjnit1a92mu9vILXvEnXhhgoPeYCsz4c7XS/emDAXJ9gbX6
ZmWA505yp/sYYGRsf7tvItbj/6w6omcwrXCf0GIxDh6Z9qaNNAVAm65ZPqxy5jhs
gJgMNJXThLb1EWMs+NXhQaW5NNI9uKmbqqWkhUxoeWX+qKBo/YFTN8Lk4xq8JAwr
1nl8ONhkBCpIFqrEHViPS624xo4apZYkctMs05P1h18dbB3E9kV9sZXhlHuy073h
TbzJxkFZp4kT42kfFoNQtUajfU6iSO4mpVX5FP0Hbf1qa3SXVPcPx8TVNsJ3N8Bu
ALIXZhYY/8pdqzoITgDuO6Vim5yxTYq2eH3f+S8va8LtlB5LtaVJNC3umHzspOrG
hPCOUkKM24T/Q0vxp3Hoxy/EejjQf3vPY2fuFzlExbEE6Mw21FKkRDfWTBEhKn32
ASzzpAaPbsRnvEuIE3G/ZhlkJo67cIoqm4aSMTSnQTziCl4CXl9tGyZGyatX12cQ
62dkz+YBTHdP3eRKTwFfr97snLek0O73cRwhvbQlTO9zPFPNY7/Ilar1Ra4i/m1u
RhWWdjH60/M=
=ZZ7n
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: