You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Chris Bongaarts <ca...@tc.umn.edu> on 2000/03/03 18:20:01 UTC

Re: suexec/4030: Cannot make suexec under Solaris 2.6

The following reply was made to PR suexec/4030; it has been noted by GNATS.

From: Chris Bongaarts <ca...@tc.umn.edu>
To: apbugs@apache.org
Cc:  
Subject: Re: suexec/4030: Cannot make suexec under Solaris 2.6
Date: Fri, 3 Mar 2000 11:17:25 -0600 (CST)

 FYI: This bug (suexec/4030) was reintroduced in or before Apache
 1.3.12 due to the addition of the $(suexec_umask) parameter to the
 EXTRA_CFLAGS.  Here is a patch (to the generated Makefile, but looks
 like it would apply fine to Makefile.tmpl) that makes it work on my
 configuration.
 
 ---begin patch---
 *** Makefile.orig	Thu Mar  2 18:13:55 2000
 --- Makefile	Fri Mar  3 11:09:03 2000
 ***************
 *** 207,212 ****
 --- 207,213 ----
   	if [ ".$(suexec)" = .1 ]; then \
   	    $(MAKE) $(MFLAGS) \
   		EXTRA_CFLAGS='\
 + 			$(suexec_umask) \
   			-DHTTPD_USER=\"$(suexec_caller)\" \
   			-DUID_MIN=$(suexec_uidmin) \
   			-DGID_MIN=$(suexec_gidmin) \
 ***************
 *** 213,220 ****
   			-DUSERDIR_SUFFIX=\"$(suexec_userdir)\" \
   			-DLOG_EXEC=\"$(suexec_logexec)\" \
   			-DDOC_ROOT=\"$(suexec_docroot)\" \
 ! 			-DSAFE_PATH=\"$(suexec_safepath)\" \
 ! 			$(suexec_umask)' \
   		suexec; \
   	fi
   	@echo "<=== $(SRC)/support"
 --- 214,220 ----
   			-DUSERDIR_SUFFIX=\"$(suexec_userdir)\" \
   			-DLOG_EXEC=\"$(suexec_logexec)\" \
   			-DDOC_ROOT=\"$(suexec_docroot)\" \
 ! 			-DSAFE_PATH=\"$(suexec_safepath)\"' \
   		suexec; \
   	fi
   	@echo "<=== $(SRC)/support"
 ---end patch---
 
 %%  Christopher A. Bongaarts  %%  cab@tc.umn.edu       %%
 %%  Internet Services         %%  http://umn.edu/~cab  %%
 %%  University of Minnesota   %%  +1 (612) 625-1809    %%