Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383085

Summary: www-servers/apache-2.2.21[-suexec] provides an httpd.conf that wants load mod_suexec.so
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: pva
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.