[PATCH] CTDB - avoid running event scripts with multiple '.'s (bug 13070)
martin at meltin.net
Wed Oct 18 04:19:18 UTC 2017
On Tue, 17 Oct 2017 14:19:36 +1100, Amitay Isaacs via samba-technical
<samba-technical at lists.samba.org> wrote:
> 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.
Reviewed-by: Martin Schwenke <martin at meltin.net>
peace & happiness,
More information about the samba-technical