[ctdb] 10.external not executable

Andreas Schneider asn at samba.org
Thu Feb 11 14:47:27 UTC 2016


On Thursday 11 February 2016 12:38:06 Michael Adam wrote:
> On 2016-02-11 at 12:32 +0100, Andreas Schneider wrote:
> > Hi,
> > 
> > all scripts in ./ctdb/config/events.d/ are executable but 10.external
> > isn't. Is there a reason for that?
> 
> Yes. The execute bit is used to disable/enable scripts.
> This is intentionally disabled by default.
> 
> Here is the commit message:
> >> commit 3b25face87b01c3013cf40f4b54be0c58aff5b4b
> >> Author:     Martin Schwenke <martin at meltin.net>
> >> AuthorDate: Mon May 11 15:29:34 2015 +1000
> >> Commit:     Amitay Isaacs <amitay at samba.org>
> >> CommitDate: Wed May 13 06:42:13 2015 +0200
> >> 
> >>     ctdb-scripts: New eventscript 10.external
> >>     
> >>     This is an alternative to 10.interface and is installed as disabled
> >>     by
> >>     default.  It should only be used with DisableIPFailover=yes and when
> >>     IP failover is being handled externally.  In this mode CTDB can be
> >>     informed of public IP address movements using "ctdb moveip".
> >>     
> >>     During the "startup" event, this eventscript currently finds any
> >>     public IP addresses configured in $CTDB_PUBLIC_ADDRESSES and tells
> >>     CTDB which node they are on using "ctdb moveip".  This allows CTDB to
> >>     send ARPs and tickle-ACKs.
> >>     
> >>     Pair-programmed-with: Amitay Isaacs <amitay at gmail.com>
> >>     Signed-off-by: Martin Schwenke <martin at meltin.net>
> >>     Reviewed-by: Amitay Isaacs <amitay at gmail.com>
> 
> Hope this helps.

Thanks for the explanation. I think I need to write a rpmlintrc so in future 
we can suppress these warning and add docs why we suppress them.


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160211/a2b8d6f6/signature.sig>


More information about the samba-technical mailing list