pkgsrc-WIP-discuss archive

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

Re: increase datasize resource limit



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@localhost) 
> 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.  

GH


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index