<?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; hardened-sources</title>
	<atom:link href="http://ewald.tienkamp.nl/tag/hardened-sources/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>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>
	</channel>
</rss>

