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

Bug#217257: marked as done (gnome-cups-manager: Can't connect to CUPS server in mixed ipv4/ipv6 environment.)



Your message dated Thu, 06 Jul 2006 23:39:50 +0900
with message-id <20060706143950.DD77A1A785B@mail.topstudio.co.jp>
and subject line Can't connect to CUPS server in mixed ipv4/ipv6 environment.
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: gnome-cups-manager
Version: 0.17-2
Severity: important
Tags: patch

When running gnome-cups-manager it displays the following error and exits:

The CUPS server could not be contacted.

I have done some debugging and research, and apparently the bug is
caused by gethostbyname. I'm using a 2.6 kernel with both ipv4 and
ipv6 support, and this seems to cause the troubles.

The call to gnome_program_init in main sets the RES_USE_INET6 flag in
_res.options. After that all calls to gethostbyname returns an ipv6
address instead of ipv4. The function httpConnectEncrypt in libcups2
doesn't like ipv6 addresses and fails and then gnome_cups_check_daemon
in libgnomecups also fails.

One quick fix is to reset the RES_USE_INET6 flag after the call to
gnome_program_init:

   _res.options &= ~RES_USE_INET6;

Regards,
Mikael


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux skinner 2.6.0-test8-dmv1 #1 Mon Oct 20 01:12:05 CEST 2003 i686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8

Versions of packages gnome-cups-manager depends on:
ii  bonobo-activation        1:2.2.4-1       Bonobo Activation Framework
ii  libart-2.0-2             2.3.16-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.2.4-1         The ATK accessibility toolkit
ii  libaudiofile0            0.2.3-4         The Audiofile Library
ii  libbonobo-activation4    1:2.2.4-1       Bonobo Activation Framework -- run
ii  libbonobo2-0             2.2.3-1         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.2.4-2         The Bonobo UI library
ii  libc6                    2.3.2-8         GNU C Library: Shared libraries an
ii  libcupsys2               1.1.19final-1.4 Common UNIX Printing System(tm) - 
ii  libesd0                  0.2.29-1        Enlightened Sound Daemon - Shared 
ii  libgcc1                  1:3.3.2-0pre5   GCC support library
ii  libgconf2-4              2.2.1-4         GNOME configuration database syste
ii  libgcrypt1               1.1.12-4        LGPL Crypto library - runtime libr
ii  libglade2-0              2.0.1-5         Library to load .glade files at ru
ii  libglib2.0-0             2.2.3-1         The GLib library of C routines
ii  libgnome2-0              2.2.3-2         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.2.1-3         A powerful object-oriented display
ii  libgnomecups1.0-1        0.1.6-2         GNOME library for CUPS interaction
ii  libgnomecupsui1.0-1      0.17-2          UI extensions to libgnomecups
ii  libgnomeui-0             2.2.2-2         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.2.5-3         The GNOME virtual file-system libr
ii  libgnomevfs2-common      2.2.5-3         The GNOME virtual file-system libr
ii  libgnutls5               0.8.8-2         GNU TLS library - runtime library
ii  libgtk2.0-0              2.2.4-1         The GTK+ graphical user interface 
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  liblinc1                 2:1.0.3-4       library to simplify creating netwo
ii  liborbit2                1:2.6.3-2       Libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.2.5-1.1       Layout and rendering of internatio
ii  libpopt0                 1.7-2           lib for parsing cmdline parameters
ii  libstdc++5               1:3.3.2-0pre5   The GNU Standard C++ Library v3
ii  libtasn1-0               0.1.2-1         Manage ASN.1 structures (runtime)
ii  libxml2                  2.5.11-2        GNOME XML library
ii  xlibs                    4.2.1-12.1      X Window System client libraries
ii  zlib1g                   1:1.1.4-15      compression library - runtime

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.2.1-1
thanks

I think this bug is already fixed in uploaded 1.2 series.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

--- End Message ---

Reply to: