<div style="font-family: Arial; font-size: 13;">Not RA, but ocf-* do, because of the &quot;local&quot; operator usage.<br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><tt><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Dejan Muhamedagic &lt;dejanmm@fastmail.fm&gt;<br>A: Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; <br>Data: 30 agosto 2016 10.44.49 CEST<br>Oggetto: Re: [ClusterLabs] ocf scripts shell and local variables<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>Hi,<br><br>On Mon, Aug 29, 2016 at 10:13:18AM -0500, Dmitri Maziuk wrote:<br>&gt; On 2016-08-29 04:06, Gabriele Bulfon wrote:<br>&gt; &gt;Thanks, though this does not work :)<br>&gt; <br>&gt; Uhm... right. Too many languages, sorry: perl&#39;s system() will call the login<br>&gt; shell, system system() uses /bin/sh, and exec()s will run whatever the<br>&gt; programmer tells them to. The point is none of them cares what shell&#39;s in<br>&gt; shebang line AFAIK.<br><br>The kernel reads the shebang line and it is what defines the<br>interpreter which is to be invoked to run the script.<br><br>&gt; But anyway, you&#39;re correct; a lot of linux &quot;shell&quot; scripts are bash-only and<br>&gt; pacemaker RAs are no exception.<br><br>None of /bin/sh RA requires bash.<br><br>Thanks,<br><br>Dejan<br><br>&gt; <br>&gt; Dima<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; Users mailing list: Users@clusterlabs.org<br>&gt; http://clusterlabs.org/mailman/listinfo/users<br>&gt; <br>&gt; Project Home: http://www.clusterlabs.org<br>&gt; Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>&gt; Bugs: http://bugs.clusterlabs.org<br><br>_______________________________________________<br>Users mailing list: Users@clusterlabs.org<br>http://clusterlabs.org/mailman/listinfo/users<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br><br><br></tt></blockquote></div>