Hardened Gentoo, PaX and OpenOffice.org

September 4th, 2010 by Ewald

Just a short blog post: after merging OpenOffice.org on a Hardened Gentoo machine today, I was unable to boot OpenOffice.org Writer (or any of the other OOo programs). While the solution isn’t all that pretty, it is rather simple.

The problem has to do with OpenOffice.org throwing out the following error when trying to boot in Hardened Gentoo:

terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc

Turns out this has to do with the way OpenOffice.org tries to work against the mprotect restrictions. You can lift those restrictions by using paxctl (emerge -av paxctl) in the following way:

# check for current PaX settings:
paxctl -v /usr/lib/openoffice/program/soffice.bin
# disable mprotect:
paxctl -m /usr/lib/openoffice/program/soffice.bin

Now OOo should finally launch. This enables you to write a polite letter to the OOo team asking them to allow us to run OOo with mprotect. ;)

Gentoo blocker: AdobeFlash-10.1 license

June 21st, 2010 by Ewald

Lately, my Adobe Flash on Gentoo amd64 complained about being blocked by the Adobe Flash 10.0 license and since yesterday the 10.1 one. Blocked by a license? Had never seen that before…
Read the rest of this entry »

Signing PGP/GnuPG keys using caff and sSMTP

February 10th, 2010 by Ewald

After attending the keysigning party at FOSDEM 2010, I came home with a large list of PGP/GnuPG keys I needed to sign. At the conference, there was a brief mention of using caff to make this task easier and soon enough, the first emails sent using caff came rolling in. Problem was… I had no experience whatsoever using caff, and the documentation was rather brief. I did manage to figure it all out though.
Read the rest of this entry »

NTPq refuses to provide info on peers

December 23rd, 2009 by Ewald

While equipping my fresh Gentoo server with NTP capabilities I was wondering why after a couple of minutes after starting ntpd, ntpq -p (or ntpq -c peers) was shouting “ntpq: read: Connection refused” at me… What is going on?
Read the rest of this entry »

KSplash freeze using KDE 4, hardened-sources and SELinux enabled

December 11th, 2009 by Ewald

Had a rather unpleasant bug for about a week and could not figure out what the exact issue was. Problem: when booting KDE, the KSplash screen would load and when the KDE gears appeared, the whole system would lock up. As in freeze, not able to switch to different terminal, nothing.
Read the rest of this entry »

Gentoo ten year anniversary

October 12th, 2009 by Ewald

I know, I know, I’m a week late, but still: congratulations Gentoo on ten years of sweet compiling!
Read the rest of this entry »

“Couldn’t load XPCOM” after Firefox upgrade

July 27th, 2009 by Ewald

After Mozilla Firefox 3.5(.1) was finally unmasked in Portage, I upgraded from 3.0. Unfortunately, after the update, Firefox would not start anymore and when started from a terminal, it would leave me with a cryptic “Couldn’t load XPCOM.”.
Read the rest of this entry »

Opening plugins dialog in Pidgin causes Pidgin to crash

June 24th, 2009 by Ewald

I have used Pidgin (previously GAIM) on and off for many years now. A couple of months ago I decided to install it again, which was a pleasant experience. One thing though: whenever I wanted to open the plugins menu, the whole program would come crashing down.
Read the rest of this entry »

This week’s blockers: perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib

June 21st, 2009 by Ewald

Less than a week after my previous post on blockers caused by poppler, perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib pop up as blockers in my emerge -uDN world.
Read the rest of this entry »