Archive for the ‘Desktop’ Category

Hardened Gentoo, PaX and OpenOffice.org

Saturday, September 4th, 2010

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

Monday, June 21st, 2010

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…
(more…)

Signing PGP/GnuPG keys using caff and sSMTP

Wednesday, February 10th, 2010

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.
(more…)

NTPq refuses to provide info on peers

Wednesday, December 23rd, 2009

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?
(more…)

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

Friday, December 11th, 2009

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.
(more…)

“Couldn’t load XPCOM” after Firefox upgrade

Monday, July 27th, 2009

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.”.
(more…)

Opening plugins dialog in Pidgin causes Pidgin to crash

Wednesday, June 24th, 2009

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.
(more…)

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

Sunday, June 21st, 2009

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.
(more…)

emerge -u world causes poppler blocks

Monday, June 15th, 2009

When updating world, as we should all do every now and then, yesterday I was confronted with a number of different blocks relating to poppler. Usually I find it easiest to unmerge a blocking package by hand and see if the dependency conflict resolves itself. This time that wasn’t quite what I needed.
(more…)

Scanning for Conficker using Nmap under Gentoo Linux

Monday, May 18th, 2009

Well, that was what I wanted. I know, Conficker was hot months ago. But hey, I’m not often around Windows machines and I thought that while I was, I might just as well scan my parents’s network.
(more…)