Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2879 - lighttpd spawn-php chroot functionality

Attached to Project: Arch Linux
Opened by eliott (cactus) - Saturday, 25 June 2005, 22:28 GMT
Last edited by Dale Blount (dale) - Sunday, 26 June 2005, 00:33 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Adding to following to /etc/conf.d/spanw-php
## chrootdir
CHROOTDIR="/home/php"

and modifying the following in /etc/rc.d/spawn-php
if test x$UID = x0; then
EX="$EX -u $USERID -g $GROUPID"
fi
fi

to be:
if test x$UID = x0; then
EX="$EX -u $USERID -g $GROUPID"
if [ -z "$CHROOTDIR" ]; then
EX="$EX -c $CHROOTDIR"
fi
fi

allows the prespawned php-fcgi instances to start chrooted in /home/php.
This task depends upon

Closed by  Tobias Kieslich (tobias)
Monday, 18 July 2005, 10:12 GMT
Reason for closing:  Implemented
Comment by eliott (cactus) - Saturday, 25 June 2005, 23:05 GMT
should be
if [ ! -z "$CHROOTDIR" ]; then

Loading...