Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2008 22:37:08 +0100
From:      Anders Nordby <anders@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, phk@phk.freebsd.dk, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/www/varnish/files varnishd.in
Message-ID:  <20081102213708.GA92797@fupp.net>
In-Reply-To: <200810200912.m9K9CfGv062752@repoman.freebsd.org>
References:  <200810200912.m9K9CfGv062752@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081102213708.GA92797>