Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205994 - apache-2.eclass ignores suexec USE flag when creating links in /usr/sbin
Summary: apache-2.eclass ignores suexec USE flag when creating links in /usr/sbin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 19:00 UTC by Andrew Roberts
Modified: 2008-01-16 10:47 UTC (History)
0 users

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 Andrew Roberts 2008-01-15 19:00:43 UTC
When apache is installed with USE="-suexec", /usr/sbin/suexec2 is symlinked to a non-existent /usr/sbin/suexec.

This dosym was added for bug 177697 as a temporary fix.  See http://bugs.gentoo.org/show_bug.cgi?id=177697#c8.

My temporary fix is below.

--- eclass/apache-2.eclass.orig   2007-12-31 16:06:07.000000000 -0800
+++ eclass/apache-2.eclass        2008-01-15 10:47:28.000000000 -0800
@@ -482,9 +482,10 @@
        dosym /etc/init.d/apache2 /usr/sbin/apache2ctl

        # provide symlinks for all the stuff we no longer rename, bug 177697
-       for i in suexec apxs; do
-               dosym /usr/sbin/${i} /usr/sbin/${i}2
-       done
+       dosym /usr/sbin/apxs /usr/sbin/apxs2
+       if use suexec ; then
+               dosym /usr/sbin/suexec /usr/sbin/suexec2
+       fi

        # install some thirdparty scripts
        exeinto /usr/sbin
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2008-01-16 10:47:58 UTC
fixed, thanks