[Pkg-varnish-devel] Bug#754967: Bug#754967: Bug#754967: varnish: Varnish init.d script silently ignores failed reload-vcl

Stig Sandbeck Mathisen ssm at debian.org
Fri Jul 18 11:37:39 UTC 2014


Control: tags -1 - moreinfo
Control: tags -1 + confirmed pending

Paweł Sadowski <pawel.sadowski at sadziu.pl> writes:

> It's not a problem with reload-vcl itself - problem exists in init.d script.
> When you call:
>   /etc/init.d/varnish reload
> it should return error (if you put some garbage in vcl, just for test)
> but instead returns 0 (due to 'exit 0' at the end).

Thanks. I see it's in all three init scripts shipped in the varnish
package.

I've removed the explicit "exit 0" from the end of all init scripts, in
the packaging repository.

-- 
Stig Sandbeck Mathisen <ssm at debian.org>



More information about the Pkg-varnish-devel mailing list