cvs commit: ports/www/varnish/files varnishd.in

Anders Nordby anders at FreeBSD.org
Sun Nov 2 13:53:54 PST 2008


Hi Des,

This change makes it difficult for Varnish to start:

Starting varnishd.
storage_file: filename: /tmp/varnish.Cb1nNz (unlinked) size 16412 MB.
Cannot create working directory '/usr/local/varnish/freebsd7': Permission denied

Or you get a similar message: "/var/run/varnishd.pid: Permission denied"

The reason: rc.subr automatically tries to su to the user, before
Varnish has done what it wants to do as root. 

It seems we need to change varnishd_user into something else.

Regards,
Anders.

On Mon, Oct 20, 2008 at 09:12:41AM +0000, Dag-Erling Smorgrav wrote:
> des         2008-10-20 09:12:41 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     www/varnish/files    varnishd.in 
>   Log:
>   Run varnishd as www:www
>   
>   Revision  Changes    Path
>   1.4       +6 -2      ports/www/varnish/files/varnishd.in


-- 
Anders.


More information about the cvs-ports mailing list