1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb
Martin Schwenke d6b0578cfb initscript: handle spaces in option values inserted into $CTDB_OPTIONS.
This puts single quotes around everything and uses eval on the
command-lines that actually start ctdbd.  The eval causes the single
quotes to be interpreted.

The "redhat" init style no longer uses the Red Hat daemon function.
It loses the quoting and re-splits on spaces.  Instead we add an extra
line that uses the success/failure functions to keep things pretty.
Note that this means that we don't respect daemon's
$DAEMON_COREFILE_LIMIT variable but we do our own core file handling
with $CTDB_SUPPRESS_COREFILE anyway.  daemon's core file handling was
probably overriding what we were doing anyway, so this can be regarded
as a bug fix.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 522fbb012524fe41a67dbe43589a282dda6bcbe2)
2010-01-22 15:34:21 +11:00
..
client client: implement ctdb_ctrl_set_iface_link() 2010-01-20 11:10:59 +01:00
common server: add updateip event 2010-01-20 11:11:01 +01:00
config initscript: handle spaces in option values inserted into $CTDB_OPTIONS. 2010-01-22 15:34:21 +11:00
doc document the in-memory ringbuffer for logging and the commands 2010-01-15 16:01:51 +11:00
ib Whitespace changes and using the CTDB_NO_MEMORY() macro changes to 2009-05-21 11:49:16 +10:00
include server: add updateip event 2010-01-20 11:11:01 +01:00
lib lib/util: add pre and post panic action hooks 2010-01-20 09:44:36 +01:00
packaging config: add 13.per_ip_routing event script 2010-01-20 11:10:57 +01:00
server server: reload the public addresses before doing a takeover run 2010-01-20 11:11:04 +01:00
tcp tcp: don't log an error when we succefully bind to the desired address 2009-10-26 14:20:23 +11:00
tests server: start with disabled interfaces and let the event scripts enable the interfaces explicit 2010-01-20 11:11:01 +01:00
tools onnode: update algorithm for finding nodes file. 2010-01-21 18:52:44 +11:00
utils From William Jojo <w.jojo[AT]hvcc.edu> 2009-06-04 09:41:05 +10:00
web fix the git path to the repository 2009-05-25 12:15:13 +10:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore From Mathieu Parent <math.parent@gmail.com> 2009-04-08 09:21:11 +10:00
aclocal.m4 initial version 2006-11-18 10:41:20 +11:00
autogen.sh From Mathieu Parent <math.parent@gmail.com> 2009-04-08 09:21:11 +10:00
config.guess Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
configure.ac lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
configure.rpm fixed permissions on configure.rpm 2008-04-22 16:48:25 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
ctdb.pc.in (This used to be ctdb commit b0718551f55d5da9be0e6aba233f57c1ff8509be) 2009-04-08 09:14:20 +10:00
install-sh initial version 2006-11-18 10:41:20 +11:00
Makefile.in config: add 13.per_ip_routing event script 2010-01-20 11:10:57 +01:00