Gentoo Archives: gentoo-hardened

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Cleanup of sec-policy (old ebuilds)
Date: Sun, 27 Feb 2011 15:08:11
Message-Id: 4D6A6838.7050000@gentoo.org
In Reply to: [gentoo-hardened] Cleanup of sec-policy (old ebuilds) by Sven Vermeulen
1 On 02/27/2011 08:23 AM, Sven Vermeulen wrote:
2 > Hi all,
3 >
4 > The current sec-policy category contains many old ebuilds for old and
5 > obsoleted SELinux policies. In my opinion, it would be better if we purge
6 > them so that only those based on the 20101213 refpolicy remain (and for
7 > those, only a limited set).
8 >
9 > My general idea on purging ebuilds is to drop all stable ebuilds except the
10 > latest stable, and to drop all ~arch ebuilds except the last two or so.
11 >
12 > I know the current stable ones might not even function well, but dropping
13 > all stables might result in dependencies being broken for existing users
14 > (even if they run in permissive mode, it would cause Portage to fail
15 > installing master packages that depend on a SELinux policy...
16 >
17 > I don't mind drafting a script or patch that does this, but if a developer
18 > sais he doesn't need a patch it'll save me quite some time :-) Also, if you
19 > just prefer a list of ebuilds to keep (for each package) that's fine too,
20 > but in that case don't forget to clean the files/ folder too.
21 >
22 > Wkr,
23 > Sven Vermeulen
24
25 Since the selinux policies come as a set with the same date as a version
26 number, wouldn't it be better to, say, remove all the 20080525 first.
27 Fix any brokenness, then deal with 20090730, etc until we've removed the
28 sets we want gone?
29
30 Since selinux is out of date, I suspect a lot of users (like me) run
31 ~arch for the policies. I'm not sure keeping/removing on the basis of
32 stable/unstable works.
33
34 I don't even know what the policy is for stabilization of sec-policy/*
35
36 --
37 Anthony G. Basile, Ph.D.
38 Gentoo Developer

Replies

Subject Author
Re: [gentoo-hardened] Cleanup of sec-policy (old ebuilds) Sven Vermeulen <sven.vermeulen@××××××.be>