<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ewald.tienkamp.nl</title>
	<atom:link href="http://ewald.tienkamp.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://ewald.tienkamp.nl</link>
	<description>Gentoo Linux and whatever else I think needs to be shot into cyberspace.</description>
	<lastBuildDate>Sat, 04 Sep 2010 08:39:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Hardened Gentoo, PaX and OpenOffice.org</title>
		<link>http://ewald.tienkamp.nl/2010/09/04/hardened-gentoo-pax-and-openoffice-org/</link>
		<comments>http://ewald.tienkamp.nl/2010/09/04/hardened-gentoo-pax-and-openoffice-org/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 08:38:46 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[grsecurity]]></category>
		<category><![CDATA[Hardened Gentoo]]></category>
		<category><![CDATA[OpenOffice.org]]></category>
		<category><![CDATA[PaX]]></category>
		<category><![CDATA[paxctl]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=176</guid>
		<description><![CDATA[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&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>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&#8217;t all that pretty, it is rather simple.</p>
<p>The problem has to do with <a href="http://www.openoffice.org/">OpenOffice.org</a> throwing out the following error when trying to boot in <a href="http://www.gentoo.org/proj/en/hardened/">Hardened Gentoo</a>:</p>
<blockquote><p>terminate called after throwing an instance of &#8216;std::bad_alloc&#8217;<br />
  what():  std::bad_alloc</p></blockquote>
<p>Turns out this has to do with the way <a href="http://forums.grsecurity.net/viewtopic.php?t=1817#p7235">OpenOffice.org tries to work against the mprotect restrictions</a>. You can lift those restrictions by using paxctl (emerge -av paxctl) in the following way:</p>
<p><code># check for current PaX settings:<br />
paxctl -v /usr/lib/openoffice/program/soffice.bin<br />
# disable mprotect:<br />
paxctl -m /usr/lib/openoffice/program/soffice.bin</code></p>
<p>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 <em>with</em> mprotect. <img src='http://ewald.tienkamp.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2010/09/04/hardened-gentoo-pax-and-openoffice-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo blocker: AdobeFlash-10.1 license</title>
		<link>http://ewald.tienkamp.nl/2010/06/21/gentoo-blocker-adobeflash-10-1-license/</link>
		<comments>http://ewald.tienkamp.nl/2010/06/21/gentoo-blocker-adobeflash-10-1-license/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 10:32:53 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[blocker]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[license]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=164</guid>
		<description><![CDATA[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&#8230; As of yesterday, emerge -uDN world spits out the following for me: !!! The following updates are masked by LICENSE changes: - www-plugins/adobe-flash-10.1.53.64 [...]]]></description>
			<content:encoded><![CDATA[<p>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&#8230;<br />
<span id="more-164"></span><br />
As of yesterday, emerge -uDN world spits out the following for me:<br />
<code>!!! The following updates are masked by LICENSE changes:<br />
- www-plugins/adobe-flash-10.1.53.64 (masked by: AdobeFlash-10.1 license(s))<br />
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.</code><br />
<code>!!! The following installed packages are masked:<br />
- www-plugins/adobe-flash-10.0.45.2 (masked by: AdobeFlash-10 license(s))<br />
A copy of the 'AdobeFlash-10' license is located at '/usr/portage/licenses/AdobeFlash-10'.<br />
</code><br />
Now I could have looked into the 10.0 error, but hey, it was already installed, so who cares. I could have also paid attention to the notice below the block telling me to look into &#8220;<em>the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook</em>&#8220;. I just couldn&#8217;t be bothered. But, since 10.1 popped up, I resorted to searching the web in hopes of finding a quick and easy way to solve this blocker.</p>
<p>Turns out that just yesterday, the <a href="http://forums.gentoo.org/viewtopic-p-6323437.html#6323437">Spanish GFO presented the correct way to fix this</a>. You can simply create the file /etc/portage/package.license and add a line that accepts the AdobeFlash-10.1 license for the Adobe Flash package in portage:<br />
<code>echo "www-plugins/adobe-flash AdobeFlash-10.1" >> /etc/portage/package.license</code></p>
<p>Just add the line with the command above and rerun emerge -uDN world to upgrade Adobe Flash.</p>
<p><strong>Update Jun 21, 2010 @ 14:00:</strong> You will, however, need the nspluginwrapper package to use Adobe Flash in a 64-bit browser. Also note <a href="https://bugs.gentoo.org/show_bug.cgi?id=322855">this bugreport in special</a> and <a href="https://bugs.gentoo.org/buglist.cgi?quicksearch=adobe+flash">the other bugreports</a> in general.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2010/06/21/gentoo-blocker-adobeflash-10-1-license/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Signing PGP/GnuPG keys using caff and sSMTP</title>
		<link>http://ewald.tienkamp.nl/2010/02/10/signing-pgpgnupg-keys-using-caff-and-ssmtp/</link>
		<comments>http://ewald.tienkamp.nl/2010/02/10/signing-pgpgnupg-keys-using-caff-and-ssmtp/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 23:41:40 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[caff]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[FOSDEM]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[keysigning]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[SHA256]]></category>
		<category><![CDATA[signing-party]]></category>
		<category><![CDATA[sSMTP]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=115</guid>
		<description><![CDATA[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&#8230; I had no [...]]]></description>
			<content:encoded><![CDATA[<p>After attending the <a href="http://fosdem.org/2010/keysigning">keysigning party</a> at <a href="http://fosdem.org/2010/">FOSDEM 2010</a>, 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 <a href="http://pgp-tools.alioth.debian.org/">caff</a> to make this task easier and soon enough, the first emails sent using caff came rolling in. Problem was&#8230; I had no experience whatsoever using caff, and the documentation was rather brief. I did manage to figure it all out though.<br />
<span id="more-115"></span><br />
For this small guide/list of tips, I am assuming you have gpg working and are familiar with your mail settings.</p>
<p>First problem was not that hard to figure out: caff is not called caff in most packagemanagers. So, as I use Gentoo, I typed<br />
<code>emerge -av signing-party</code><br />
and was on my way.</p>
<p>Caff stores it&#8217;s configuration in a user specific file called ~/.caffrc which can just be kept default to be honest. All you need to do is enter your full name, your email address, your keyid (see the config itself for instructions) and optionally customize the message to be sent. The real trick comes when editing some customizations for gpg.</p>
<p>For example, I wanted to define a default signing level. As you may or may not know, PGP keysigning can be fine-tuned by <a href="http://cryptnet.net/mirrors/rfcs/rfc4880.txt">defining your level of confidence in establishing the key owner&#8217;s identity</a>. All in all, as there was some checking of ID&#8217;s and confirming those, but doing this outside and using only one ID of variable quality, I felt level 2 would be the most appropriate (I&#8217;ll write a personal key signing policy in the near future). After some searching around I discovered that it was indeed not the right place to set this in caffrc, as the gpg-sign-args option was not meant to be used like that. To set this default I would normally have to add this preference to ~/.gnupg/gpg.conf, however, caff uses it&#8217;s own gnupg homedir, so nano -w ~/.caff/gnupghome/gpg.conf and add the following:<br />
<code>default-cert-level 2</code><br />
(and any other customizations you feel that are needed, such as &#8220;charset utf-8&#8243;, and did you <a href="http://www.debian-administration.org/users/dkg/weblog/48">switch to SHA256</a> already btw?)</p>
<p>You may, however, use gpg-sign-args to avoid having to manually save the changes after signing each key, if you like. Insert the following in ~/.caffrc:<br />
<code>$CONFIG{'gpg-sign-args'} = 'save';</code></p>
<p>After this, the signing of specific keys with caff should work just fine. But there&#8217;s still the issue of being able to actually send out those keys by email to the owner. For that purpose we can use the very basic sSMTP, which is most likely already present on your system. If not, and when using Gentoo Linux:<br />
<code>emerge -av ssmtp</code></p>
<p>sSMTP comes with two config-files, which both need to be edited to work with my provider&#8217;s TLS enabled mailserver (<a href="http://www.destr0yr.com/article.php/Gmail_and_sSMTP">just like Google&#8217;s Gmail for that matter</a>). I&#8217;ll provide you with both the files (stripped of comments) the way I have them functioning properly:</p>
<p>/etc/ssmtp/ssmtp.conf<br />
<code>root=postmaster<br />
mailhub=mail.provider.tld:587<br />
AuthUser=username<br />
AuthPass=password<br />
rewriteDomain=<br />
hostname=email@domain.tld<br />
FromLineOverride=YES<br />
UseSTARTTLS=YES</code></p>
<p>/etc/ssmtp/revaliases<br />
<code>root:email@domain.tld:mail.provider.tld:587<br />
defaultuser:email@domain.tld:mail.provider.tld:587</code></p>
<p>Finally, this enabled me to send out the signed keys using caff. The current version of caff does <a href="http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg741135.html">add an invalid Sender header</a> consisting of username@hostname unfortunately, though this has reportedly been solved recently. I solved it myself by inserting the Sender line which was added in <a href="http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg741135.html">the patch mentioned above</a>. Feel free to propose other enhancements in the comments.</p>
<p><strong>Update, 16 February 2010:</strong> <a href="http://ewald.tienkamp.info/keysigningpolicy.php">I now have a personal keysigning policy</a>! For automatically adding the policy URL to signatures, I use the following option in gpg.conf:<br />
<code>set-policy-url http://url/to/policy</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2010/02/10/signing-pgpgnupg-keys-using-caff-and-ssmtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a remote file system over ssh using sshfs and non-standard settings</title>
		<link>http://ewald.tienkamp.nl/2010/01/19/mounting-a-remote-file-system-over-ssh-using-sshfs-and-non-standard-settings/</link>
		<comments>http://ewald.tienkamp.nl/2010/01/19/mounting-a-remote-file-system-over-ssh-using-sshfs-and-non-standard-settings/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 22:25:55 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[/etc/fstab]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[IdentityFile]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[non-standard]]></category>
		<category><![CDATA[passwordless login]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[remote filesystem mounting]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>
		<category><![CDATA[uncommon]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=93</guid>
		<description><![CDATA[As usual I had the desire to have a non-common set-up, which was presumably more secure or at the very least more fun to get working. In this case, after rebuilding my server, I wanted to recreate the sshfs setup I had going on in the past, but this time while using a separate IdentityFile, [...]]]></description>
			<content:encoded><![CDATA[<p>As usual I had the desire to have a non-common set-up, which was presumably more secure or at the very least more fun to get working. In this case, after rebuilding my server, I wanted to recreate the sshfs setup I had going on in the past, but this time while using a separate IdentityFile, non-common portnumber and incorporated in my /etc/fstab file. Somehow I forgot how I managed to get that working in the past, so for my own sake and the sake of others seeking help with this, I wrote down the steps I took to get this working, below.<br />
<span id="more-93"></span><br />
First of all, make sure you have sshd working on the machine that physically contains the disks you want to mount remotely. For this tutorial I&#8217;ll call that machine <em>REMOTE</em>. In sshd_config on <em>REMOTE</em> you will want to set (for the setup used in this post) a different port to listen on and enable passwordless login or as it should be referred to: logging in with keys. Then, return here.</p>
<p>Fine, now, on your local machine (<em>LOCAL</em>), generate an IdentityFile to be used for mounting the remote filesystem. I suggest that, while root, you execute the following:<br />
<code>ssh-keygen -f /root/.ssh/<em>YOURKEYFILE</em></code><br />
Assure that permissions are set accordingly:<br />
<code>chmod -R 700 /root/.ssh</code><br />
Now, get the /root/.ssh/<em>YOURKEYFILE</em><strong>.pub</strong> file. Yes, the one ending in .pub, not your secret one. Now, on the machine <em>REMOTE</em>, I suggest you add a new user, to be used solely for mounting with sshfs. Give it a catchy name like <em>REMOTEUSER</em>:<br />
<code>useradd -m <em>REMOTEUSER</em><br />
password <em>REMOTEUSER</em> #do not leave this blank!</code><br />
Now make sure that the contents of <em>YOURKEYFILE</em><strong>.pub</strong> get appended or added to /home/REMOTEUSER/.ssh/authorized_keys (which is of course on REMOTE, not on LOCAL). I don&#8217;t know (or care) how, use scp, use another machine, use an USB stick, you&#8217;ll figure it out.</p>
<p>After all this, you should be able to log into <em>REMOTEUSER</em> from <em>LOCAL</em> by executing the following as root:<br />
<code>ssh -i /root/.ssh/<em>YOURKEYFILE</em> -p <em>REMOTEPORTNUMBER</em> <em>REMOTEUSER</em>@<em>REMOTE</em></code><br />
If this does not work, check logfiles or use debugmodes.</p>
<p>From here it&#8217;s not that much work to get to mounting disks or folders which are physically on <em>REMOTE</em> to <em>LOCAL</em>. First, make sure you have sshfs installed. In Gentoo you can simply emerge:<br />
<code>emerge -av sshfs-fuse</code><br />
Do this.</p>
<p>Now, make sure you know your <em>LOCALMOUNTPOINT</em> (and ensure the empty folder exists by using mkdir) on <em>LOCAL</em> and know which <em>REMOTEMOUNTPOINT</em> you want to mount (located on <em>REMOTE</em>). Try mounting it by executing the following as root:<br />
<code>sshfs <em>REMOTEUSER</em>@<em>REMOTE</em>:<em>REMOTEMOUNTPOINT</em> <em>LOCALMOUNTPOINT</em> -p<em>REMOTEPORTNUMBER</em> -o uid=<em>LOCALUSERID</em> -o gid=<em>DESIREDGROUPID</em> -o idmap=user -o IdentityFile=/root/.ssh/<em>YOURKEYFILE</em> -o allow_other</code><br />
Please pay close attention to which value is entered where, and, if in doubt, read man sshfs. The values for <em>LOCALUSERID</em> and <em>DESIREDGROUPID</em> determine with what ownership the <em>REMOTEMOUNTPOINT</em> is mounted on <em>LOCAL</em>. The numbers entered represent uid and gid numbers residing on <em>LOCAL</em>.</p>
<p>If this works as expected, it is a simple matter of reformatting the above command, so /etc/fstab is able to automatically mount your <em>REMOTEMOUNTPOINT</em> at (<em>LOCAL</em>)boot. Or so I thought. Turns out it was slightly more complicated, but after some trial and error and some more searching the web I came up with the following working line for fstab:<br />
<code>sshfs#<em>REMOTEUSER</em>@<em>REMOTE</em>:<em>REMOTEMOUNTPOINT</em>   <em>LOCALMOUNTPOINT</em>   fuse   port=<em>REMOTEPORTNUMBER</em>,uid=<em>LOCALUSERID</em>,gid=<em>DESIREDGROUPID</em>,idmap=user,IdentityFile=/root/.ssh/<em>YOURKEYFILE</em>,allow_other   0 0</code><br />
That should do the trick! You can test this by ensuring you have not mounted your <em>REMOTEMOUNTPOINT</em> on <em>LOCAL</em> at this moment (try fusermount -u <em>LOCALMOUNTPOINT</em>) and then simply entering:<br />
<code>mount <em>LOCALMOUNTPOINT</em> #Yes, the one you just entered in /etc/fstab</code><br />
That&#8217;s it! Any comments or questions can be directed to the comments below and I will attempt to adjust the above as needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2010/01/19/mounting-a-remote-file-system-over-ssh-using-sshfs-and-non-standard-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NTPq refuses to provide info on peers</title>
		<link>http://ewald.tienkamp.nl/2009/12/23/ntpq-refuses-to-provide-info-on-peers/</link>
		<comments>http://ewald.tienkamp.nl/2009/12/23/ntpq-refuses-to-provide-info-on-peers/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 01:56:01 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[NTP]]></category>
		<category><![CDATA[ntpd]]></category>
		<category><![CDATA[ntpq]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=87</guid>
		<description><![CDATA[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 &#8220;ntpq: read: Connection refused&#8221; at me&#8230; What is going on? After some reading I found out that this error usually means that ntpd is not running. [...]]]></description>
			<content:encoded><![CDATA[<p>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 &#8220;ntpq: read: Connection refused&#8221; at me&#8230; What is going on?<br />
<span id="more-87"></span><br />
After some reading I found out that this error usually means that ntpd is not running. But why?<br />
<code>tail /var/log/messages</code><br />
&#8230;did not leave me with any information on possible errors.</p>
<p>Yet after some more searching I discovered that <a href="http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-trouble.htm#AEN4599">ntpd quits if it discovers that the time offset is too large</a>. As my server time was about 1 hour off, that kind of made sense. Another logfile revealed that this was indeed the issue:<br />
<code>tail /var/log/syslog</code></p>
<blockquote><p>time correction of -3635 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time.</p></blockquote>
<p>So how do we do that? Easy:<br />
<code>date MMDDhhmmYYYY #(Month, Day, hour, minute and Year)</code></p>
<p>And presto, problem solved! Do note that some programs may not appreciate sudden jumps in system time which you do cause by manually setting system time.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/12/23/ntpq-refuses-to-provide-info-on-peers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KSplash freeze using KDE 4, hardened-sources and SELinux enabled</title>
		<link>http://ewald.tienkamp.nl/2009/12/11/ksplash-freeze-using-kde-4-hardened-sources-and-selinux-enabled/</link>
		<comments>http://ewald.tienkamp.nl/2009/12/11/ksplash-freeze-using-kde-4-hardened-sources-and-selinux-enabled/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 00:31:23 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[hardened-sources]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kernel panic]]></category>
		<category><![CDATA[KSplash]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=82</guid>
		<description><![CDATA[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. Now, I figured that [...]]]></description>
			<content:encoded><![CDATA[<p>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.<br />
<span id="more-82"></span><br />
Now, I figured that this had probably something to do with a kernel panic thrown by SELinux (as I had experienced before with a specific wifi driver). The problem was that I had no idea how to determine what exactly was causing this kernel panic.</p>
<p>After some first attempts at fixing SELinux settings, switching SELinux on and off, rerunning rlpkg -a -r, and obviously furiously checking /var/log, I was out of ideas and started searching the web for anyone with a similar problem.</p>
<p>There I found many suggestions, such as <a href="https://bugzilla.redhat.com/show_bug.cgi?id=422061">checking ~/.xsession-errors</a> (how did I miss that?). Turns out this file was cut off rather abruptly, without (at least so it seemed to me) a clear reason and clearly different from any other .xsession-errors files I had available. Hence reinforcing my idea that some SELinux kernel panic was the reason for my troubles.</p>
<p>When searching through Gentoo Bugzilla, I stumbled upon <a href="https://bugs.gentoo.org/show_bug.cgi?id=274887">bug #274887</a>, concerning a kernel panic occurring when using sys-kernel/hardened-sources-2.6.28-r9 and SELinux. A simple workaround was to <a href="http://groups.google.com/group/linux.kernel/browse_thread/thread/fedc7fa04e7f5266/d2a8094509baaf80?#d2a8094509baaf80">use selinux_compat_net=0 when booting the kernel</a>. Turns out that this finally fixed it for me. Yay! Now to decide: wait for the devs to apply the kernel patch or manually upgrade to a newer (non-stable) kernel?</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/12/11/ksplash-freeze-using-kde-4-hardened-sources-and-selinux-enabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo ten year anniversary</title>
		<link>http://ewald.tienkamp.nl/2009/10/12/gentoo-ten-year-anniversary/</link>
		<comments>http://ewald.tienkamp.nl/2009/10/12/gentoo-ten-year-anniversary/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 09:10:51 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[anniversary]]></category>
		<category><![CDATA[Gentoo Ten]]></category>
		<category><![CDATA[live DVD]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=75</guid>
		<description><![CDATA[I know, I know, I&#8217;m a week late, but still: congratulations Gentoo on ten years of sweet compiling! To find all the info you need, go and see the news post, the FGO discussion and grab one of the celebratory wallpapers. Also, an update to the Gentoo 10.0 live DVD has been released, so download [...]]]></description>
			<content:encoded><![CDATA[<p>I know, I know, I&#8217;m a week late, but still: congratulations Gentoo on ten years of sweet compiling!<br />
<span id="more-75"></span><br />
To find all the info you need, go and see the <a href="http://www.gentoo.org/news/20091004-gentoo-10-years.xml">news post</a>, the <a href="http://forums.gentoo.org/viewtopic-t-795558.html">FGO discussion</a> and grab one of the <a href="http://www.gentoo.org/proj/en/pr/releases/10.0/graphics.xml">celebratory wallpapers</a>.</p>
<p>Also, an <a href="http://linuxcrazy.com/?q=node/77">update to the Gentoo 10.0 live DVD has been released</a>, so download the Gentoo 10.1 anniversary live DVD for <a href="http://bouncer.gentoo.org/fetch/gentoo-10.1-livedvd/x86/">x86</a> or <a href="http://bouncer.gentoo.org/fetch/gentoo-10.1-livedvd/amd64/">amd64</a>.</p>
<p>Ah, for me it&#8217;s been only about three years since I went from Ubuntu to Gentoo Linux, but it was a great moment: finally the control over my OS that I was craving for, which was my reason for leaving Windows in the first place. Now all I&#8217;m waiting for is an official Gentoo shop to buy a professionally pressed copy of the Gentoo 10.1 Live DVD&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/10/12/gentoo-ten-year-anniversary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Couldn&#8217;t load XPCOM&#8221; after Firefox upgrade</title>
		<link>http://ewald.tienkamp.nl/2009/07/27/couldnt-load-xpcom-after-firefox-upgrade/</link>
		<comments>http://ewald.tienkamp.nl/2009/07/27/couldnt-load-xpcom-after-firefox-upgrade/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 09:34:50 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[nss]]></category>
		<category><![CDATA[revdep-rebuild]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[XPCOM]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=67</guid>
		<description><![CDATA[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 &#8220;Couldn&#8217;t load XPCOM.&#8221;. Searching around for this error did not provide me with many easy to apply solutions. I found [...]]]></description>
			<content:encoded><![CDATA[<p>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 &#8220;Couldn&#8217;t load XPCOM.&#8221;.<br />
<span id="more-67"></span><br />
Searching around for this error did not provide me with many easy to apply solutions. I found quite a few forumposts and a Mozilla Dev page on this specific error.</p>
<p>In this case, the forumposts lead me to the rather easy solution: if, when using Gentoo, you encounter a problem with dependencies, simply run revdep-rebuild:<br />
<code>revdep-rebuild -p</code><br />
In this case, <a href="http://www.mozilla.org/projects/security/pki/nss/">nss</a> turned out to be the culprit and after a remerge (rerun revdep-rebuild without the -p flag) Firefox 3.5 would load as expected.</p>
<p>If you happen to find this page, but are not a Gentoo, but a different Linux or even a Windows or Mac OSX user, try some of the suggestions suitable for your OS, found in the <a href="https://developer.mozilla.org/en/Troubleshooting_XPCOM_components_registration">Mozilla Developers Center</a>.</p>
<p>[edit]28 July: according to the visitor numbers, I&#8217;m not the only one to experience this error. If people want to let me know whether this did or did not solve the issue for them, leave a comment below.[/edit]</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/07/27/couldnt-load-xpcom-after-firefox-upgrade/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Opening plugins dialog in Pidgin causes Pidgin to crash</title>
		<link>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 19:11:55 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[Gathering of Tweakers]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[package.use]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[smileys]]></category>
		<category><![CDATA[USE flags]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=60</guid>
		<description><![CDATA[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. After a few months of living without any [...]]]></description>
			<content:encoded><![CDATA[<p>I have used <a href="http://pidgin.im">Pidgin</a> (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.<br />
<span id="more-60"></span><br />
After a few months of living without any of the plugins, I decided to sit down and figure out what was causing the crash.</p>
<p>Figured I&#8217;d try enabling and disabling some of the USE flags for Pidgin, but without any luck, it still crashed. Then I went for compiling it with the debug USE flag enabled, as was suggested when running from the terminal. (yeah, yeah, should&#8217;ve gone for that sooner <img src='http://ewald.tienkamp.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>This time I found out the crash occurred immediately when the perl module was probed:</p>
<blockquote><p>(22:11:20) plugins: probing /usr/lib/purple-2/perl.so<br />
Hi, user.  We need to talk.<br />
I think something&#8217;s gone wrong here.  It&#8217;s probably my fault.<br />
No, really, it&#8217;s not you&#8230; it&#8217;s me&#8230; no no no, I think we get along well it&#8217;s just that&#8230;. well, I want to see other people.  I&#8230; what?!?  NO!  I haven&#8217;t been cheating on you!!  How many times do you want me to tell you?!  And for the last time, it&#8217;s just a rash!<br />
Aborted
</p></blockquote>
<p>Somehow it crashed right there, but I have as of yet not figured out why. My (temporary) solution is to merge Pidgin with the perl USE flag disabled, as it is enabled by default.</p>
<p>Enter nano<br />
<code>nano -w /etc/portage/package.use</code><br />
and append or insert the following line:<br />
<code>net-im/pidgin gtk -perl</code><br />
(if you use Gnome by default you&#8217;ll probably not need to add the gtk USE flag)</p>
<p>When remerging Pidgin after this, I can open the plugins dialog without any problems. Thing is: I can&#8217;t reproduce this problem on my trusty little netbook, which is rather odd. Probably has something to do with my perl install or config&#8230; but I don&#8217;t feel like diving in there (yet). It works, I&#8217;m happy, but if anyone has any suggestions, feel free to drop me a line.</p>
<p>On a related note, I prefer the <a href="http://gathering.tweakers.net/forum/faq/forumsurvival#smilies">smileys used on Gathering of Tweakers</a> and found out they are included in the <a href="http://www.gentoo-portage.com/x11-themes/pidgin-smileys">smileypack available through Portage</a>.</p>
<p>If you&#8217;re using stable, you&#8217;ll find that it is masked, so add<br />
<code>x11-themes/pidgin-smileys ~x86</code><br />
(change for whatever arch you&#8217;re using) to package.keywords:<br />
<code>nano -w /etc/portage/package.keywords</code><br />
and you are free to emerge the pack:<br />
<code>emerge pidgin-smileys</code><br />
You don&#8217;t have to restart Pidgin to enable them, just head on over to preferences and enjoy!</p>
<p><b>Update 25th of June 2009:</b> You can also extract the larger <a href="http://sourceforge.net/tracker/?func=detail&#038;aid=1267415&#038;group_id=235&#038;atid=746976">DiGiTheme zipfile</a> in ~/.purple/smileys for even more GoT (and some MSN) smileys <img src='http://ewald.tienkamp.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>This week&#8217;s blockers: perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib</title>
		<link>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 13:11:57 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[Compress-Zlib]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[perl-core]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[world]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=55</guid>
		<description><![CDATA[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. This week&#8217;s update greeted me with the following message: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. [...]]]></description>
			<content:encoded><![CDATA[<p>Less than a week after my <a href="http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/">previous post on blockers caused by poppler</a>, perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib pop up as blockers in my emerge -uDN world.<br />
<span id="more-55"></span><br />
This week&#8217;s update greeted me with the following message:</p>
<blockquote><p>
 * Error: The above package list contains packages which cannot be<br />
 * installed at the same time on the same system.</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Compress-Zlib-2.015&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    perl-core/IO-Compress-Zlib required by world</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Compress-2.020&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Zlib-1.09&#8242;, &#8216;nomerge&#8217;)<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/perl-Compress-Zlib-2.020&#8242;, &#8216;merge&#8217;)<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/perl-IO-Compress-Base-2.020&#8242;, &#8216;merge&#8217;)<br />
    (and 5 more)</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/Compress-Zlib-2.015&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    perl-core/Compress-Zlib required by world
</p></blockquote>
<p>Fortunately, after seeing this and having seen poppler doing the exact same, I knew the solution. Clearly perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib were somehow present in world, while they should be mere dependencies.</p>
<p>The fix was just like last week&#8217;s fix:<br />
<code>emerge -C perl-core/Compress-Zlib perl-core/IO-Compress-Zlib</code></p>
<p>Easy does it! For more details, <a href="http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/">see the previous post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
