You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Christian Perce <pe...@commnav.com> on 2001/11/20 20:25:56 UTC

build/8815: Group "#-1" changed in httpd.conf(v1.72) was not changed in Makefile.

>Number:         8815
>Category:       build
>Synopsis:       Group "#-1" changed in httpd.conf(v1.72) was not changed in Makefile.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 20 11:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     pearcec@commnav.com
>Release:        1.3.22, 1.3.21(Couldn't find CVS Tag)
>Organization:
apache
>Environment:
bash-2.03$ uname -a
SunOS planet 5.8 Generic_108528-05 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
bash-2.03$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
>Description:
When httpd.conf v1.72 was checked it the Group #-1 was changed to Group "#-1". 
In the Makefile.tmpl there is a sed that modifies the httpd.conf-dist :

                          -e 's;Group #-1;Group $(conf_group);' \

it should be the following :

                        -e 's;Group "#-1";Group $(conf_group);' \

I tested it.  It should 
>How-To-Repeat:
./configure;make;make install
cat httpd.conf | grep "Group"
>Fix:
Change the Makefile.tmpl with the following patch.

--- Makefile.tmpl.orig  Tue Nov 20 14:25:13 2001
+++ Makefile.tmpl       Tue Nov 20 14:25:27 2001
@@ -529,7 +529,7 @@
                        -e 's;conf/magic;$(sysconfdir)/magic;' \
                        -e 's;conf/mime\.types;$(sysconfdir)/mime.types;' \
                        -e 's;User nobody;User $(conf_user);' \
-                       -e 's;Group #-1;Group $(conf_group);' \
+                       -e 's;Group "#-1";Group $(conf_group);' \
                        -e 's;Port 80;Port $(conf_port);' \
                        -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \
                        -e 's;ServerName new.host.name;ServerName $(conf_servername);' \
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]