Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178295 - net-www/apache-2.2.4-r1 suexec fails
Summary: net-www/apache-2.2.4-r1 suexec fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 08:28 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2007-05-18 07:59 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 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2007-05-13 08:28:09 UTC
net-www/apache-2.2.4-r1 configures suexec as:

# apache2 -V |grep -i suexec
 -D SUEXEC_BIN="/usr/sbin/suexec2"


however the wrapper script is installed with a different name:

# ls -l /usr/sbin/suexec*
-rws--x--- 1 root apache 11012 May 13 03:17 /usr/sbin/suexec
-rwxr-xr-x 1 root root    8454 May 13 03:17 /usr/sbin/suexec2-config

so when you start apache with -D SUEXEC:

# /etc/init.d/apache2 restart
 * Stopping apache2 ...                                                                                 [ ok ]
 * Starting apache2 ...
Warning: SuexecUserGroup directive requires SUEXEC wrapper.                                             [ ok ]

and suexec does not function.
Comment 1 Victor Roman Archidona 2007-05-13 18:47:27 UTC
A workaround for this is trivial until an automatic solution is provided:

ln -sf /usr/sbin/suexec /usr/sbin/suexec2

Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-05-18 07:59:21 UTC
Just committed a ebuild fix for this, thanks for the report.