# We do this so that the ip address will exist on a
# non-loopback interface so that samba may send it along in the
# KDC requests.
+ ip addr add $CTDB_NATGW_PUBLIC_IP_HOST dev lo scope host
ip route add 0.0.0.0/0 via $NATGWIP metric 10
- # Make sure winbindd does not stay bound to this address
- # if we are no longer natgwmaster
- smbcontrol winbindd ip-dropped $CTDB_NATGW_PUBLIC_IP >/dev/null 2>/dev/null
fi
# flush our route cache
(ctdb_check_rpc "lockd" 100021 1)
[ $? = "0" ] || {
echo "Trying to restart lock manager service"
+ startstop_nfs restart
startstop_nfslock restart
exit 1
}
Packager: Samba Team <samba@samba.org>
Name: ctdb
Version: 1.0.112
-Release: 38
+Release: 39
Epoch: 0
License: GNU GPL version 3
Group: System Environment/Daemons
%{_docdir}/ctdb/tests/bin/ctdb_transaction
%changelog
+* Wed Oct 27 2010 : Version 1.0.112-39
+ - When restarting lockmanager, also restart nfs itself in case nfs failed to
+ start.
* Wed Oct 14 2010 : Version 1.0.112-38
- Try to restart LOCKD if "service nfslock start" fails.
* Wed Oct 13 2010 : Version 1.0.112-37