Mailing List Archive

Problems with revision 1643.
Hi All,

A few things are causing trouble in r1463

Varnish always uses uid nobody and gid nogroup.

i did this:
#useradd varnish
#varnishd -u varnish -g varnish ....

But, it still complained about group: nogroup not being present.

I added a group nogroup, just to keep varnish happy.

Varnish then complained about my VCL configuration in vcl_fetch()

<snip>
if (resp.http.Content-Type ~ "text/html") {
pass;
}
</snip>

Is this something wrong?
The version that i am currently using (1.0.4 20 May 2007) never gave an
error about resp.http.Content-Type.

Thank you.

Regards
A.S
Problems with revision 1643. [ In reply to ]
Anup Shukla <anup at iamcool.net> writes:
> Varnish always uses uid nobody and gid nogroup.
>
> i did this:
> #useradd varnish
> #varnishd -u varnish -g varnish ....
>
> But, it still complained about group: nogroup not being present.

All parameters are initialized to their default values before the
command-line arguments are processed. This is not normally an issue,
but lately we've introduced a handful of parameters that have side
effects.

> Varnish then complained about my VCL configuration in vcl_fetch()
>
> <snip>
> if (resp.http.Content-Type ~ "text/html") {
> pass;
> }
> </snip>
>
> Is this something wrong?

s/resp/obj/

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no