[Pkg-hpijs-devel] Bug#540313: errors if dbus is not installed

martin f krafft madduck at debian.org
Fri Aug 7 06:27:36 UTC 2009


Package: hplip
Version: 2.8.6.b-4
Severity: normal

I have started to see these log messages on my headless print
server:

  vizier HP_LaserJet_3052?ip=192.168.14.65: prnt/backend/hp.c 528: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)!
  vizier HP_LaserJet_3052?ip=192.168.14.65: prnt/backend/hp.c 511: dbus message send failed!
  vizier HP_LaserJet_3052?ip=192.168.14.65: prnt/backend/hp.c 511: dbus message send failed!

I don't have dbus installed because I don't need it. Nor does hplip
need it, as far as I can tell, this is only a feature to integrate
better with the desktop.

I think it would be good to degrade these messages and refrain from
the use of words like error and failure to not trip logcheck and
similar tools.

After all, there was no error and the page printed fine.

Maybe hplip could test if dbus is installed and only then report
errors on failure, but otherwise just stay silent about anything
dbus-related, if the local system clearly does not support dbus and
as long as dbus is not essential for printing and core operation?

(please don't ever make dbus essential for printing)

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

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20090807/da3be6e1/attachment.pgp>


More information about the Pkg-hpijs-devel mailing list