[master] 87766181d Set the mode on the UDS socket, in case we are running as root with varnish user etc.

Poul-Henning Kamp phk at FreeBSD.org
Mon Jul 2 14:46:09 UTC 2018


commit 87766181dfda2a674fa5cb0453ae07d68f303894
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jul 2 14:45:22 2018 +0000

    Set the mode on the UDS socket, in case we are running as root
    with varnish user etc.

diff --git a/bin/varnishtest/tests/r02702.vtc b/bin/varnishtest/tests/r02702.vtc
index 6208f0c07..c9a938a90 100644
--- a/bin/varnishtest/tests/r02702.vtc
+++ b/bin/varnishtest/tests/r02702.vtc
@@ -41,7 +41,7 @@ server s2 {
 	txresp
 } -start
 
-varnish v2 -arg "-a ${tmpdir}/v2.sock,PROXY" -vcl {
+varnish v2 -arg "-a ${tmpdir}/v2.sock,PROXY,mode=0777" -vcl {
 	backend s2 { .host = "${s2_addr}"; .port = "${s2_port}"; }
 } -start
 


More information about the varnish-commit mailing list