<?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 &#187; Desktop</title>
	<atom:link href="http://ewald.tienkamp.nl/category/desktop/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.4</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>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>&#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>9</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>3</slash:comments>
		</item>
		<item>
		<title>emerge -u world causes poppler blocks</title>
		<link>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:59:32 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[poppler]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=41</guid>
		<description><![CDATA[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&#8217;t quite what I needed. During my [...]]]></description>
			<content:encoded><![CDATA[<p>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&#8217;t quite what I needed.<br />
<span id="more-41"></span></p>
<p>During my initial emerge -uDN world I was confronted with the following list of blocks:</p>
<blockquote><p>Conflict: 7 blocks (6 unsatisfied)</p>
<p> * Error: The above package list contains packages which cannot be<br />
 * installed at the same time on the same system.</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-glib-0.10.7[cairo] required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;media-gfx/gimp-2.6.4&#8242;, &#8216;nomerge&#8217;)<br />
    ~dev-libs/poppler-glib-0.10.7[cairo] required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;)</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-qt3-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-qt3-0.10.7 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;kde-base/kpdf-3.5.10-r1&#8242;, &#8216;nomerge&#8217;)<br />
    ~dev-libs/poppler-qt3-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-qt3-0.10.7&#8242;, &#8216;merge&#8217;)</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;app-text/poppler-bindings-0.10.5-r1&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    app-text/poppler-bindings required by world</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;app-text/poppler-utils-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~app-text/poppler-utils-0.10.7[abiword] required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-utils-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~app-text/poppler-utils-0.10.7[abiword] required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;net-print/cups-1.3.10-r1&#8242;, &#8216;nomerge&#8217;)</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;app-office/openoffice-3.0.0&#8242;, &#8216;nomerge&#8217;)<br />
    (and 2 more)</p>
<p>For more information about Blocked Packages, please refer to [snip]</p></blockquote>
<p>Now if I read through this list carefully I might have spotted the culprit before resorting to a websearch, but unfortunately I didn&#8217;t. Both poppler*-0.10.7 and poppler*-0.10.5-r1 were required and I didn&#8217;t realize why.</p>
<p>Turns out the solution was my sloppy Gentoo-past haunting me: <a href="http://forums.gentoo.org/viewtopic-p-5728706.html" title="Gentoo Forums - Poppler blockers, must unmerge poppler to fix [SOLVED]">poppler does not belong in world</a>. In the past I may have emerged software that did not belong in world without -1, as I just didn&#8217;t see the issue with that. Well, here it was.</p>
<p>To remove poppler (and others) from world, use:<br />
<code>emerge -C app-text/poppler app-text/poppler-bindings</code><br />
Followed by<br />
<code>emerge -uDN world</code><br />
(assuming you have set &#8211;ask (and &#8211;verbose) as EMERGE_DEFAULT_OPTS)</p>
<p>For anyone who, after reading this, is still somewhat puzzled as to the how and why of world, try the <a href="http://www.gentoo.org/doc/en/index.xml?catid=gentoo">Gentoo documentation on Portage</a> or browse through man emerge.</p>
<p>In my own (probably not quite correct) words: whenever you install a major piece of software, use emerge without -1, to ensure it is recorded in the so called world file. Whenever you update your world file using emerge -u world, the packages in the world file will be updated. In case a package is a dependency, Portage will automatically upgrade it once something in the world file requests it. As poppler was recorded in the world file, while it should have been a dependency, a conflict arose when other package in world were requesting an update. So whenever you have the need to manually install a dependency, use emerge -1 [packagename].</p>
<p>TL;DR: no dependencies in world please.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Scanning for Conficker using Nmap under Gentoo Linux</title>
		<link>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/</link>
		<comments>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/#comments</comments>
		<pubDate>Mon, 18 May 2009 20:53:08 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Conficker]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[package.use]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[USE flags]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=8</guid>
		<description><![CDATA[Well, that was what I wanted. I know, Conficker was hot months ago. But hey, I&#8217;m not often around Windows machines and I thought that while I was, I might just as well scan my parents&#8217;s network. So there I was with my little netbook, most recent Nmap (nmap-4.85_beta8) loaded, ready to go. A quick [...]]]></description>
			<content:encoded><![CDATA[<p>Well, that was what I wanted. I know, Conficker was hot months ago. But hey, I&#8217;m not often around Windows machines and I thought that while I was, I might just as well scan my parents&#8217;s network.<br />
<span id="more-8"></span><br />
So there I was with my little netbook, most recent Nmap (nmap-4.85_beta8) loaded, ready to go. A quick Google search taught me the right command.</p>
<p>But it failed.</p>
<p><code>nmap: unrecognized option '--script'<br />
[snip: followed by regular nmap --help output]</code></p>
<p>Eh?</p>
<p>As my thinking was suspended, I went for Google to find me the culprit responsible for this error. No results. What? Ah, well, this is just why I wanted my own blog: to enhance Google with yet unknown knowledge (or knowledge previously only available in obscure languages). Now only to find the solution&#8230;</p>
<p>Turns out it was actually rather simple: compile <a href="http://www.gentoo-portage.com/net-analyzer/nmap/USE#ptabs" title="Gentoo-Portage.com - nmap USE flags">Nmap with the lua USE flag</a>. Yes, that&#8217;s all.</p>
<p><i>OPEN PACKAGE.USE</i><br />
<code>nano /etc/portage/package.use</code><br />
<i>AND INSERT</i><br />
<code>net-analyzer/nmap lua</code><br />
<i>OR ON A TERMINAL ENTER</i><br />
<code>echo "net-analyzer/nmap lua" >> /etc/portage/package.use</code></p>
<p>After this you&#8217;re good to go.</p>
<p>While I&#8217;m at it, let&#8217;s leave you with the recommended scan options at the moment of writing:</p>
<p><code>#Source: <a href="http://nmap.org/changelog.html" title="Nmap changelog">Nmap changelog</a><br />
  o Recommended command for a fast Conficker scan (combine into 1 line):<br />
    nmap -p139,445 --script p2p-conficker,smb-os-discovery,smb-check-vulns<br />
    --script-args checkconficker=1,safe=1 -T4 [target networks]<br />
  o Recommended command for a more comprehensive (but slower) scan:<br />
    nmap --script p2p-conficker,smb-os-discovery,smb-check-vulns -p-<br />
    --script-args checkall=1,safe=1 -T4 [target networks]<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

