Received: (qmail 41293 invoked by uid 501); 28 Nov 2001 15:21:05 -0000 Message-Id: <20011128152105.41292.qmail@apache.org> Date: 28 Nov 2001 15:21:05 -0000 From: Owen Boyle Reply-To: obo@bourse.ch To: submit@bugz.apache.org Subject: Default Group argument is not properly substituted by "make install" X-Send-Pr-Version: 3.110 >Number: 8888 >Category: build >Synopsis: Default Group argument is not properly substituted by "make install" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 28 07:30:00 PST 2001 >Closed-Date: Wed Nov 28 07:44:18 PST 2001 >Last-Modified: Wed Nov 28 07:44:18 PST 2001 >Originator: obo@bourse.ch >Release: 1.3.22 >Organization: >Environment: Most Unix systems >Description: Previous distros (< 1.3.22) had the line: Group #-1 in httpd.conf-dist. On "make install", this gets substituted by the top-level Makefile using the command: sed -e 's;Group #-1;Group $(conf_group);' \ where $(conf_group) = nobody so that in the final installed httpd.conf, you have: Group nobody In apache_1.3.22, in httpd.conf-dist, the line has become: Group "#-1" but in the Makefile, the sed command has not been altered. Therefore, it doesn't match and no substitution is made. We then get, in httpd.conf: Group "#-1" and when starting the server, you get the error: [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 >How-To-Repeat: Try a vanilla install with no modifications and see. >Fix: Change the line in the top-level Makefile to read: sed -e 's;Group \"#-1\";Group $(conf_group);' \ To be exact, it's a large extended line but if you search for "Group" after the install-config target, you'll find it. >Release-Note: >Audit-Trail: From: Owen Boyle To: submit@bugz.apache.org, apache-bugdb@apache.org Cc: Subject: Re: build/8888: Default Group argument is not properly substituted by "make install" Date: Wed, 28 Nov 2001 16:34:54 +0100 Greetings, I discussed this bug on the apache users mailing list (users@httpd.apache.org) and Ken Coar has indicated that he has fixed it in the source. So it is probably already obsolete (although it will need a new distribution to clear it up). Rgds, Owen Boyle. State-Changed-From-To: open-closed State-Changed-By: jwoolley State-Changed-When: Wed Nov 28 07:44:18 PST 2001 State-Changed-Why: Fix committed by Ken Coar. Thanks! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]