[Pkg-cups-devel] Bug#635096: cups-bsd: printers are no longer visible

Vincent Lefevre vincent at vinc17.net
Tue Aug 23 15:03:13 UTC 2011


retitle 635096 libcups2: printers are no longer visible with lp/lpq/lpr (TLS error in the logs of the remote server)
thanks

On 2011-07-22 17:44:56 +0200, Vincent Lefevre wrote:
> After upgrading my machine (cups* packages were upgraded from
> 1.4.6-11+b1 to 1.4.7-1), I get the following error:
> 
> ypig:~> lpq -Plip-multi-3
> lpq: Unknown destination "lip-multi-3"!
> 
> though the printer exists and is even visible by Iceweasel on
> the same machine.

and I can print from Iceweasel.

Here are the error logs on the CUPS server when doing a lpq with
the cups 1.5.0-5 Debian packages.

D [23/Aug/2011:16:25:39 +0200] cupsdAcceptClient: 10 from 140.77.13.48:631 (IPv4)
D [23/Aug/2011:16:25:39 +0200] cupsdReadClient: 10 POST / HTTP/1.1
D [23/Aug/2011:16:25:39 +0200] cupsdAuthorize: No authentication data provided.
D [23/Aug/2011:16:25:39 +0200] cupsdSendError: 10 code=426 (Upgrade Required)
D [23/Aug/2011:16:25:39 +0200] cupsdCloseClient: 10
D [23/Aug/2011:16:25:39 +0200] cupsdAcceptClient: 10 from 140.77.13.48:631 (IPv4)
D [23/Aug/2011:16:25:39 +0200] cupsdReadClient: 10 OPTIONS * HTTP/1.1
D [23/Aug/2011:16:25:39 +0200] cupsdAuthorize: No authentication data provided.
E [23/Aug/2011:16:25:39 +0200] encrypt_client: Unable to encrypt connection from 140.77.13.48!
E [23/Aug/2011:16:25:39 +0200] encrypt_client: A TLS packet with unexpected length was received.
D [23/Aug/2011:16:25:39 +0200] cupsdCloseClient: 10

I had opened a bug upstream:

  http://www.cups.org/str.php?L3920+P0+S-2+C0+I0+E0+M20+Q

but now I'm wondering whether this could be related to an
inconsistency between libcups and the SSL-related libraries
in the Debian packages.

According to lsof, firefox-bin also uses
/usr/lib/x86_64-linux-gnu/libcups.so.2 and there are no printing
problems with it. So, it may be something more complicated than
the library itself.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the Pkg-cups-devel mailing list