Ticket #388 (closed defect: worksforme)

Opened 3 years ago

Last modified 14 months ago

proc_open should not rely on SHELL

Reported by: shlomme_gmx.net Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.11
Severity: trivial Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

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.

Attachments

Change History

Changed 2 years ago by moo

  • status changed from new to closed
  • resolution set to wontfix

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

Changed 2 years ago by moo

  • status changed from reopened to closed
  • version changed from 1.4. to 1.4.11
  • 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.

Add/Change #388 (proc_open should not rely on SHELL)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.