[Pkg-varnish-devel] Bug#659005: varnish: dash possibly breaks 'cc_command' option in /etc/default/varnish

Stig Sandbeck Mathisen ssm at debian.org
Tue May 1 21:13:34 UTC 2012

"Cosimo Streppone" <cosimo at streppone.it> writes:

> If you specify a custom "cc_command" option in the
> /etc/default/varnish defaults file, and your default shell is
> /bin/dash, then varnish will fail to startup.
> Here's why I think this happens and a patch to /etc/init.d/varnish
> that fixes the problem in a sort of hackish way.

"sort of hackish" is a little understatement. :) 

If you try using "#!/bin/bash" on top of the init script, does that
solve the problem? I think that would be a better solution.

Stig Sandbeck Mathisen

More information about the Pkg-varnish-devel mailing list