ports/123933: www/lighttpd rc file does not allow changing of pidfile
Marshal Newrock
marshal at freedombi.com
Fri May 23 15:40:01 UTC 2008
>Number: 123933
>Category: ports
>Synopsis: www/lighttpd rc file does not allow changing of pidfile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 23 15:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Marshal Newrock
>Release: 7.0
>Organization:
FreedomBI
>Environment:
FreeBSD sourcevox.freedombi.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
In the lighttpd rc file, pidfile is hardcoded to /var/run/lighttpd.pid. This is problematic if lighttpd is being run as a non-root user and the pidfile must be put in a location writable by that user.
>How-To-Repeat:
>Fix:
Replace:
pidfile=/var/run/lighttpd.pid
with:
pidfile=${lighttpd_pidfile:-"/var/run/lighttpd.pid"}
to allow setting lighttpd_pidfile in /etc/rc.conf
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list