<?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>K-Squared Ramblings &#187; Troubleshooting</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Resolving SELinux audit errors on boot in Fedora Core 4</title>
		<link>http://www.hyperborea.org/journal/2005/06/selinux-errors-fedora-4/</link>
		<comments>http://www.hyperborea.org/journal/2005/06/selinux-errors-fedora-4/#comments</comments>
		<pubDate>Wed, 22 Jun 2005 17:37:11 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=949</guid>
		<description><![CDATA[I&#8217;ve upgraded two systems at work from Fedora Core&#160;3 to Fedora Core&#160;4: a desktop using the normal installer, and a test server upgrading with yum. The yum upgrade worked well except for two snags. The first was a conflict with &#8230; <a href="http://www.hyperborea.org/journal/2005/06/selinux-errors-fedora-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve upgraded two systems at work from Fedora Core&nbsp;3 to Fedora Core&nbsp;4: a desktop using the normal installer, and a test server <a href="http://fedoraproject.org/wiki/YumUpgradeFaq">upgrading with yum</a>.  The yum upgrade worked well except for two snags.  The first was a conflict with the old kernel-utils package.  I followed the recommendation by installing the new kernel first, rebooting, then removing the old kernel.</p>
<p>The second was that <abbr title="Security Enhanced Linux">SELinux</abbr> denied access to about a dozen services on start-up.  It was in auditing mode, not enforcing mode, so the services still worked, but I wanted to be able to start enforcing the policy once I resolved some other issues.<br />
<span id="more-949"></span><br />
After digging through the <a href="http://docs.fedoraproject.org/selinux-faq/">Fedora Core SELinux FAQ</a>, messing with restorecon and relabeling, I noticed that it didn&#8217;t log any errors when I restarted the services manually, only when they started on boot.  I looked more closely at log entries.  Here&#8217;s a typical one:</p>
<p><code>Jun 22 09:21:06 &lt;servername&gt; kernel: audit(1119457266.772:14): avc:  denied  { use } for  pid=1941 comm=&quot;ntpdate&quot; name=init <strong>dev=rootfs</strong> ino=8 scontext=system_u:system_r:ntpd_t tcontext=system_u:system_r:kernel_t tclass=fd</code></p>
<p>The device, <i>rootfs</i>, was the key.  When I had installed the new kernel, it was running under the simpler SELinux policy for Fedora Core&nbsp;3.  The &#8220;targeted&#8221; policy in Fedora Core&nbsp;4 covers more services.  So the initial ramdisk the kernel uses to boot had everything labeled <em>for the old policy</em>.</p>
<p><strong>Solution:</strong> Rebuild the initrd.  Reboot.  Done.</p>
<p><code>mv /boot/initrd-2.6.11-1.1369_FC4.img \<br />
&nbsp;&nbsp;&nbsp;/boot/initrd-2.6.11-1.1369_FC4.img.bak;</code><br />
<code>/sbin/mkinitrd initrd-2.6.11-1.1369_FC4.img \<br />
&nbsp;&nbsp;&nbsp; 2.6.11-1.1369_FC4</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2005/06/selinux-errors-fedora-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invisible Grub Boot Menu</title>
		<link>http://www.hyperborea.org/journal/2005/04/invisible-grub-boot-menu/</link>
		<comments>http://www.hyperborea.org/journal/2005/04/invisible-grub-boot-menu/#comments</comments>
		<pubDate>Sat, 30 Apr 2005 03:37:12 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[bootloader]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[Long]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2005/04/29/invisible-grub-boot-menu/</guid>
		<description><![CDATA[I recently upgraded my computer&#8217;s motherboard and processor, and spent the next few days trying to work out which glitches were hardware related and which were coincidental. One problem I had was that the GRUB bootloader menu would not appear &#8230; <a href="http://www.hyperborea.org/journal/2005/04/invisible-grub-boot-menu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my computer&#8217;s motherboard and processor, and spent the next few days trying to work out which glitches were hardware related and which were coincidental.  One problem I had was that the <abbr title="GRand Unified Boot loader">GRUB</abbr> bootloader menu would not appear when the computer started.  It was clearly there.   It would boot to the default operating system after 10 seconds.  If I hit an arrow key it would stop and wait for me to choose an OS.  It just didn&#8217;t show up.  All I got was a black screen with a cursor in the upper left corner.</p>
<p>On top of that, when Linux started booting, the screen was messed up as if the character set had been run through a meat grinder.  You could tell what the letters were, but there was a ton of extra garbage.  Then, when <code>init</code> set the character set, the gibberish cleared up and the screen looked normal again.</p>
<p>I had been dealing with other problems that looked like video card or driver issues, but I eventually realized that the problem had nothing to do with the hardware upgrade.</p>
<p><span id="more-833"></span></p>
<p>About a week earlier, I had removed a couple of partitions from my hard drive and resized some of the remaining ones.  Because I had to recover this drive from a <a href="http://www.hyperborea.org/journal/2003/10/disconectiva/">hosed partition table</a> a while back, the <code>/boot</code> partition was created later than some of the data partitions&#8212;including the ones I wanted to remove.  So when I deleted partitions 6&#8211;8, <code>/boot</code> went from being partition 12 to partition 9.</p>
<p>When I updated <code>grub.conf</code> to look for the OS on partition 9&#8212;<code>(hd0,8)</code> in GRUB&#8217;s start-from-zero mentality&#8212;I forgot to update the line that tells it where to find the menu&#8217;s background image.  It still read, <code>splashimage=(hd0,11)</code>&#8230;</p>
<p>I&#8217;d never noticed it because I&#8217;ve gotten into the habit of turning the computer on, then walking into another room while it boots.  The default OS started up fine, so I never saw the blank screen or gibberish until the hardware upgrade had me sitting there, watching it boot.</p>
<p>So if you find that your GRUB menu just isn&#8217;t showing up, but your system still boots&#8230; <strong>check <code>splashimage</code> and make sure it points at a real file</strong>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2005/04/invisible-grub-boot-menu/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

