[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#372855: marked as done (cupsys: Sending BrowseRelay packets causes EINVAL in sendto())

Your message dated Thu, 24 Aug 2006 10:05:47 -0700
with message-id <E1GGIeJ-0001Uv-CU@spohr.debian.org>
and subject line Bug#372855: fixed in cupsys 1.2.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


(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

--- End Message ---
--- Begin Message ---
Source: cupsys
Source-Version: 1.2.2-2

We believe that the bug you reported is fixed in the latest version of
cupsys, which is due to be installed in the Debian FTP archive:

  to pool/main/c/cupsys/cupsys-bsd_1.2.2-2_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.2.2-2_i386.deb
  to pool/main/c/cupsys/cupsys-common_1.2.2-2_all.deb
  to pool/main/c/cupsys/cupsys-dbg_1.2.2-2_i386.deb
  to pool/main/c/cupsys/cupsys_1.2.2-2.diff.gz
  to pool/main/c/cupsys/cupsys_1.2.2-2.dsc
  to pool/main/c/cupsys/cupsys_1.2.2-2_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.2.2-2_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.2.2-2_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.2.2-2_i386.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.2.2-2_all.deb
  to pool/main/c/cupsys/libcupsys2_1.2.2-2_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 372855@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Kenshi Muto <kmuto@debian.org> (supplier of updated cupsys package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Thu, 27 Jul 2006 23:40:54 +0900
Source: cupsys
Binary: libcupsys2-dev cupsys libcupsys2 libcupsimage2 cupsys-common cupsys-client cupsys-dbg cupsys-bsd libcupsys2-gnutls10 libcupsimage2-dev
Architecture: source i386 all
Version: 1.2.2-2
Distribution: unstable
Urgency: high
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Changed-By: Kenshi Muto <kmuto@debian.org>
 cupsys     - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 cupsys-common - Common UNIX Printing System(tm) - common files
 cupsys-dbg - Common UNIX Printing System(tm) - debugging symbols
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - libs
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 372855 378062 380619 383087
 cupsys (1.2.2-2) unstable; urgency=high
   [ Kenshi Muto ]
   * Apply upstream svn change r5845.
     - BrowseRelay didn't work on Debian (closes: #372855)
     61_job_c_strangeloop.dpatch: I don't make sure but job.c of
     r5818 causes strange CPU busy when it gets printing jobs.
     This patch avoids it.
   * 12_quiesce_ipp_logging: some part are merged into the upstream
     source. updated.
   * libcupsys2 conflicts cupsys version 1.1.
     libcupsys2 version 1.2 changed its private API. This breaks
     old cupsys 1.1, but we believe cupsys is only one application
     is affected by this change. (closes: #380619)
   * Provide an new package, "cupsys-dbg" to help chasing the
     problems at user's environment.
   * Increment compat to 5.
   * 44_fixconfdirperms: set owner lp for /etc/cups directory.
     And modify lppasswd.man to mention about Debian
     specific changes. lppasswd command now work. (closes: #378062)
   * 62_classes_crash: when class hasn't any printers, cupsd will
     crash immedieately after receiving a job. This patch avoids
     a crash.
   * Update debconf translations:
     - Spanish (closes: #383087)
 24de4a4533a4161ab83278843c639ea6 1082 net optional cupsys_1.2.2-2.dsc
 b4363b05fa932aa441750d8444366fe7 119480 net optional cupsys_1.2.2-2.diff.gz
 a0951645feb2bea8232e52e5f9a28d3f 40974 libs optional libcupsys2-gnutls10_1.2.2-2_all.deb
 5e6a2d2aa20e76d7f1c5dcbf42548596 855756 net optional cupsys-common_1.2.2-2_all.deb
 8c884c46da965cbf0b31ba6fba6db268 153996 libs optional libcupsys2_1.2.2-2_i386.deb
 13143f4ed5080d65ba2f51046d393a7c 81562 libs optional libcupsimage2_1.2.2-2_i386.deb
 1c13fdf00b4a4ff2d332f36df7a52c03 1443546 net optional cupsys_1.2.2-2_i386.deb
 ec006203b7f5a97d16fedcdb01f3053d 79806 net optional cupsys-client_1.2.2-2_i386.deb
 bc0a6d524f0a46145a8e08b53dc1aaae 26062 libdevel optional libcupsys2-dev_1.2.2-2_i386.deb
 023f4039c21b4f7034406b20444e63bf 6080 libdevel optional libcupsimage2-dev_1.2.2-2_i386.deb
 60fb94a53ad47145f301c7227f2f658d 36266 net extra cupsys-bsd_1.2.2-2_i386.deb
 29997bfcfea3c49d5a511a31941076aa 987642 libdevel extra cupsys-dbg_1.2.2-2_i386.deb

Version: GnuPG v1.4.5 (GNU/Linux)


--- End Message ---

Reply to: