Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] XATTR_PAX migration
Date: Tue, 10 Sep 2013 13:08:54
Message-Id: CAPzO=NyFBeb1YfvTWH_fRMXGEqmeDtCVWRPo8=86tKYayvu1ZA@mail.gmail.com
In Reply to: Re: [gentoo-hardened] XATTR_PAX migration by Michael Orlitzky
1 On Sep 10, 2013 3:03 PM, "Michael Orlitzky" <michael@××××××××.com> wrote:
2 >
3 > On 09/10/2013 07:44 AM, Anthony G. Basile wrote:
4 > > On 09/09/2013 07:45 PM, Michael Orlitzky wrote:
5 > >> On 09/09/2013 05:26 PM, Anthony G. Basile wrote:
6 > >>>
7 > >>> You can use XT_PAX provided you're not running something like a
8 > >>> tinderbox, ie doing massive amounts of ebuilds. The problem is that
9 > >>> install is being wrapped by install.py. As a result every instance of
10 > >>> install mean invoking the python interpreter. With lots and lots of
11 > >>> installs, this adds up to being very slow.
12 > >>>
13 > >>
14 > >> Ok, thanks. These are all servers and installing anything is out of the
15 > >> ordinary. Should I add a note about PAX_MARKINGS to the wiki, or is
16 > >> there a plan to make that unnecessary (again)?
17 > >>
18 > >
19 > > Feel free to add any documentation you guys think is lacking.
20 > >
21 >
22 > Whoops, I don't have rights to edit the page. I wrote the blurb, though:
23 >
24 > 5. Update make.conf.
25 >
26 > To prevent warnings for non-hardened users, portage defaults to PT_PAX
27 > markings when installing packages. If the migration was successful and
28 > your kernel is respecting the new XATTR_PAX markings, you can tell
29 > portage to use them in the future. Simply set,
30 >
31 > {{File|/etc/portage/make.conf||<pre>
32 > PAX_MARKINGS="XT"
33 > </pre>}}
34 >
35 > in your make.conf.
36 >
37 >
38
39 Yes, everything under Project: namespace is only writable for developers.
40
41 If the project developers don't mind end user changes the documents can be
42 moved to the general location (like we did with many SELinux related
43 documents).
44
45 You can always put edits in your personal space and have a developer review
46 and integrate if needed, but my preference is to move those documents to
47 the main namespace.
48
49 Wkr,
50 Sven

Replies

Subject Author
Re: [gentoo-hardened] XATTR_PAX migration "Anthony G. Basile" <basile@××××××××××××××.edu>