appliance: Remove LD_PRELOAD=libSegFault.so

This feature was removed in glibc 2.35:
https://savannah.gnu.org/forum/forum.php?forum_id=10111
This commit is contained in:
Richard W.M. Jones
2022-10-24 10:29:51 +01:00
parent 3f5bdce111
commit 001683e885
2 changed files with 0 additions and 20 deletions

View File

@@ -17,16 +17,6 @@ if [ ! -d /tmp ] || [ ! -d /var/tmp ]; then
chmod 1777 /tmp /var/tmp
fi
# Try to print a stack trace for segfaults inside the appliance.
for d in /lib64 /lib; do
f=$d/libSegFault.so
if [ -f "$f" ]; then
LD_PRELOAD=$f
export LD_PRELOAD
break
fi
done
mkdir -p /proc /sys
mount -t proc /proc /proc
mount -t sysfs /sys /sys