Bug#696504: [Pkg-varnish-devel] Bug#696504: varnish: Fails to start properly with 077 umask

2012-12-22 Thread Stig Sandbeck Mathisen
Adam Lackorzynski a...@os.inf.tu-dresden.de writes:

 starting varnish with umask set to 077 fails:

Don't do that, then.  :)

-- 
Stig Sandbeck Mathisen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696504: varnish: Fails to start properly with 077 umask

2012-12-21 Thread Adam Lackorzynski
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 a...@os.inf.tu-dresden.de
  Lackorzynski http://os.inf.tu-dresden.de/~adam/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org