Gentoo Archives: gentoo-hardened

From: Grant <emailgrant@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] mono fails to build with a hardened error
Date: Fri, 13 Feb 2009 16:56:44
Message-Id: 49bf44f10902130856v13ac9b47x9223924ecd6c8324@mail.gmail.com
In Reply to: Re: [gentoo-hardened] mono fails to build with a hardened error by Gordon Malm
1 >> Do I really need to disable all hardened features whenever I want to
2 >> emerge mono?
3 >>
4 >> * If you are using any hardening features such as
5 >> * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
6 >> * why build has failed. In this case turn any active security
7 >> * enhancements off and try emerging the package again
8 >>
9 >> - Grant
10 >
11 > If you've enabled PAX_SOFTMODE in your kernel config you can simply turn on
12 > softmode temporarily:
13 >
14 > echo 1 > /proc/sys/kernel/pax/softmode
15 > compile mono
16 > echo 0 > /proc/sys/kernel/pax/softmode
17
18 I get:
19
20 # echo 1 > /proc/sys/kernel/pax/softmode
21 -su: /proc/sys/kernel/pax/softmode: No such file or directory
22
23 So I need to either enable softmode in my kernel or remove hardened
24 features to compile mono?
25
26 - Grant
27
28
29 > fwiw mono tends to only get new stable-marked packages every 6 months or so.
30 >
31 > Gordon Malm (gengor)