Bug#562954: java-common: All java networking ignores ipv4 interfaces

2009-12-29 Thread Carlo Wood
Package: java-common
Version: 0.34
Severity: grave
Justification: renders package unusable


Since my last upgrade of java, all java applications that use networking
stopped working. After some research I found that this is because of
a change that makes java start to use ipv6 instead of ipv4.

I have to following interfaces (ifconfig):

br0   Link encap:Ethernet  HWaddr 00:1a:92:3a:4a:c1  
  inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::21a:92ff:fe3a:4ac1/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2656682 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1257786 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:1473927102 (1.3 GiB)  TX bytes:406009708 (387.2 MiB)

eth1  Link encap:Ethernet  HWaddr 00:1a:92:3a:4a:c1  
  inet6 addr: fe80::21a:92ff:fe3a:4ac1/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2656682 errors:0 dropped:1798 overruns:0 frame:0
  TX packets:1257827 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:1474631718 (1.3 GiB)  TX bytes:406015654 (387.2 MiB)
  Interrupt:17 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:350463 errors:0 dropped:0 overruns:0 frame:0
  TX packets:350463 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:42943362 (40.9 MiB)  TX bytes:42943362 (40.9 MiB)

And the following routing info (route):

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
localnet*   255.255.255.0   U 0  00 br0
default ansset.localdom 0.0.0.0 UG0  00 br0


Starting 'java' with -Djava.net.preferIPv4Stack=true solves the problem
for that particular application, but not entirely because some
applications invoke java again themselves, ie a restart or subprocess.
It's not nice to have to edit scripts of packages to get them to
work again (scripts are not configuration files).

Basically, all java networking got broken by this change (unless you
have and use ipv6 interfaces).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

java-common depends on no packages.

java-common recommends no packages.

Versions of packages java-common suggests:
pn  default-jre   none (no description available)
ii  equivs2.0.7-0.1  Circumvent Debian package dependen

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#562954: java-common: All java networking ignores ipv4 interfaces

2009-12-29 Thread Mehdi Dogguy
Carlo Wood wrote:
 Package: java-common
 Version: 0.34
 Severity: grave
 Justification: renders package unusable
 
 
 Since my last upgrade of java, all java applications that use networking
 stopped working. After some research I found that this is because of
 a change that makes java start to use ipv6 instead of ipv4.
 

or maybe you are affected by #560056?

-- 
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#562954: java-common: All java networking ignores ipv4 interfaces

2009-12-29 Thread Rene Engelhard
# actually I disagree with that but the handling for this should be consistent
# and the netbase maintainer handled the other bugs the same way
block 560238 by 562954
# merge, 560142 has important, so downgrading this, too
severity 562954 important
forcemerge 560142 562954
thanks

Hi,

On Tue, Dec 29, 2009 at 03:24:23PM +0100, Carlo Wood wrote:
 Since my last upgrade of java, all java applications that use networking
 stopped working. After some research I found that this is because of
 a change that makes java start to use ipv6 instead of ipv4.

java-common is a package like any else. And it's not something one should
report ugs on which are not caused by it.

(The change was in netbase -and see http://bugs.debian.org/netbase. I'll
not judge the decision from here, you need to talk to the netbase maintainer)).

 Basically, all java networking got broken by this change (unless you
 have and use ipv6 interfaces).

True, and what makes you think java-common changed?

Grüße/Regards,

Rene
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  r...@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#562954: java-common: All java networking ignores ipv4 interfaces

2009-12-29 Thread Carlo Wood
On Tue, Dec 29, 2009 at 03:31:28PM +0100, Mehdi Dogguy wrote:
 or maybe you are affected by #560056?

Yes that seems to be the case, thanks for pointing that out.

-- 
Carlo Wood ca...@alinoe.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org