Comment 7 for bug 541520

Revision history for this message
Thierry Carrez (ttx) wrote :

It should not break because authbind is special-cased in the init script:

Init script sets:
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m"
Then sources the defaults file, which may or may not override JAVA_OPTS
Then if authbind is set, it does:
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"

So -Djava.net.preferIPv4Stack=true will always be added if AUTHBIND=yes.
My change in the defaults file is just to reflect the JAVA_OPTS default value in the init script, as a starting point for someone that wants to override it.