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

Bug 402601

Summary: net-dns/unbound add selinux use depency on sec-policy/selinux-bind
Product: Gentoo Linux Reporter: Florian Steinel <Florian.Steinel>
Component: HardenedAssignee: SE Linux Bugs <selinux>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Steinel 2012-02-07 21:13:13 UTC
net-dns/unbound needs sec-policy/selinux-bind for correct security labels.
ls -laZ /usr/sbin/unbound
-rwxr-xr-x. 1 root root system_u:object_r:named_exec_t 604336 Feb  7 22:08 /usr/sbin/unbound

--- unbound-1.4.16.ebuild.orig       2012-01-30 16:58:00.000000000 +0100
+++ unbound-1.4.16.ebuild       2012-02-07 22:07:09.100001586 +0100
@@ -24,6 +24,7 @@ RDEPEND="dev-libs/expat
        >=net-libs/ldns-1.6.5[ssl,gost?]"

 DEPEND="${RDEPEND}
+       selinux? ( sec-policy/selinux-bind )
        python? ( dev-lang/swig )
        test? (
                net-dns/ldns-utils[examples]


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-02-08 20:35:48 UTC
Fixed in CVS. Thanks!

Done on latest ~arch (no revbump), this will trickle down to stable later.