Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65006 - apache 2 wrong selinux directory labels
Summary: apache 2 wrong selinux directory labels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 12:05 UTC by petre rodan (RETIRED)
Modified: 2004-11-09 06:10 UTC (History)
0 users

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


Attachments
apache-2.0.51.ebuild.diff (apache-2.0.51.ebuild.diff,1.24 KB, patch)
2004-09-22 12:05 UTC, petre rodan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description petre rodan (RETIRED) gentoo-dev 2004-09-22 12:05:02 UTC
the apache2* ebuilds create directories in the pkg_postinst() function.
the selinux labeling happens before that function, so directories created in pkg_postinst() will have wrong labels.

please consider using the attached patch to fix the issue.
if you prefer dodir instead of keepdir, please be so kind and change that.

thanks,
peter
Comment 1 petre rodan (RETIRED) gentoo-dev 2004-09-22 12:05:28 UTC
Created attachment 40180 [details, diff]
apache-2.0.51.ebuild.diff
Comment 2 Michael Tindal (RETIRED) gentoo-dev 2004-09-22 16:25:48 UTC
Went ahead and applied this patch in our overlay.  You can checkout the updated ebuild at http://svn.northnitch.com/gentoo/apache-overlay/net-www/apache/apache-2.0.51-r2.ebuild
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-09-23 02:44:13 UTC
I'll commit this one when I return from my honeymoon.

Best regards,
Stu
Comment 4 Michael Tindal (RETIRED) gentoo-dev 2004-11-09 06:10:56 UTC
This is fixed in CVS.