Wrong permissions on /var/spool/cups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
The permission on /var/spool/cups are wrong leading to errors such as this (from syslog):
/hpps: [5186]: error: Failed to create /var/spool/
$ ls -alh /var/spool/ | grep cups
drwx--x--- 3 root lp 4.0K Aug 29 16:43 cups
The permissions remain incorrect after running hp-doctor/hp-check several times.
$ hp-check
Saving output in log file: /home/nate/
HP Linux Imaging and Printing System (ver. 3.15.2)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 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: ubuntu-15.04 version is not supported. Using ubuntu-14.10 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
Host: neredium
Proc: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
Distribution: ubuntu 15.04
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.15.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 15.04 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.15.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
[plugin]
installed = 1
eula = 1
version = 3.15.2
Current contents of '~/.hplip/
[settings]
systray_visible = 1
systray_messages = 0
[last_used]
device_uri =
printer_name =
working_dir = /home/downloads
[commands]
scan = /usr/bin/
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[upgrade]
notify_upgrade = false
last_upgraded_time = 1440591398
pending_
[installation]
date_time = 08/30/15 15:16:06
version = 3.15.2
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.15 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.0.2 OK 'CUPS Scheduler is running'
dbus DBus - Message bus system REQUIRED - 1.8.12 OK -
network network -wget OPTIONAL - 1.16.1 OK -
-------
| General Dependencies |
-------
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.9 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.2 OK -
error: python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.1.44 MISSING 'python3-reportlab needs to be installed'
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.24 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.1 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.24 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.21' OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.0.2 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.0.2 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 2.7.9 OK -
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.3 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.3 OK -
---------------
| COMPILEDEP |
---------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.9.2 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.0 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.15.2 OK -
hpmudext IO-Extension REQUIRED - 3.15.2 OK -
-------
| Scan Configuration |
-------
scanext Scan-SANE-Extension REQUIRED - 3.15.2 OK -
'/etc/sane.
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.2 OK 'hpaio found in /etc/sane.
-------
| Other Dependencies |
-------
-------
| DISCOVERED SCANNER DEVICES |
-------
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_LaserJet_
-------
Type: Printer
Device URI: hp:/net/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_LaserJet_
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
error: 'libtool' package is missing/
Missing Optional Dependencies
-------
None
Total Errors: 2
Total Warnings: 0
Run 'hp-doctor' command to prompt and fix the issues.
Done.
Hi Nathan,
Can you install the latest hplip-3.15.7 package ? hplipopensource .com/hplip- web/gethplip. html and install the package by running command 'sh hplip-3.15.7.run' in terminal.
You can download hplip-3.15.7.run file from http://
Delete the existing print queue for this printer using command 'hp-setup -r' and re-configure the new queue using command 'hp-setup'.
Let us know if the issue is still same..
Thanks,
Goutam