include_shell does not work
I have two identical versions of lighttpd (1.4.19) installed on two slightly different debian machines. One is processing the include_shell directives as expected, the other one ignores them.
I have modified /usr/share/lighttpd/create-mime.assign.pl to drop a line to a logfile, whenever called -=> stays empty.
I'm attaching the output of
strace -fe trace=open /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
for the working and non-working case.
While this might be a debian specific bug, you might be the guys able to find it.
[proc,include_shell] log error if exec shell fails (fixes #2280)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2793 152afb58-edef-0310-8abb-c4023f1b3aa9
#4 Updated by 00marcus over 6 years ago
Turns out, lighttpd did not execute the include_shell scripts when I run it from within a screen session. It works when I run it from without.
Comparing both environments and playing with them bit by bit, it turned out to be a nasty misconfig in my .screenrc. The line "shell bash" caused all the problems.
(or fixing the .screenrc)
rendered the system back to working.
Also available in: Atom