Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402601 - net-dns/unbound add selinux use depency on sec-policy/selinux-bind
Summary: net-dns/unbound add selinux use depency on sec-policy/selinux-bind
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 21:13 UTC by Florian Steinel
Modified: 2012-02-08 20:35 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 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.