Project

General

Profile

Actions

Bug #388

closed

proc_open should not rely on SHELL

Added by Anonymous over 18 years ago. Updated 4 months ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

proc_open(...) should unconditionally use /bin/sh as the shell to execute include_shell directives instead of relying in SHELL being set in the environment.

This is normally not a problem if lighttpd is started by the user, but SHELL may not be set for init and then lighttpd fails, if the configuration contains an include_shell line.

-- shlomme_gmx.net

Actions #1

Updated by moo about 18 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

it's up to the user to decide what shell to use.

Actions #2

Updated by moo almost 18 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to worksforme

what version are u using? the newer version has fixed it already, in 1.4.11 at least, fallback to /bin/sh when SHELL isn't found. simply export SHELL=/bin/sh in your startup script, or upgrade to newer version.

we won't need shell when Jan write a shell alike argument parser.

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Missing Feedback
Actions #4

Updated by gstrauss 4 months ago

  • Description updated (diff)
  • Status changed from Missing Feedback to Fixed
  • ASK QUESTIONS IN Forums set to No

the newer version has fixed it already, in 1.4.11 at least, fallback to /bin/sh when SHELL isn't found. simply export SHELL=/bin/sh in your startup script, or upgrade to newer version.

Actions

Also available in: Atom