httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49768] [FIXED] Piped Log over /bin/sh/ -c
Date Tue, 17 Aug 2010 18:19:27 GMT

Rainer Jung <> changed:

           What    |Removed                     |Added
          Component|mod_log_config              |Documentation

--- Comment #3 from Rainer Jung <> 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message