Re: [Pacemaker] Patch for pgsql RA

2010-05-18 Thread Florian Haas
On 05/17/2010 09:45 PM, Serge Dubrouski wrote: > Thanks. Then the patch will look like this: > > --- a/heartbeat/pgsql 2010-05-03 01:20:16.0 -0600 > +++ b/heartbeat/pgsql 2010-05-17 13:43:04.0 -0600 > @@ -343,21 +343,10 @@ > > # Validate most critical parameters > pgsql_validate

Re: [Pacemaker] Patch for pgsql RA

2010-05-17 Thread Serge Dubrouski
Thanks. Then the patch will look like this: --- a/heartbeat/pgsql 2010-05-03 01:20:16.0 -0600 +++ b/heartbeat/pgsql 2010-05-17 13:43:04.0 -0600 @@ -343,21 +343,10 @@ # Validate most critical parameters pgsql_validate_all() { -if ! have_binary $SH -then -retur

Re: [Pacemaker] Patch for pgsql RA

2010-05-17 Thread Florian Haas
Hi Serge, On 05/17/2010 07:50 PM, Serge Dubrouski wrote: > I'm really sorry but please disregard that patch. The more appropriate > would be these two attached patches. > # Validate most critical parameters > pgsql_validate_all() { > -if ! have_binary $SH > +if ! check_binary $SH >

Re: [Pacemaker] Patch for pgsql RA

2010-05-17 Thread Serge Dubrouski
I'm really sorry but please disregard that patch. The more appropriate would be these two attached patches. On Mon, May 17, 2010 at 11:35 AM, Serge Dubrouski wrote: > Hello - > > Here is follow up patch for today's incident with pgsql script. The > patch is intended to cover up an issue with miss

[Pacemaker] Patch for pgsql RA

2010-05-17 Thread Serge Dubrouski
Hello - Here is follow up patch for today's incident with pgsql script. The patch is intended to cover up an issue with missed /sbin/fuser tool: --- /usr/lib/ocf/resource.d/heartbeat/pgsql 2010-05-03 01:20:16.0 -0600 +++ usr/lib/ocf/resource.d/heartbeat/pgsql.new 2010-05-17 11:32:33