[Pkg-varnish-devel] Bug#696504: varnish: Fails to start properly with 077 umask
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Fri Dec 21 21:14:01 UTC 2012
Package: varnish
Version: 3.0.2-2
Severity: normal
Hi,
starting varnish with umask set to 077 fails:
$ /usr/sbin/varnishd -P /var/run/varnishd.pid -F -a :80 -T localhost:6082 ...
child (2484) Started
Pushing vcls failed:
dlopen(./vcl.B6xCZlYB.so): ./vcl.B6xCZlYB.so: cannot open shared object file: Permission denied
Stopping Child
Child (2484) said Child starts
Child (2484) said SMF.s0 mmap'ed 375809638400 bytes of 375809638400
Child (2484) said Child dies
Child (2484) died status=1
Child cleanup complete
Here varnish is started but does not listen to port 80.
Same seems to happen when starting via init-script. Starting goes ok but
it does not listen on port 80. With umask=022 it works.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the Pkg-varnish-devel
mailing list