Debian Bug report logs - #430917
ia32-sun-java6-bin should depends on 32-bit libnss-mdns

version graph

Package: ia32-sun-java6-bin; Maintainer for ia32-sun-java6-bin is (unknown);

Reported by: Ramon Garcia Fernandez <rgarcia@kotasoft.com>

Date: Wed, 7 Feb 2007 12:33:02 UTC

Severity: important

Fixed in version sun-java6/6-06-1

Done: Matthias Klose <doko@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, rgarcia@kotasoft.com, unknown-package@qa.debian.org:
Bug#410052; Package libc6-ie86. (full text, mbox, link).


Acknowledgement sent to Ramon Garcia Fernandez <rgarcia@kotasoft.com>:
New Bug report received and forwarded. Copy sent to rgarcia@kotasoft.com, unknown-package@qa.debian.org. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ramon Garcia Fernandez <rgarcia@kotasoft.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Java programs fail in name resolution.
Date: Wed, 07 Feb 2007 12:48:00 +0100
Package: libc6-ie86
Version: libc6-i386
Severity: important



When using a java 32 bit virtual machine, the java programs fail to resolve names.

Here is a simple java test program 

----------------------------------------------
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.UnknownHostException;


public class TestConnect {

        /**
         * @param args
         */
        public static void main(String[] args) {
                try {
                        Socket s = new Socket();
                        SocketAddress addr = new InetSocketAddress("slashdot.org", 80);
                        s.connect(addr);
                } catch (UnknownHostException e) {
                        e.printStackTrace();
                } catch (IOException e) {
                        e.printStackTrace();
                }
        }
}
-------------------------------------------



Running the program with a 32 bit java virtual machine fails with:

java.net.UnknownHostException: slashdot.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at TestConnect.main(TestConnect.java:17)


The program makes no attempt of resolving names. No connection to name server is attempted.

Everything works fine if a 64 bit java VM is used, thus the problem is in the 32 bit 
emulation.

The free virtual machine from GCC included with Debian fails with the same error, but for
different reasons.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Bug reassigned from package `libc6-ie86' to `libc6-i386'. Request was from Martin Michlmayr <tbm@cyrius.com> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#410052; Package libc6-i386. (full text, mbox, link).


Acknowledgement sent to Aurelien Jarno <aurelien@aurel32.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #12 received at 410052@bugs.debian.org (full text, mbox, reply):

From: Aurelien Jarno <aurelien@aurel32.net>
To: Ramon Garcia Fernandez <rgarcia@kotasoft.com>, 410052@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Bug#410052: Java programs fail in name resolution.
Date: Wed, 7 Feb 2007 22:07:25 +0100
reassign 410052 ia32-sun-java6-bin
retitle 410052 ia32-sun-java6-bin should depends on 32-bit libnss-mdns
clone 410052 -1
reassign -1 sun-java6-jre
retitle -1 sun-java6-jre should depends on libnss-mdns
thanks

On Wed, Feb 07, 2007 at 12:48:00PM +0100, Ramon Garcia Fernandez wrote:
> Package: libc6-ie86
> Version: libc6-i386
> Severity: important
> 
> 
> 
> When using a java 32 bit virtual machine, the java programs fail to resolve names.

This is a problem of the java virtual machine. It try to uses the 32-bit
version of libnss-mdns which is not installed on your system, and also
which does not exists as a Debian package.

The 64-bit version should also depends on libnss-mdns. If it is not
installed you get the exact same error. I have cloned the bug against
this package.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Bug reassigned from package `libc6-i386' to `ia32-sun-java6-bin'. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. (full text, mbox, link).


Bug 410052 cloned as bug 410116. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. (full text, mbox, link).


Tags added: security Request was from Djoume SALVETTI <djoume@taket.org> to control@bugs.debian.org. (Fri, 25 May 2007 20:21:03 GMT) (full text, mbox, link).


Tags removed: security Request was from Djoume SALVETTI <djoume@taket.org> to control@bugs.debian.org. (Fri, 25 May 2007 20:42:03 GMT) (full text, mbox, link).


Bug 410052 cloned as bug 430917. Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (Thu, 28 Jun 2007 08:30:05 GMT) (full text, mbox, link).


Blocking bugs of 410052 added: 430917 Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (Thu, 28 Jun 2007 08:54:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@ubuntu.com>:
Bug#430917; Package ia32-sun-java6-bin. (full text, mbox, link).


Acknowledgement sent to Markus Knauer <mknauer@innoopract.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@ubuntu.com>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(full text, mbox, link).


Message #31 received at 430917@bugs.debian.org (full text, mbox, reply):

From: Markus Knauer <mknauer@innoopract.com>
To: 430917@bugs.debian.org
Date: Thu, 31 Jan 2008 15:35:25 +0000
It is possible (as a workaround!) to add the hostname-ip-address pair 
to /etc/hosts, because the error only happens when a nameserver is contacted.




Reply sent to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ramon Garcia Fernandez <rgarcia@kotasoft.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #36 received at 430917-close@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@ubuntu.com>
To: 430917-close@bugs.debian.org
Subject: Bug#430917: fixed in sun-java6 6-06-1
Date: Thu, 17 Apr 2008 19:17:22 +0000
Source: sun-java6
Source-Version: 6-06-1

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

ia32-sun-java6-bin_6-06-1_amd64.deb
  to pool/non-free/s/sun-java6/ia32-sun-java6-bin_6-06-1_amd64.deb
sun-java6-bin_6-06-1_amd64.deb
  to pool/non-free/s/sun-java6/sun-java6-bin_6-06-1_amd64.deb
sun-java6-demo_6-06-1_amd64.deb
  to pool/non-free/s/sun-java6/sun-java6-demo_6-06-1_amd64.deb
sun-java6-doc_6-06-1_all.deb
  to pool/non-free/s/sun-java6/sun-java6-doc_6-06-1_all.deb
sun-java6-fonts_6-06-1_all.deb
  to pool/non-free/s/sun-java6/sun-java6-fonts_6-06-1_all.deb
sun-java6-javadb_6-06-1_all.deb
  to pool/non-free/s/sun-java6/sun-java6-javadb_6-06-1_all.deb
sun-java6-jdk_6-06-1_amd64.deb
  to pool/non-free/s/sun-java6/sun-java6-jdk_6-06-1_amd64.deb
sun-java6-jre_6-06-1_all.deb
  to pool/non-free/s/sun-java6/sun-java6-jre_6-06-1_all.deb
sun-java6-source_6-06-1_all.deb
  to pool/non-free/s/sun-java6/sun-java6-source_6-06-1_all.deb
sun-java6_6-06-1.diff.gz
  to pool/non-free/s/sun-java6/sun-java6_6-06-1.diff.gz
sun-java6_6-06-1.dsc
  to pool/non-free/s/sun-java6/sun-java6_6-06-1.dsc
sun-java6_6-06.orig.tar.gz
  to pool/non-free/s/sun-java6/sun-java6_6-06.orig.tar.gz



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

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@ubuntu.com> (supplier of updated sun-java6 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 16 Apr 2008 18:51:00 +0200
Source: sun-java6
Binary: sun-java6-jre sun-java6-bin sun-java6-plugin ia32-sun-java6-bin ia32-sun-java6-plugin sun-java6-fonts sun-java6-jdk sun-java6-demo sun-java6-source sun-java6-doc sun-java6-javadb
Architecture: source amd64 all
Version: 6-06-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@ubuntu.com>
Changed-By: Matthias Klose <doko@ubuntu.com>
Description: 
 ia32-sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (32-bit)
 ia32-sun-java6-plugin - The Java(TM) Plug-in, Java SE 6 (32-bit)
 sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent 
 sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
 sun-java6-doc - Sun JDK(TM) Documention -- integration installer
 sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
 sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby
 sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
 sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independen
 sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
 sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files
Closes: 414535 425654 428654 430917 436645 441880 459435 468234 472995 473164 474932
Changes: 
 sun-java6 (6-06-1) unstable; urgency=low
 .
   * Upload to unstable. Closes: #474932.
 .
 sun-java6 (6-06-0ubuntu1) hardy; urgency=low
 .
   * New upstream bug fix release.
     - Release notes at http://java.sun.com/javase/6/webnotes/ReleaseNotes.html.
     - Fixes Xlib/XCB locking problems. LP: #86103. Closes: #414535.
     - Update timezone information. Closes: #468234.
   * Don't open the control panel when starting a WebStart application.
     LP: #84501.
   * javaws.desktop: Add `%u' to the Exec key, remove -viewer option.
     Closes: #436645.
   * Suggest ttf-wqy-zenhei instead of ttf-arphic-uming (only available in .ttc
     format not supported by Sun Java) (Arne Goetje). LP: #213925.
   * Only use the basename for icons in desktop files. LP: #207413.
   * Add XS-Autobuild: yes attribute. Closes: #473164.
   * ia32-sun-java6-bin: Recommend lib32nss-mdns on amd64. Closes: #430917.
   * JB-bin.postinst.in: Call java -client -Xshare:dump with -Xmx1m, if the
     memory is available. Closes: #425654, #428654.
   * binfmt-support: Handle /usr/share/binfmts/jar as a slave symlink of
     the jexec alternative, install the binfmt file in the jre libdir.
     Use the jexec alternative in the binfmt file.
   * Don't fail on removal, if /var/lib/binfmts/openjdk-6 is missing.
     Closes: #441880.
   * README.Debian: Clarify about configuring the ControlPanel. Closes: #459435.
   * Don't include empty directories in /usr/share. Closes: #472995.
Checksums-Sha1: 
 0f76eab72d8ea0a4004f3f0cebdd10f553bd6e68 1629 sun-java6_6-06-1.dsc
 04b3bb699b2d2a45b55958a6bb5b04d52d8c363b 132362700 sun-java6_6-06.orig.tar.gz
 a1be08a2de6c74f7c83d41619cceaebb280119bb 85559 sun-java6_6-06-1.diff.gz
 0f9fd857e284e140ecf5f62e9e52d2e80dda2665 24042098 sun-java6-bin_6-06-1_amd64.deb
 6dadd1f93908280dfeb18a57366219661c291e41 27286606 ia32-sun-java6-bin_6-06-1_amd64.deb
 56f9dcef24bc4dadefc61654919225276b2df26e 9623332 sun-java6-jdk_6-06-1_amd64.deb
 b402f294d9f2b13d1678ff63d3f755667f8bd232 6738536 sun-java6-demo_6-06-1_amd64.deb
 916367d6d2529db35e0688ad2e669f331bc996b6 6456814 sun-java6-jre_6-06-1_all.deb
 78e033ad62c800fd92e97f00fd84e244f3c19f59 1810 sun-java6-fonts_6-06-1_all.deb
 309bfd135370d045e9a421589743f2ac6c042b67 17601190 sun-java6-source_6-06-1_all.deb
 1e8d130a7de20503af1176bf2caca3f3bb64e6ce 41734 sun-java6-doc_6-06-1_all.deb
 136ada95640053d1f26ec649e30b9d48e4343204 9665966 sun-java6-javadb_6-06-1_all.deb
Checksums-Sha256: 
 074684cca7be9fdb6a3cb5e370217a4e7222989167fc67eed2b8acafa9184f5d 1629 sun-java6_6-06-1.dsc
 3d1ccc6a6248e1ac46113f3b7d149218b6eaebb02d532113fdce45930412c312 132362700 sun-java6_6-06.orig.tar.gz
 4fb5fe4bec805496fde4d1cc93087ad48c845f46bb206ba14ec963ebd1954ffe 85559 sun-java6_6-06-1.diff.gz
 45b78f7021fd6be00f2495736accf6eb623e67c613d696c63c8ff1c8f8c8495d 24042098 sun-java6-bin_6-06-1_amd64.deb
 ecf76acef98872fb9d0df11f07aff08d97862fd78f5a7b50ca26020e1ef076dc 27286606 ia32-sun-java6-bin_6-06-1_amd64.deb
 f7ec61840a31138c7ad7870301d7838f7527a0d0d2742cdbcd34af1e66fabab5 9623332 sun-java6-jdk_6-06-1_amd64.deb
 8fdd237d3e90afecbab864c4ccf0e4dbbafba9e5f1ccfa39f16be0a32c91d6c4 6738536 sun-java6-demo_6-06-1_amd64.deb
 46a360ea7b6d5fe721c3e17071c1ba3fa469889ed5146021dd05d3478c71f109 6456814 sun-java6-jre_6-06-1_all.deb
 c2e96b739bfa39f959c659b65e0dac22ef5f2205798ba2fe16ee070b76fd1e7c 1810 sun-java6-fonts_6-06-1_all.deb
 6f744b15fba35aba64d9bfea7d8db46155ed2e034a763026b6149b47a8e21896 17601190 sun-java6-source_6-06-1_all.deb
 e82a8c4a406b816a684f219429158e779330ab88bddd748157d7d6a9b8b9e28d 41734 sun-java6-doc_6-06-1_all.deb
 f91328c77b0a97febde1e8987ad4a500b9e05ee3b722359840d18805503cb208 9665966 sun-java6-javadb_6-06-1_all.deb
Files: 
 2634ad629b548961ba50526d4ab38396 1629 non-free/devel optional sun-java6_6-06-1.dsc
 ba1283fa2edd60c70d14a862e77a77a8 132362700 non-free/devel optional sun-java6_6-06.orig.tar.gz
 ccd273165659e14416c28749dd4e874e 85559 non-free/devel optional sun-java6_6-06-1.diff.gz
 12675717900f6e65c4f683216b521889 24042098 non-free/libs optional sun-java6-bin_6-06-1_amd64.deb
 2bcb84cd83c2f28da296ca6050707bbd 27286606 non-free/libs optional ia32-sun-java6-bin_6-06-1_amd64.deb
 053efb6cbf77c3c5b02a508d06d2a065 9623332 non-free/devel optional sun-java6-jdk_6-06-1_amd64.deb
 ada4324e95d981e18178dc47f5ce44da 6738536 non-free/devel optional sun-java6-demo_6-06-1_amd64.deb
 3ba713a7a2dac9a207d0d90ce5ea0338 6456814 non-free/libs optional sun-java6-jre_6-06-1_all.deb
 db36647091eea332f66e0d2dca0b2165 1810 non-free/x11 optional sun-java6-fonts_6-06-1_all.deb
 621a974da9d3076907416fdf0c42f47b 17601190 non-free/devel optional sun-java6-source_6-06-1_all.deb
 b422b952d9426c1c31c7f90142b76558 41734 non-free/doc optional sun-java6-doc_6-06-1_all.deb
 c85744c3680b67d741976321d5193d9d 9665966 non-free/libs optional sun-java6-javadb_6-06-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBjC5StlRaw+TLJwRAibzAKC7tv4161owTZbNEveXADsqdDjedwCeOX3u
anqjOugro79hPx4h8X3SC3M=
=5+C/
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 27 May 2008 07:27:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 20:51:16 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.