Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switching to a hardened profile and back again
Date: Tue, 15 Mar 2011 19:22:46
Message-Id: AANLkTinKTg_7fwn8HS4aapLnx+5T5+gYJcHrnsyyMFZ+@mail.gmail.com
In Reply to: Re: [gentoo-user] Switching to a hardened profile and back again by Michael Orlitzky
1 >> A dev is asking me to switch to a hardened profile in order to test a
2 >> fix.  I'm happy to go through the process, but is there a chance my
3 >> laptop could be unusable after the switch?  If that happens I'll be in
4 >> real trouble.  Will I be able to switch back to a non-hardened profile
5 >> afterward?  I plan to follow this guide:
6 >>
7 >> http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile
8 >>
9 >> BTW, are emerge -e world and emerge -e system both necessary?  I
10 >> thought emerge -e world would rebuild everything.
11 >
12 > Switching to hardened is safe. The switch back should be, too, although
13 > I haven't personally tried it. (Why would you switch back?)
14
15 I originally had my laptop on a hardened profile (I think it was a
16 couple laptops back) but there were so many problems I eventually gave
17 up. I remember doing a lot of system reinstalling as I switched
18 profiles around. I don't have time to reinstall my system right now
19 so I'm trying to be sure I can switch to hardened (and from hardened
20 if necessary) without reinstalling.
21
22 > You emerge system first, and then world so that your world is built by a
23 > hardened toolchain. When you compile gcc/glibc with USE=hardened, it
24 > gives them super powers.
25
26 Would 'emerge gcc glibc && emerge -e world' have the same affect?
27
28 - Grant

Replies

Subject Author
Re: [gentoo-user] Switching to a hardened profile and back again Michael Orlitzky <michael@××××××××.com>