httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49768] [FIXED] Piped Log over /bin/sh/ -c
Date Tue, 17 Aug 2010 18:19:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49768

Rainer Jung <rainer.jung@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_log_config              |Documentation

--- Comment #3 from Rainer Jung <rainer.jung@kippdata.de> 2010-08-17 14:19:25 EDT ---
Note that calling the piped logger using "/bin/sh -c" didn't change during the
2.2.x lifetime. But shells differ in what they actually do when using "-c".
Some of them fork the final program and some exec. So depending on that the
logger stays as a child of the shell, or the shell is immediately replaced with
the piped logger as the immediate child of Apache.

The new syntax lets you choose to not involve the shell at all. Default is
still using the shell! The incompatibility here is likely due to a changed
shell behaviour on your platform.

You can test the shell behaviour on your old and new platforms without using
Apache via calling

/bin/sh -c "sleep 60" &

directly in a shell, and then checking in the process list, whether you can see
the shell *and* the sleep command, or only the sleep command.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message