1 |
On 05/05/2011 12:00 PM, Jeremy Olexa wrote: |
2 |
> On Thu, 05 May 2011 17:23:51 +0200, Paweł Hajdan, Jr. wrote: |
3 |
>> Currently I'm using the default/linux/x86/10.0/developer profile, but |
4 |
>> I'd like to switch to hardened on my developer system to catch more |
5 |
>> issues. |
6 |
>> |
7 |
>> However, eselect profile list only displays one hardened profile for me: |
8 |
>> |
9 |
>> $ eselect profile list |
10 |
>> Available profile symlink targets: |
11 |
>> <snip> |
12 |
>> |
13 |
>> I'm using eselect-1.2.11. |
14 |
>> |
15 |
>> When listing the profiles directory in CVS, the hardened profile seems |
16 |
>> to have developer and other sub-profiles: |
17 |
>> |
18 |
>> ph@localhost ~/gentoo-x86/profiles $ ls -l hardened/linux/x86/ |
19 |
>> total 48 |
20 |
>> <snip> |
21 |
>> |
22 |
>> Any ideas how to get a hardened+developer profile? |
23 |
> |
24 |
> Those profiles that you are seeking are *not* listed in |
25 |
> PORTDIR/profiles/profiles.desc which is why they don't show up in |
26 |
> eselect output. This means that repoman does not check those profiles |
27 |
> at all. I am curious as to how much value they actually have ;) With |
28 |
> that being said, eselect is NOT the only way to set your profile, you |
29 |
> can just as easily create a symlink. |
30 |
> -Jeremy |
31 |
> |
32 |
|
33 |
We simplified our profiles recently (last Oct-Nov 2010) and I only |
34 |
listed hardened/linux/x86 in profiles.desc. You can manually set |
35 |
|
36 |
ln -s ../usr/portage/profiles/hardened/linux/x86/developer |
37 |
/etc/make.profile |
38 |
|
39 |
The only thing to be careful of is that there is a lot of cruft under |
40 |
the hardened profiles, some really old deprecated material that I have |
41 |
not yet cleared out. You really don't want to use one of that. Just |
42 |
watch out for any warning about deprecated profiles. |
43 |
|
44 |
-- |
45 |
Anthony G. Basile, Ph.D. |
46 |
Gentoo Linux Developer [Hardened] |
47 |
E-Mail : blueness@g.o |
48 |
GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535 |
49 |
GnuPG ID : D0455535 |