Subject: Re: increase datasize resource limit
To: Jeroen Ruigrok/asmodai <asmodai@in-nomine.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 09/03/2005 09:45:05
On Fri, Sep 02, 2005 at 06:02:58PM +0200, Geert Hendrickx wrote:
> On Thu, Aug 11, 2005 at 06:29:48AM +0200, Jeroen Ruigrok/asmodai wrote:
> > -On [20050810 17:59], Geert Hendrickx (geert.hendrickx@ua.ac.be) wrote:
> > >I had the same thing, and the error in the Java Console said to set
> > >sysctl net.inet6.ip6.v6only=0.  That worked for me.  
> > 
> > Eh?
> > 
> > That should not be a solution.  That's only about IPv4 endpoints being
> > addressable through IPv6 addresses (::127.0.0.1, the 0 setting means you
> > reenabled them, this is RFC compliant, but security-wise an issue).
> > 
> > Why do I get the feeling a lot of OSS projects have little clue how to
> > properly write applications that use IPv4/IPv6.
> > 
> > Does this also work for you:
> > 
> > JAVA_OPTS=-Djava.net.preferIPv4Stack="true"
> 
> If I add this to MAKE_ENV in the Makefile, then it works without the sysctl
> thing.  Now, how should I handle this in the package?  Make an option
> prefer-ipv4 and enable it by default?  Or what?  Any suggestions welcome.  

Sorry; it still doesn't work, I accidently tested with the *off-line*
examples. :-$  

GH