Re: [ClusterLabs] Need bash instead of /bin/sh

2015-09-29 Thread Jan Pokorný
On 24/09/15 08:10 +0200, Ulrich Windl wrote: > Jan Pokorný schrieb am 23.09.2015 um 22:30 in > Nachricht <20150923203005.ga10...@redhat.com>: >> On 23/09/15 15:38 +0200, Ulrich Windl wrote: >>> In times of BASH it's hard to get POSIX shell documentation. >> >> Oh, really? >> >> http://pubs.openg

Re: [ClusterLabs] Need bash instead of /bin/sh

2015-09-23 Thread Jan Pokorný
On 23/09/15 15:38 +0200, Ulrich Windl wrote: Vladislav Bogdanov schrieb am 23.09.2015 um 15:24 >> 23.09.2015 15:42, dan wrote: >>> Did a small test: >>> ---test.sh >>> controld_start() { >>> local addr_list=$(echo AF_INET 10.1.1.1 AF_INET 10.1.1.2) >> yep, tha

[ClusterLabs] Need bash instead of /bin/sh

2015-09-23 Thread dan
Hi As I had problem with corosync 2.3.3 and pacemaker 1.1.10 which was default in my version of ubuntu, I have now compiled and installed corosync 2.3.4 and pacemaker 1.1.12. And now it works. Though the file /usr/lib/ocf/resource.d/pacemaker/controld does not work as /bin/sh is linked to dash o