On Sat, Jul 24, 2004 at 11:06:23PM +0100, Toad wrote: > Will be committed to unstable soon.
Having read http://people.redhat.com/drepper/assumekernel.html I think we can do away with the distribution check and set LD_ASSUME_KERNEL to 2.4.1 for all Linux distributions. Patch for start-freenet.sh below.
--- start-freenet.sh.bak 2004-07-25 01:47:40.000000000 +0200 +++ start-freenet.sh 2004-07-25 02:07:49.000000000 +0200 @@ -123,17 +123,8 @@ # Specifically, at least on 1.4.1. and 1.5.0b2, we get hangs # where many threads are stuck waiting for a lock to be # unlocked but no thread owns it. - if test -f /etc/redhat-release - then - LD_ASSUME_KERNEL=2.2.5 - export LD_ASSUME_KERNEL - fi - #gentoo however dies with 2.2.5 - if test -f /etc/gentoo-release -o -f /etc/SuSE-release - then - LD_ASSUME_KERNEL=2.4.1 - export LD_ASSUME_KERNEL - fi + LD_ASSUME_KERNEL=2.4.1 + export LD_ASSUME_KERNEL # 1.4.0? SUN_VERSION=`java -version 2>&1 | head -n 1 | sed "s/java version \"\(.*\)\"/\1/"` if echo $SUN_VERSION | grep "^1.[0-3]" ; then
_______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]