From owner-freebsd-bugs@FreeBSD.ORG Tue May 21 14:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71F95E6A for ; Tue, 21 May 2013 14:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 64665641 for ; Tue, 21 May 2013 14:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4LEU1Qh024976 for ; Tue, 21 May 2013 14:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4LEU18F024975; Tue, 21 May 2013 14:30:01 GMT (envelope-from gnats) Date: Tue, 21 May 2013 14:30:01 GMT Message-Id: <201305211430.r4LEU18F024975@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: ccc fanta Subject: Re: misc/178811: nginx invoked by /usr/sbin/service failed to start passenger X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ccc fanta List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 14:30:01 -0000 The following reply was made to PR misc/178811; it has been noted by GNATS. From: ccc fanta To: bug-followup@FreeBSD.org, cccfanta@gmail.com Cc: Subject: Re: misc/178811: nginx invoked by /usr/sbin/service failed to start passenger Date: Tue, 21 May 2013 22:26:27 +0800 --047d7b6782fc1a865d04dd3b3c3c Content-Type: text/plain; charset=ISO-8859-1 After further digging, it seems that I also need to modify /etc/rc in order to fix my problem completely. It doesn't sound right. Basically I need a way to set PATH to include /usr/local/bin before starting nginx with passenger. Is that a easy way to do it? I found a ugly hack to workaround this problem. It's to include the following line in /etc/rc.conf. export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin: btw I don't have this problem in Freebsd 8.3 and it just comes up after upgrade to 9.1. --047d7b6782fc1a865d04dd3b3c3c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After further digging, it seems that I also need to modify /etc/rc in order= to fix my problem completely.=A0 It doesn't sound right.

Basica= lly I need a way to set PATH to include /usr/local/bin before starting ngin= x with passenger.=A0 Is that a easy way to do it?=A0 I found a ugly hack to= workaround this problem.=A0 It's to include the following line in /etc= /rc.conf.

export PATH=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/s= bin:

btw I don't have this problem in Freebsd 8.3 and it just co= mes up after upgrade to 9.1.=A0
--047d7b6782fc1a865d04dd3b3c3c--