<div style="font-family: Arial; font-size: 13;">Thanks, though this does not work :)<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: Dmitri Maziuk <dmitri.maziuk@gmail.com><br>A: users@clusterlabs.org <br>Data: 26 agosto 2016 17.02.12 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>On 2016-08-26 08:56, Ken Gaillot wrote:<br>> On 08/26/2016 08:11 AM, Gabriele Bulfon wrote:<br>>> I tried adding some debug in ocf-shellfuncs, showing env and ps -ef into<br>>> the corosync.log<br>>> I suspect it's always using ksh, because in the env output I produced I<br>>> find this: KSH_VERSION=.sh.version<br>>> This is normally not present in the environment, unless ksh is running<br>>> the shell.<br>><br>> The RAs typically start with #!/bin/sh, so whatever that points to on<br>> your system is what will be used.<br><br>ISTR exec() family will ignore the shebang and run whatever shell's in <br>user's /etc/passwd. Or something. Try changing that one.<br><br>Dima<br><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>