Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100181 - Module configurations should be loaded after User/Group directive (FastCGI breakage)
Summary: Module configurations should be loaded after User/Group directive (FastCGI br...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 141877 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-24 23:30 UTC by Gaston Cababie
Modified: 2007-05-23 16:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gaston Cababie 2005-07-24 23:30:00 UTC
httpd.conf is setting the user/group of apache after loading the modules, this
makes FastCgiWrapper on to fail when it tries to bind to suexec.
Moving the user/group before the actual module loading fixes the issue.
Thanks for everything ;)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-25 00:49:26 UTC
Please, put an *existing* bugzie alias into metadata.xml; apache-devs@gentoo.org
is not one of them.
Comment 2 trejkaz 2005-08-07 23:14:13 UTC
I just noticed the same problem myself.

Is it safe to move the commonapache2.conf include above the module includes?  If
so, then I guess that's the workaround for now.
Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2006-06-05 11:48:51 UTC
This is now fixed with new-style, modules are included after the rest of the server configuration.
Best regards, CHTEKK.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-06-05 21:53:23 UTC
chtekk: please verify your statements before closing a bug.

In new-style configuration, the include modules.d/*.conf is at line 367 while the User and Group configurations are at lines 393 and 394.

The original reporter is using new-style configuration (note the httpd.conf, old-style was apache.conf and commonapache.conf).

We will need to evaluate if this is fixable (how much stuff in httpd.conf would break by moving the add-on modules to the bottom?).
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-07-27 06:50:07 UTC
*** Bug 141877 has been marked as a duplicate of this bug. ***
Comment 6 Christian Heim (RETIRED) gentoo-dev 2007-05-23 16:56:39 UTC
(In reply to comment #3)
> This is now fixed with new-style, modules are included after the rest of the
> server configuration.
> Best regards, CHTEKK.

It is now fixed w/ apache-2.2.4* (I bet).

User/Group is defined in line 80/81 while the modules.d entries are loaded on line 347.