summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-07-29 20:21:35 +1000
committerAndrew Tridgell <tridge@samba.org>2008-07-29 20:21:35 +1000
commit2d72b8f3dfadf1c935e6e91caa89fa5b012b101c (patch)
tree56ec13e661c50b8df0dad6988766aa4f1b6d645d /base/root/scripts
parent0e7e51b7d2e6ac33b3857c77773f7822656c4bf7 (diff)
downloadautocluster-2d72b8f3dfadf1c935e6e91caa89fa5b012b101c.tar.gz
autocluster-2d72b8f3dfadf1c935e6e91caa89fa5b012b101c.tar.xz
autocluster-2d72b8f3dfadf1c935e6e91caa89fa5b012b101c.zip
fixed problem with setup_segv_handler.sh
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_segv_handler.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/root/scripts/setup_segv_handler.sh b/base/root/scripts/setup_segv_handler.sh
index 7645cc8..763f22d 100755
--- a/base/root/scripts/setup_segv_handler.sh
+++ b/base/root/scripts/setup_segv_handler.sh
@@ -78,6 +78,8 @@ gcc -m32 -shared -fPIC -o /usr/local/lib/segv_handler32.so /usr/local/src/segv_h
echo "Modifying /lib/ld-2.5.so for LD_PRELO32"
sed -e 's@/etc/ld.so.preload@/etc/ld.so.prelo32@g' -i.orig /lib/ld-2.5.so
+# we need to remove the original to stop ldconfig enabling it
+rm -f /lib/ld-2.5.so.orig
echo "Creating /etc/ld.so.prelo32"
echo "/usr/local/lib/segv_handler32.so" > /etc/ld.so.prelo32