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

Cosimo Streppone cosimo at streppone.it
Tue Feb 7 11:32:19 UTC 2012


Package: varnish
Version: 2.1.3-8
Severity: normal
Tags: patch

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.

http://my.opera.com/cstrep/blog/2011/11/30/how-to-start-up-varnish-with-a-custom-cc-command-on-debian

Even more details:

http://stackoverflow.com/questions/5906603/varnish-daemon-opts-options-errors/8333333#8333333

Cheers,

-- System Information:
Debian Release: squeeze/sid
   APT prefers squeeze-updates
   APT policy: (500, 'squeeze-updates'), (500, 'squeeze-security'), (500,  
'squeeze')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Cosimo





More information about the Pkg-varnish-devel mailing list