when I run apache2 -M (A new command line option -M has been added that lists all modules that are loaded based on the current configuration. Unlike the -l option, this list includes DSOs loaded via mod_so.) it puts out to stderr not stdout. I don't believe this is standard behavior as multiple people have told me that it displayes on stdout. this makes it difficult to grep (or pipe to other commands). however apache2 -M 2>&1 | grep allows me to grep through it's output. Reproducible: Always
Already said we are going to stick this functionality into the initscript; if you want it changed, ask upstream. *** This bug has been marked as a duplicate of bug 180692 ***
not everything belongs in an initscript. I really don't feel that this does. I opened a new bug because I figured out why I was having problems and determined that it was non standard behavior from normal httpd. even though having something similar come out of the init script would be nice the normal command should still work as expected. not having it work as expected makes it extremely difficult to accomplish work, because I don't know if I can expect apache2 to behave as apache's documentation says it should. you can do the work on the init script but it should behave elsewhere as well.
The ask upstream to fix it, please.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42571 upstream request. determining whether this is standard behavior or not. if they say it is not I'm re-opening this.
(In reply to comment #4) > http://issues.apache.org/bugzilla/show_bug.cgi?id=42571 > > upstream request. determining whether this is standard behavior or not. if they > say it is not I'm re-opening this. You can check yourself in the tarball (modules/mappers/mod_so.c - line 359 and below).