From swills@FreeBSD.org  Thu Jun 20 19:05:09 2013
Return-Path: <swills@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 25459AF0;
	Thu, 20 Jun 2013 19:05:09 +0000 (UTC)
	(envelope-from swills@FreeBSD.org)
Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3])
	by mx1.freebsd.org (Postfix) with ESMTP id C83E01E64;
	Thu, 20 Jun 2013 19:05:08 +0000 (UTC)
Received: from mouf.net (www@mouf [199.48.129.64])
	by mouf.net (8.14.5/8.14.5) with ESMTP id r5KJ4wcG036994;
	Thu, 20 Jun 2013 19:05:03 GMT
	(envelope-from swills@FreeBSD.org)
Received: from 64.128.208.27
        (SquirrelMail authenticated user swills)
        by mouf.net with HTTP;
        Thu, 20 Jun 2013 15:05:04 -0400
Message-Id: <8e6e71b4d4f86fecf8e665c728ff9d79.squirrel@mouf.net>
Date: Thu, 20 Jun 2013 15:05:04 -0400
From: "Steve Wills" <swills@FreeBSD.org>
To: "Sergey A. Osokin" <osa@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
In-Reply-To: <20130620184235.GE76590@FreeBSD.org>
Subject: Re: [PATCH] www/rubygem-passenger: fix issue with bash
References: <201306192324.r5JNOjso072849@meatwad.mouf.net>
    <20130620152439.GB76590@FreeBSD.org>
    <f68a4fbcfef4354fd58121d559f53fda.squirrel@mouf.net>
    <20130620184235.GE76590@FreeBSD.org>

>Number:         179783
>Category:       ports
>Synopsis:       Re: [PATCH] www/rubygem-passenger: fix issue with bash
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 20 19:10:00 UTC 2013
>Closed-Date:    Thu Jun 20 22:25:09 UTC 2013
>Last-Modified:  Sun Jun 23 06:50:39 UTC 2013
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 > There is one more question from my side: is there no /bin/sh on linux?
 >
 
 There is, but it's bash, usually. But it can vary. Regardless, how is this
 relevant?
 
 > The quote from the end of chapter.
 >
 > Because this chapter is meant for beginners, it assumes that the reader
 > uses the bash shell. This chapter does not describe instructions for zsh,
 > csh or other shells. We assume that users of other shells are familiar
 > with
 > the Bourne shell syntax, and know how to apply the instructions in this
 > chapter in their shells' native syntaxes.
 >
 >
 > OK from me, see above.
 >
 
 Not sure what you're trying to say here.
 
 > Probably, cheapest way but isn't right.
 
 What's not right about it?
 
 To me, what's not right is to change the software such that it doesn't
 match it's documentation for no reason.
 
 In particular, the part of the docs I was referring to was:
 
     Through your bashrc. Starting from version 4.0, Phusion Passenger 4.0
 spawns applications through bash and inherit all bash environment
 variables. Phusion Passenger Standalone tends to be started from the
 shell and thus inherits all environment variables set by the shell.
 
 Yes, you can set environment variables regardless of what shell you use,
 but there is also a locations.ini file setting called loadShellEnvvars
 which you can set which tells it to read environment variables from
 .bashrc.  See ext/common/ApplicationPool2/Options.h.
 
 Steve
 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 20 22:23:38 UTC 2013 
State-Changed-Why:  
Misfiled followup to ports/179737; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jun 20 22:23:38 UTC 2013 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=179783 
>Unformatted:
