public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] mono fails to build with a hardened error
@ 2009-02-12 22:18 Grant
  2009-02-13 16:23 ` Gordon Malm
  0 siblings, 1 reply; 4+ messages in thread
From: Grant @ 2009-02-12 22:18 UTC (permalink / raw
  To: gentoo-hardened

Do I really need to disable all hardened features whenever I want to
emerge mono?

 * If you are using any hardening features such as
 * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
 * why build has failed. In this case turn any active security
 * enhancements off and try emerging the package again

- Grant



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-hardened] mono fails to build with a hardened error
  2009-02-12 22:18 [gentoo-hardened] mono fails to build with a hardened error Grant
@ 2009-02-13 16:23 ` Gordon Malm
  2009-02-13 16:56   ` Grant
  2009-02-20 19:56   ` Grant
  0 siblings, 2 replies; 4+ messages in thread
From: Gordon Malm @ 2009-02-13 16:23 UTC (permalink / raw
  To: gentoo-hardened

On Thursday, February 12, 2009 14:18:34 Grant wrote:
> Do I really need to disable all hardened features whenever I want to
> emerge mono?
>
>  * If you are using any hardening features such as
>  * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
>  * why build has failed. In this case turn any active security
>  * enhancements off and try emerging the package again
>
> - Grant

If you've enabled PAX_SOFTMODE in your kernel config you can simply turn on 
softmode temporarily:

echo 1 > /proc/sys/kernel/pax/softmode
compile mono
echo 0 > /proc/sys/kernel/pax/softmode

fwiw mono tends to only get new stable-marked packages every 6 months or so.

Gordon Malm (gengor)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-hardened] mono fails to build with a hardened error
  2009-02-13 16:23 ` Gordon Malm
@ 2009-02-13 16:56   ` Grant
  2009-02-20 19:56   ` Grant
  1 sibling, 0 replies; 4+ messages in thread
From: Grant @ 2009-02-13 16:56 UTC (permalink / raw
  To: gentoo-hardened

>> Do I really need to disable all hardened features whenever I want to
>> emerge mono?
>>
>>  * If you are using any hardening features such as
>>  * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
>>  * why build has failed. In this case turn any active security
>>  * enhancements off and try emerging the package again
>>
>> - Grant
>
> If you've enabled PAX_SOFTMODE in your kernel config you can simply turn on
> softmode temporarily:
>
> echo 1 > /proc/sys/kernel/pax/softmode
> compile mono
> echo 0 > /proc/sys/kernel/pax/softmode

I get:

# echo 1 > /proc/sys/kernel/pax/softmode
-su: /proc/sys/kernel/pax/softmode: No such file or directory

So I need to either enable softmode in my kernel or remove hardened
features to compile mono?

- Grant


> fwiw mono tends to only get new stable-marked packages every 6 months or so.
>
> Gordon Malm (gengor)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-hardened] mono fails to build with a hardened error
  2009-02-13 16:23 ` Gordon Malm
  2009-02-13 16:56   ` Grant
@ 2009-02-20 19:56   ` Grant
  1 sibling, 0 replies; 4+ messages in thread
From: Grant @ 2009-02-20 19:56 UTC (permalink / raw
  To: gentoo-hardened

>> Do I really need to disable all hardened features whenever I want to
>> emerge mono?
>>
>>  * If you are using any hardening features such as
>>  * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
>>  * why build has failed. In this case turn any active security
>>  * enhancements off and try emerging the package again
>>
>> - Grant
>
> If you've enabled PAX_SOFTMODE in your kernel config you can simply turn on
> softmode temporarily:
>
> echo 1 > /proc/sys/kernel/pax/softmode
> compile mono
> echo 0 > /proc/sys/kernel/pax/softmode
>
> fwiw mono tends to only get new stable-marked packages every 6 months or so.
>
> Gordon Malm (gengor)

Worked perfectly, thank you.

- Grant



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-20 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 22:18 [gentoo-hardened] mono fails to build with a hardened error Grant
2009-02-13 16:23 ` Gordon Malm
2009-02-13 16:56   ` Grant
2009-02-20 19:56   ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox