On Wed, Oct 06, 2010 at 01:31:07PM +0900, renayama19661...@ybb.ne.jp wrote: > Hi Serge, > > I confirm the movement of your patch from now on. > And I am going to contribute the patch of the change of loglevel of the > monitor processing at the time > of the start. > > However, there is a problem to your this patch. > The -q option of the monitor is lost. > > - runasowner -q "$OCF_RESKEY_psql $psql_options -c 'select now();'" > + runasowner "$OCF_RESKEY_psql $psql_options -c '$OCF_RESKEY_monitor_sql'"
Make sure you properly shellescape OCF_RESKEY_monitor_sql first, or you'll get unexpected results -- it may contain single qutotes itself. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/