[SCM] CTDB repository - branch 1.2-nodeflags updated - ctdb-1.9.1-259-g6c81496
Ronnie Sahlberg
sahlberg at samba.org
Tue Dec 14 03:28:32 MST 2010
The branch, 1.2-nodeflags has been updated
via 6c81496ab2a35fe3f83d2e314283d2023a7fcb78 (commit)
from a9600d987a38d436db0ab12c6cc3cb17d91fb81a (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.2-nodeflags
- Log -----------------------------------------------------------------
commit 6c81496ab2a35fe3f83d2e314283d2023a7fcb78
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Dec 14 21:17:14 2010 +1100
50.samba
Net serverid wipe can take a bit of time sometimes so background it.
Only perform auto start/stop of the managed service on the monitor event
-----------------------------------------------------------------------
Summary of changes:
config/events.d/50.samba | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/50.samba b/config/events.d/50.samba
index 17d2336..c4637c0 100755
--- a/config/events.d/50.samba
+++ b/config/events.d/50.samba
@@ -72,7 +72,7 @@ start_samba() {
# the number of smbd processes will mean that it leaves few cycles for
# anything else
[ "$CTDB_MANAGES_SAMBA" = "yes" ] && {
- /usr/bin/net serverid wipe
+ /usr/bin/net serverid wipe &
nice_service "$CTDB_SERVICE_NMB" start
nice_service "$CTDB_SERVICE_SMB" start
@@ -206,7 +206,7 @@ periodic_cleanup() {
###########################
-[ "$1" = "init" ] || {
+[ "$1" = "monitor" ] && {
ctdb_start_stop_service
ctdb_start_stop_service "winbind"
}
--
CTDB repository
More information about the samba-cvs
mailing list