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

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:17 UTC 2018


commit ca4102aefd6e80ad8c80043884d0c7313a99c661
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