Date: Sun, 25 Sep 2005 23:45:44 +0100 From: Ceri Davies <ceri@submonkey.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86567: lighttpd rcng script broken Message-ID: <E1EJfFg-0001Dr-FY@shrike.submonkey.net> Resent-Message-ID: <200509252250.j8PMoH2P027560@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86567 >Category: ports >Synopsis: lighttpd rcng script broken >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 25 22:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ceri Davies >Release: FreeBSD 6.0-BETA5 i386 >Organization: Submonkey >Environment: System: FreeBSD shrike.private.submonkey.net 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Mon Sep 19 00:12:45 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: The startup script for lighttpd cannot work. The first line of the lighttpd ruby program calls ruby via the "#!/usr/bin/env ruby". /usr/local/bin is not in the path when rc runs, so lighttpd always fails to start. This seems to stop all subsequent rcng scripts from running too. >How-To-Repeat: Install lighttpd, add lighttpd_enable="YES" to /etc/rc.conf, reboot, watch it fail to find ruby. >Fix: I have just thrown PATH=${PATH}:/usr/local/bin; export PATH into the rncg script, but there is probably a cleaner way. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EJfFg-0001Dr-FY>