Gentoo Archives: gentoo-user

From: "Dustin C. Hatch" <admiralnemo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hardened and python 3
Date: Tue, 11 Mar 2014 23:18:16
Message-Id: 531F99AB.7070407@gmail.com
In Reply to: [gentoo-user] Hardened and python 3 by James
1 On 03/11/2014 01:46 PM, James wrote:
2 > hello,
3 >
4 > Last time I researched a gentoo hardened environment, it
5 > called for the default of Python to still be series 2 of the
6 > software. I was wondering if anyone had any experience with
7 > a "Hardened Gentoo workstation" that was using python 3
8 > exclusively?
9 >
10 > Some various other packages still using python 2, but which are not
11 > formally part of a Hardened Gentoo system, are not of great concern to me.
12 >
13 > curiously,
14 > James
15 >
16 >
17 >
18 >
19 The SELinux libraries for Python only exist for Python 2. Without them,
20 Portage will be unable to e.g. load policy and set file context. You can
21 have Python 3 installed, and it can be the default interpreter if
22 sys-apps/portage was built with USE=python2, but you cannot have *only*
23 Python 3.
24
25 --
26 ♫Dustin
27 http://dustin.hatch.name/

Replies

Subject Author
[gentoo-user] Re: Hardened and python 3 James <wireless@×××××××××××.com>