You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Owen Boyle <ob...@bourse.ch> on 2001/11/28 16:21:05 UTC
build/8888: Default Group argument is not properly substituted by "make install"
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Nov 28 07:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: obo@bourse.ch
>Release: 1.3.22
>Organization:
apache
>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:
>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! ]