Bug#788374: system-config-printer-udev: systemd service fails with "failed to connect to CUPS"
Tomaž Šolc
tomaz.solc at tablix.org
Wed Jun 10 19:07:01 UTC 2015
Package: system-config-printer-udev
Version: 1.4.6-1
Severity: normal
Dear Maintainer,
systemd service "configure-printer" fails on boot with the following messages
in the journal:
jun 10 19:37:26 orion udev-configure-printer[733]: add usb-005-002
jun 10 19:37:26 orion udev-configure-printer[733]: device devpath is /devices/pci0000:00/0000:00:1d.1/u
jun 10 19:37:26 orion udev-configure-printer[733]: MFG:HEWLETT-PACKARD MDL:DESKJET 940C SERN:MY18S6D186
jun 10 19:37:27 orion udev-configure-printer[733]: failed to connect to CUPS server; giving up
This causes systemd to mark the host status as "degraded":
$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● configure-printer at usb-005-002.service loaded failed failed Configure Plugged-In Printer
It looks like configure-printer gets started before CUPS. At least according to
this systemd output, cups.service only started 3 seconds after the error
message above:
$ systemctl status cups
● cups.service - CUPS Printing Service
Loaded: loaded (/lib/systemd/system/cups.service; enabled)
Active: active (running) since sre 2015-06-10 19:37:30 CEST; 1h 24min ago
Otherwise as far as I can see, CUPS is configured and working correctly on my
machine.
Best regards
Tomaz
-- System Information:
Debian Release: 8.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages system-config-printer-udev depends on:
ii libc6 2.19-18
ii libcups2 1.7.5-11
ii libglib2.0-0 2.42.1-1
ii libudev1 215-17
ii libusb-1.0-0 2:1.0.19-1
ii python-cups 1.9.63-1
ii python-cupshelpers 1.4.6-1
ii python-dbus 1.2.0-2+b3
pn python:any <none>
system-config-printer-udev recommends no packages.
system-config-printer-udev suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list