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

Bug 402605

Summary: www-servers/lighttpd add selinux use depency on sec-policy/selinux-apache
Product: Gentoo Linux Reporter: Florian Steinel <Florian.Steinel>
Component: HardenedAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Steinel 2012-02-07 21:26:56 UTC
www-servers/lighttpd needs sec-policy/selinux-apache for correct security labels.
ls -laZ /usr/sbin/lighttpd
-rwxr-xr-x. 1 root root system_u:object_r:httpd_exec_t 216472 Jan  7 22:30 /usr/sbin/lighttpd

--- lighttpd-1.4.30-r1.ebuild.orig       2012-01-17 23:32:05.000000000 +0100
+++ lighttpd-1.4.30-r1.ebuild   2012-02-07 22:25:34.130002905 +0100
@@ -36,6 +36,7 @@ RDEPEND="
                sys-fs/e2fsprogs
        )
        xattr? ( kernel_linux? ( sys-apps/attr ) )
+       selinux? ( sec-policy/selinux-bind )
        zlib? ( >=sys-libs/zlib-1.1 )"

 DEPEND="${RDEPEND}

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-02-08 20:32:47 UTC
Thanks, fixed for lighttpd-1.4.30-r1 (latest ~arch), this'll bubble down further later. no revbump as existing installations have no need for rebuilds (and selinux usage community is fairly small).