[PATCH] CTDB - avoid running event scripts with multiple '.'s (bug 13070)
amitay at gmail.com
Tue Oct 17 03:19:36 UTC 2017
Package managers during upgrade can leave copies of event scripts with
suffixes in case the event scripts had been modified. This has an
unexpected side effect of running the copies of event scripts and interfere
with normal operation of ctdb.
Here is a patch that ignores any scripts with multiple '.'s in the script
name. CTDB expects the event scripts names to follow '[0-9][0-9]\.[a-z]+"
format. So any event script with multiple '.'s will be ignored.
Please review and push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2850 bytes
Desc: not available
More information about the samba-technical