Gentoo Archives: gentoo-hardened

From: Chris PeBenito <pebenito@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] [Selinux] Policy for Munin, ebuild + patch
Date: Tue, 26 Jun 2007 16:56:21
Message-Id: 1182876836.5131.23.camel@defiant.pebenito.net
In Reply to: [gentoo-hardened] [Selinux] Policy for Munin, ebuild + patch by "Krzysztof Kozłowski"
1 On Sun, 2007-06-24 at 20:03 +0200, Krzysztof Kozłowski wrote:
2 > Hello
3 >
4 > The reference policy for Munin has wrong paths for munin files, e.g.:
5 > "/usr/bin/lrrd-*" instead of "/usr/bin/munin-".
6 >
7 > I have made a simple patch and ebuild:
8 > http://www.kozik.net.pl/projekty/gentoo/selinux-munin-20070329-path-patches.diff
9 > http://www.kozik.net.pl/projekty/gentoo/selinux-munin-20070329.ebuild
10 >
11 > It works - I have tested it but I am not sure if "src_unpack()" was properly
12 > written (I modified src_unpack() from selinux-2 eclass).
13 >
14 > Can somebody look at it or test it before I will submit an ebuild to
15 > bugs.gentoo.org?
16
17 That looks fine. Though in the long run we should probably modify the
18 eclass to conditionally apply a patch of a variable is set, e.g.,
19 POLICY_PATCH.
20
21 For your reference, this was fixed upstream on April 23.
22
23 --
24 Chris PeBenito
25 <pebenito@g.o>
26 Developer,
27 Hardened Gentoo Linux
28
29 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
30 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-hardened] [Selinux] Policy for Munin, ebuild + patch "Marek Wróbel" <smbmarek@×××××××××××.pl>