Package: cupsys
Version: 1.2.1-2
Severity: normal
Relaying CUPS browse packet does not seem to work. Using
BrowseRelay ano2.mech.kth.se anobhs-bcast.mech.kth.se
cases the follwing error message
E [11/Jun/2006:07:14:19 +0200] cupsdUpdateCUPSBrowse: sendto failed for
relay 1
- Invalid argument.
each time a browse packet is received from ano2.mech.kth.se, and these
packets are not relayed. There seems to
be an upstream bug report about this: <http://www.cups.org/str.php?L1745>
but if I understand correctly, that bug report was closed without any
action, since the bug reporter's disk had just crashed, and he could thus
no longer reproduce the problem. The source code looks like
if (sendto(BrowseSocket, packet, bytes, 0,
(struct sockaddr *)&(Relays[i].to),
sizeof(http_addr_t)) <= 0)
at line 1460 in scheduler/dirsvc.c. If I change
sizeof(http_addr_t)
(which evaluates to 256) into
sizeof(struct sockaddr_in)
(which evaluates to 16)
the error message disappears and relaying functionality is restored.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages cupsys depends on:
ii adduser 3.87 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.1 Debian configuration
management sy
ii gs-esp 8.15.1.dfsg.1-2 The Ghostscript PostScript
interpr
ii libc6 2.3.6-13 GNU C Library: Shared libraries
ii libcupsimage2 1.2.1-2 Common UNIX Printing
System(tm) -
ii libcupsys2 1.2.1-2 Common UNIX Printing
System(tm) -
ii libdbus-1-2 0.61-6 simple interprocess
messaging syst
ii libgnutls13 1.3.5-1.1 the GNU TLS library -
runtime libr
ii libldap2 2.1.30-13 OpenLDAP libraries
ii libpam0g 0.79-3.1 Pluggable Authentication
Modules l
ii libpaper1 1.1.17 Library for handling paper
charact
ii libslp1 1.2.1-5 OpenSLP libraries
ii lsb-base 3.1-10 Linux Standard Base 3.1
init scrip
ii patch 2.5.9-4 Apply a diff file to an
original
ii perl-modules 5.8.8-4 Core Perl modules
ii procps 1:3.2.6-2.2 /proc file system utilities
ii xpdf-utils [poppler-util 3.01-8 Portable Document Format
(PDF) sui
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.2.1-2 Common UNIX Printing
System(tm) -
pn foomatic-filters <none> (no description available)
ii smbclient 3.0.22-1 a LanManager-like simple
client fo
-- debconf information:
cupsys/raw-print: true
cupsys/browse: true
cupsys/ports: 631
cupsys/backend: ipp, lpd, parallel, socket, usb
cupsys/portserror:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]