config: add interface_modify.sh and call it under flock to make modification on inter...
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Jan 2010 10:10:48 +0000 (11:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 Jan 2010 10:10:48 +0000 (11:10 +0100)
commit4493ba6ffab4fe065854d65b3690d438866313aa
tree308f245c3231bf9bc95ad3c35233c6e0215eba40
parentc251ac20fa3138ff271780b38fe38f0d2039274c
config: add interface_modify.sh and call it under flock to make modification on interfaces atomic

When two releaseip events run in parallel it's possible that the 2nd script
readds a secondary ip that was removed by the 1st script.

metze

(This used to be ctdb commit e02417b2a55c45ac2c125b1b3463c9c39e7bc07a)
ctdb/Makefile.in
ctdb/config/events.d/10.interface
ctdb/config/functions
ctdb/config/interface_modify.sh [new file with mode: 0755]
ctdb/packaging/RPM/ctdb.spec.in