From: Martin Schwenke Date: Mon, 30 Apr 2018 06:01:57 +0000 (+1000) Subject: ctdb-scripts: Drop CTDB_VALGRIND testing option X-Git-Tag: ldb-1.4.0~485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32430f84159a02f3f6cadd325bcac92b44e0c8dc;p=thirdparty%2Fsamba.git ctdb-scripts: Drop CTDB_VALGRIND testing option This is too inflexible for general use. There is no use finding a new home for this in the new configuration scheme. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/config/ctdbd_wrapper b/ctdb/config/ctdbd_wrapper index dca90172d26..f831afacb18 100755 --- a/ctdb/config/ctdbd_wrapper +++ b/ctdb/config/ctdbd_wrapper @@ -141,15 +141,6 @@ start() ulimit -n "$CTDB_MAX_OPEN_FILES" fi - if [ -n "$CTDB_VALGRIND" -a "$CTDB_VALGRIND" != "no" ] ; then - if [ "$CTDB_VALGRIND" = "yes" ] ; then - ctdbd="valgrind -q --log-file=/usr/local/var/log/ctdb_valgrind ${ctdbd}" - else - ctdbd="${CTDB_VALGRIND} ${ctdbd}" - fi - ctdb_options="${ctdb_options} --valgrinding" - fi - case "$CTDB_LOGGING" in syslog:udp|syslog:udp-rfc5424) logger -t ctdbd "CTDB is being run with ${CTDB_LOGGING}. If nothing is logged then check your syslogd configuration" diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml index c66d1aec542..13bcc3c9848 100644 --- a/ctdb/doc/ctdbd.conf.5.xml +++ b/ctdb/doc/ctdbd.conf.5.xml @@ -1553,30 +1553,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 - - CTDB_VALGRIND=yes|no|COMMAND - - - If "yes", this causes - ctdbd - 1 to be run under - valgrind - 1 with logs going to - /usr/local/var/log/ctdb_valgrind. If neither - "yes" nor "no" then the value is assumed to be a COMMAND - (e.g. a valgrind variation, a - gdb - 1 command) that is - used in place of the default valgrind - command. In either case, the - option is passed to ctdbd. - - - Default is no. - - - - CTDB_VARDIR=DIRECTORY