[Bugs] [Bug 1440148] common-ha (debian/ubuntu): ganesha-ha.sh has a hard-coded / usr/libexec/ganesha...

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 7 12:04:43 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1440148



--- Comment #2 from Kaleb KEITHLEY <kkeithle at redhat.com> ---
<Skinny> I think I found it
<Skinny> you have 1 min to confirm my toughts ?
<Skinny> running the ganesha-ha.sh script from the ubuntu command line manually
will run just fine (within bash)
<Skinny> however from within the glusterd deamon, the script is executed with a
'sh -c' call
<Skinny> which will override the used shell
<Skinny> the default shell on ubuntu is dash
<Skinny> and that doesnt have the <<< operator
<Skinny> used in the scripts (for logging)
<Skinny> that's the line failing with the 'redirection' error
<kkeithley> but ganesha.ha has shebang /bin/bash
<Skinny> http://stackoverflow.com/a/2462357
<glusterbot> Title: ubuntu - Bash: Syntax error: redirection unexpected - Stack
Overflow (at stackoverflow.com)
<Skinny> read that answer (3th comment)
<Skinny> sh 'script' will use 'sh' instead of the shell in the file

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=zW7kWsB9Ym&a=cc_unsubscribe


More information about the Bugs mailing list