On Wed, Mar 30, 2011 at 10:31:10PM +0200, Maik Zumstrull wrote:
> Just looked over it again, and actually, it's not right.
> 
> This part is off:
> 
> # Socket owner/group (defaults to FCGI_USER/FCGI_GROUP if not defined)
> FCGI_SOCKET_OWNER="www-data"
> FCGI_SOCKET_GROUP="www-data"

Actually, my intention was to have that as a commented example, ie
#FCGI_SOCKET_OWNER="someuser"

I uncommented it, defaulting to www-data, because I feared it'd make
people edit the init script instead of the default file to modify this.

> The settings contradict the comment. Instead, you should do something like
> 
> FCGI_SOCKET_OWNER="${FCGI_SOCKET_OWNER:-$FCGI_USER}"
> FCGI_SOCKET_GROUP="${FCGI_SOCKET_GROUP:-$FCGI_GROUP}"

Well, this is done later in the script, in the ugly ifs cascade.

-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jo...@sindominio.net     jo...@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/



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

Reply via email to