--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libcupsys2: Block on connect() when showing the list of printers in evince
- From: Alban Crequy <alban.crequy@collabora.co.uk>
- Date: Tue, 27 May 2008 18:19:27 +0100
- Message-id: <20080527171927.29701.42703.reportbug@alban-hp.cbg.collabora.co.uk>
Package: libcupsys2
Version: 1.3.7-5
Severity: important
I have two printers in my office:
- 10.0.0.153 Kyocera FS-1030D
- 10.0.0.2 Brother MFC7860n
I want to use the second one. The first one is not mine and drop all packets to
10.0.0.153:631 (I don't know why, but that should not be a problem since I
don't want to use this printer).
When evince try to list the list of printers, it blocks on the following call:
connect(19, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("10.0.0.153")}, 16
So I cannot print, even if the second printer is the default printer, because
programs using libcups hangs on connect() before showing the printer list.
I use this workaround:
iptables -A OUTPUT -d 10.0.0.153 -j REJECT
With this workaround, I can successfully select my printer and print.
My bug was reported upstream but according to mike, it is a problem in
the configuration. I didn't changed the Debian default configuration:
http://www.cups.org/str.php?L2835
My bug is similar to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235204
because both blocks on connect(). However, my CUPS server is on localhost (I
didn't changed the Debian default configuration).
Thanks
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libcupsys2 depends on:
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libcomerr2 1.40.8-2 common error description library
ii libgnutls26 2.2.5-1 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.3-2 MIT Kerberos runtime libraries
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
libcupsys2 recommends no packages.
-- no debconf information
--- End Message ---