You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/01/25 16:24:30 UTC

[BUG]: "in suEXEC (Solaris 2.5/2.5.1) setenv unknown -- putenv seems to work though" on Solaris 2.x (fwd)

not acked

---------- Forwarded message ----------
Date: Sat Jan 25 0:52:45 1997
From: krisw@prysm.net
To: apache-bugs%apache.org@organic.com
Subject: [BUG]: "in suEXEC (Solaris 2.5/2.5.1) setenv unknown -- putenv seems to work though" on Solaris 2.x

Submitter: krisw@prysm.net
Operating system: Solaris 2.x, version: 
Version of Apache Used: Apache 1.2b4
Extra Modules used: 
URL exhibiting problem: 

Symptoms:
--
suEXEC will not compile, I had to edit the source (suexec.c), replacing the line:

if ((setenv("PATH", SAFE_PATH, 1)) != 0) {
with:
if ((putenv("PATH" SAFE_PATH)) != 0) {

and it appears to be working ok, but again, I may be hanging myself if I assume this.

--

Backtrace:
--

--



Re: [BUG]: "in suEXEC (Solaris 2.5/2.5.1) setenv unknown -- putenv seems to work though" on Solaris 2.x (fwd)

Posted by Marc Slemko <ma...@znep.com>.
Fixed in the current version, which will be available soon in the 1.2b5
release.

> ---------- Forwarded message ----------
> Date: Sat Jan 25 0:52:45 1997
> From: krisw@prysm.net
> To: apache-bugs%apache.org@organic.com
> Subject: [BUG]: "in suEXEC (Solaris 2.5/2.5.1) setenv unknown -- putenv seems to work though" on Solaris 2.x
> 
> Submitter: krisw@prysm.net
> Operating system: Solaris 2.x, version: 
> Version of Apache Used: Apache 1.2b4
> Extra Modules used: 
> URL exhibiting problem: 
> 
> Symptoms:
> --
> suEXEC will not compile, I had to edit the source (suexec.c), replacing the line:
> 
> if ((setenv("PATH", SAFE_PATH, 1)) != 0) {
> with:
> if ((putenv("PATH" SAFE_PATH)) != 0) {
> 
> and it appears to be working ok, but again, I may be hanging myself if I assume this.
> 
> --
> 
> Backtrace:
> --
> 
> --
> 
>