# pull in any user defined DIR_DIR_OPTIONS, DIR_USER, or DIR_GROUP
[ -f /etc/sysconfig/bacula ] && . /etc/sysconfig/bacula
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
RETVAL=0
case "$1" in
start)
# pull in any user defined FD_OPTIONS, FD_USER, FD_GROUP
[ -f /etc/sysconfig/bacula ] && . /etc/sysconfig/bacula
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
RETVAL=0
case "$1" in
start)
# pull in any user defined SD_OPTIONS, SD_USER, or SD_GROUP
[ -f /etc/sysconfig/bacula ] && . /etc/sysconfig/bacula
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
RETVAL=0
case "$1" in
start)
test -f $DAEMON || exit 0
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
if [ -n "`getent services ${NAME}`" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
test -f $DAEMON || exit 0
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
if [ -n "`getent services ${NAME}`" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
test -f $DAEMON || exit 0
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
if [ -n "`getent services ${NAME}`" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
# environment where they are different.
#
SCRIPTDIR=@scriptdir@
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+# good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
case "$1" in
start)
General:
24Jul08
+kes Set MALLOC_CHECK_=0 in environment before starting Bacula to
+ turn off glibc checks that prevent getting good dumps.
kes Implement console 'wait mount' command. Doesn't yet work.
kes Implement timeout=nn on console 'wait mount timeout=nn' command.
kes Break the do_swapping into do_unload, do_swapping, and