Author: nextgens
Date: 2006-05-31 10:43:13 +0000 (Wed, 31 May 2006)
New Revision: 8950

Modified:
   trunk/apps/installer/installclasspath/run.sh
Log:
installer: the workaround will prevent the node from starting if we use libc2.4 
... let's hope it has been fixed

Modified: trunk/apps/installer/installclasspath/run.sh
===================================================================
--- trunk/apps/installer/installclasspath/run.sh        2006-05-31 10:28:29 UTC 
(rev 8949)
+++ trunk/apps/installer/installclasspath/run.sh        2006-05-31 10:43:13 UTC 
(rev 8950)
@@ -67,9 +67,14 @@
        # 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 [[ -d /lib/tls ]]
+
+       ## won't work on libc2.4 ... let's hope it's fixed
+       if [[ -z "$(/lib/libc.so.6 | head -n 1 | grep 'release version 2.4')" ]]
        then
-               LDPROP="set.LD_ASSUME_KERNEL=2.4.1" 
+               if [[ -d /lib/tls ]]
+               then
+                       LDPROP="set.LD_ASSUME_KERNEL=2.4.1" 
+               fi
        fi
 fi 



Reply via email to