Sun, 29 Jun 2014 09:57:48 +0200 от Mathieu Parent <[email protected]>: > 2014-06-27 22:14 GMT+02:00 Rinat Ibragimov <[email protected]>: > > Hi. > > > > I have version 1:0.3.3-3 of c-icap installed and it still have the issue > > reported in original message. > > > > The following patch for /etc/init.d/c-icap makes it work: > > > > --- c-icap.orig 2014-06-20 16:48:00.000000000 +0400 > > +++ c-icap 2014-06-28 00:04:39.828406663 +0400 > > @@ -49,7 +49,7 @@ > > { > > local CONFFILE="$1" > > local var_regexp_group='\(User\|Group\|CommandsSocket\)' > > - local > > full_regexp="^[[:space:]]*${var_regexp_group}[[:space:]]\+\([^']*\)$" > > + local > > full_regexp="^[[:space:]]\*${var_regexp_group}[[:space:]]\+\([^']\*\)$" > > local variable > > local value > > > > > > I think asterisk sign was treated like a glob beeing in double quotes. > > Globbing doesn't happen in double quotes (Try echo "*" in a terminal). > > There must be something else. Can you run the init script with "sh -x > /etc/init.d/c-icap start" and post the result here? >
That was false alert. I definitely broken it myself. Now restored from deb package script just works, all errors gone. Sorry about the noise. --- Rinat

