Hi --

  I've been trying to get trunk to compile and run today, and
if I compile it without mod_unixd (and with the worker MPM) it compiles
and run, but then logs "Server MUST relinquish startup privileges ..."
and exits.  If I try to compile mod_unixd, I get compile-time warnings
about conflicts with os/unix/unixd.h and unixd.c.

  The following hack gets it to compile without mod_unixd (not
the intention, I understand) and run without exiting at startup.
I'm guessing the goal is to remove os/unix/unixd.h and unixd.c?
I tried that, naively, and found that the MPM wouldn't compile
because it uses #include "unixd.h" in mpm.h, etc.

Chris.

Index: os/unix/unixd.c
===================================================================
--- os/unix/unixd.c     (revision 710182)
+++ os/unix/unixd.c     (working copy)
@@ -246,6 +246,8 @@
unixd_config.chroot_dir = NULL; /* none */

+    sys_privileges_handlers(1);
+
    /* Check for suexec */
    unixd_config.suexec_enabled = 0;
    if ((apr_stat(&wrapper, SUEXEC_BIN,

Reply via email to