[Varnish] #1521: Varnish 4 VCL compilation failed on OSX x86_64

Varnish varnish-bugs at varnish-cache.org
Mon Sep 22 16:38:28 CEST 2014

#1521: Varnish 4 VCL compilation failed on OSX x86_64
 Reporter:  yoloseem  |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  build     |     Version:  4.0.0
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |

Comment (by Lasse Karstensen <lkarsten@…>):

 In [a5e6d3b1936d0ae87bc079520b9f1a6fa816baf5]:
 #!CommitTicketReference repository=""
 Varnishd needs to run the systems C-compiler to compile the VCL code.

 For security reasons, we run the C-compiler in a sandbox process
 which by default uses the same (non-)privileges as the other sandboxes
 (VCL compiler, test-loader process and the worker process).

 On some systems access to the C-compiler is limited, also for reasons
 of security, and varnishd will fail to compile VCL code, unless all
 the sandboxes are given access to the C-compiler.

 Add a new parameter "group_cc" which adds a single gid to the grouplist
 of the sandbox which executes the cc_command, for the benefit of such

 Do some slightly related polishing of the docs/help-texts in this area
 while here anyway.

 Fixes #1521

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1521#comment:8>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list