As far as i remember, you should put lock-timeout config option out of
group or action scopes. as i said earlier, i guess its scope spans the
entire config file


On Tue, Jul 22, 2014 at 9:55 AM, Slava Bendersky <volga...@networklab.ca>
wrote:

> Hello Lars,
> I created rpm from 2.0RC2 last available download and it complain about
> this option as syntax error.
>
> Near line 17: syntax error
> Near line 17: syntax error
>
> [root@ca01srv00 ~]# rpm -qa | grep csync2
> csync2-2.0-10.fc16.x86_64
>
> action
> {
>         #pattern /etc/apache/httpd.conf;
>         #pattern /etc/apache/sites-available/*;
>         #exec "/usr/sbin/apache2ctl graceful";
>         #lock-timeout 60;    ---> line 17
>         logfile "/var/log/csync2/csync2_action.log";
>         do-local;
> }
>
>
> Slava
> ------------------------------
> *From: *"Lars Ellenberg" <lars.ellenb...@linbit.com>
> *To: *csync2@lists.linbit.com
> *Sent: *Friday, July 18, 2014 11:49:10 AM
> *Subject: *Re: [Csync2] lock-timeout
>
> On Wed, Jul 16, 2014 at 07:53:23PM -0400, Slava Bendersky wrote:
> > Hello Everyone,
> > Is possible provide patch for lock-timeout option ?
> > I created rpm from 2.0R2, but I see that patch never being committed ?
>
>
> I'm not sure where you are looking,
> but the current csync2 git knows about,
> and documents the "lock-timeout" configuration option.
>
>
>         Lars
>
>
> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69
>
> http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451
>
> Oops, typo there, s/wor/for/ ;-)
>
>
> --
> : 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.
> _______________________________________________
> Csync2 mailing list
> Csync2@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
> _______________________________________________
> Csync2 mailing list
> Csync2@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

Reply via email to