Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383085 - www-servers/apache-2.2.21[-suexec] provides an httpd.conf that wants load mod_suexec.so
Summary: www-servers/apache-2.2.21[-suexec] provides an httpd.conf that wants load mod...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 12:38 UTC by Agostino Sarubbo
Modified: 2011-09-15 13:48 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2011-09-15 12:38:34 UTC
As per $summary, I build apache without suexec, but I have as default in my httpd.conf:

LoadModule suexec_module modules/mod_suexec.so


and obviously fails to start.

amd64box ~ # /etc/init.d/apache2 start
apache2         | * apache2 has detected an error in your setup:
apache2         |apache2: Syntax error on line 131 of /etc/apache2/httpd.conf: Cannot load /usr/lib64/apache2/modules/mod_suexec.so into server: /usr/lib64/apache2/modules/mod_suexec.so: cannot open shared object file: No such file or directory                                                                                                                    
apache2         | * ERROR: apache2 failed to start
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-09-15 13:31:00 UTC
Ago, I'm unable to reproduce this problem. It looks like something went wrong during dispatch.conf. suexec module will be loaded only if you have -DSUEXEC in APACHE2_OPTS in /etc/conf.d/apache2. Both of this files are generated and updated during merge.

<IfDefine SUEXEC>
LoadModule suexec_module modules/mod_suexec.so
</IfDefine>

Try to clean configuration and rebuild server.
Comment 2 Agostino Sarubbo gentoo-dev 2011-09-15 13:48:52 UTC
right, close as INVALID for now.