<?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>blog.arithm &#187; Gentoo</title>
	<atom:link href="http://blog.arithm.com/category/gentoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.arithm.com</link>
	<description>Software.  Politics.  Tinfoil hat conjecture.</description>
	<lastBuildDate>Fri, 13 Jan 2012 19:00:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Must remember:  dispatch-conf</title>
		<link>http://blog.arithm.com/2010/01/05/must-remember-dispatch-conf/</link>
		<comments>http://blog.arithm.com/2010/01/05/must-remember-dispatch-conf/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 12:35:06 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[dispatch-conf]]></category>
		<category><![CDATA[etc-update]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1124</guid>
		<description><![CDATA[Instead of etc-update.   So.  Much.  Easier. Why can&#8217;t Gentoo come up with easy-to-remember command names.  Like &#8220;updateallthedamnconffiles -anddontaskanystupidquestions&#8220;. I&#8217;m going to spend the morning aliasing.]]></description>
			<content:encoded><![CDATA[<p>Instead of etc-update.   So.  Much.  Easier.</p>
<p>Why can&#8217;t Gentoo come up with easy-to-remember command names.  Like &#8220;<code>updateallthedamnconffiles -anddontaskanystupidquestions</code>&#8220;.</p>
<p>I&#8217;m going to spend the morning aliasing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2010/01/05/must-remember-dispatch-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo&#8217;s sshd sometimes won&#8217;t restart after upgrade&#8230;</title>
		<link>http://blog.arithm.com/2009/08/02/gentoos-sshd-sometimes-wont-restart-after-upgrade/</link>
		<comments>http://blog.arithm.com/2009/08/02/gentoos-sshd-sometimes-wont-restart-after-upgrade/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 15:27:50 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1005</guid>
		<description><![CDATA[It can be a little alarming to see &#8220;!!&#8221; in response to attempts to restart sshd.  This has been a problem on Gentoo for some time and seems to occur whenever sshd is upgraded. To make sshd happy again, killall and restart: # killall sshd &#38;&#38; /etc/init.d/sshd zap start Don&#8217;t forget to chain these commands, [...]]]></description>
			<content:encoded><![CDATA[<p>It can be a little alarming to see &#8220;!!&#8221; in response to attempts to restart sshd.  This has been a problem on Gentoo for some time and seems to occur whenever sshd is upgraded.</p>
<p>To make sshd happy again, killall and restart:</p>
<p><code># killall sshd &amp;&amp; /etc/init.d/sshd zap start</code></p>
<p>Don&#8217;t forget to chain these commands, otherwise good luck getting back in.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/08/02/gentoos-sshd-sometimes-wont-restart-after-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why does emerge suddenly want to rebuild all your packages?</title>
		<link>http://blog.arithm.com/2009/06/16/why-does-emerge-suddenly-want-to-rebuild-all-your-packages/</link>
		<comments>http://blog.arithm.com/2009/06/16/why-does-emerge-suddenly-want-to-rebuild-all-your-packages/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 09:40:40 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[emerge]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=967</guid>
		<description><![CDATA[Because the default Portage behavior has changed. Old: $ emerge world New: $ emerge -u world New Portage thinks that a simple &#8220;emerge world&#8221; means you want to reinstall everything. Shame on you for not zealously reading and memorizing everything that Portage has to tell you. Bad Admin. Bad.]]></description>
			<content:encoded><![CDATA[<p>Because the default Portage behavior has changed.</p>
<p>Old:  <code>$ emerge world</code><br />
New:  <code>$ emerge -u world</code> </p>
<p>New Portage thinks that a simple &#8220;emerge world&#8221; means you want to reinstall everything.  </p>
<p>Shame on you for not zealously reading and memorizing everything that Portage has to tell you.  Bad Admin.  Bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/06/16/why-does-emerge-suddenly-want-to-rebuild-all-your-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I love Gentoo</title>
		<link>http://blog.arithm.com/2008/06/30/why-i-love-gentoo/</link>
		<comments>http://blog.arithm.com/2008/06/30/why-i-love-gentoo/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 18:08:13 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[com_err]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=198</guid>
		<description><![CDATA[After doing an emerge world on an older box I get: * Messages for package sys-libs/com_err-1.40.4: * PLEASE PLEASE take note of this * Please make *sure* to run revdep-rebuild now * Certain things on your system may have linked against a * different version of com_err -- those things need to be * recompiled.  [...]]]></description>
			<content:encoded><![CDATA[<p>After doing an <code>emerge world</code> on an older box I get:</p>
<p><code>* Messages for package sys-libs/com_err-1.40.4:</code></p>
<p><code>* PLEASE PLEASE take note of this<br />
* Please make *sure* to run revdep-rebuild now<br />
* Certain things on your system may have linked against a<br />
* different version of com_err -- those things need to be<br />
* recompiled.  Sorry for the inconvenience</code></p>
<p>In other words, &#8220;This update is going to break your system.  <del datetime="2008-06-30T22:13:21+00:00">We kind of screwed up.</del>  Something changed.  Here&#8217;s how to fix it.&#8221;</p>
<p>So now I don&#8217;t have to google around frantically trying to figure out why <code>randomservice<strong>d</strong></code> is suddenly failing.  And the Gentoo guys even <em>apologize</em>.</p>
<p>Honesty, transparency, and humility in software.  Go figure.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/06/30/why-i-love-gentoo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Portage Logging</title>
		<link>http://blog.arithm.com/2008/06/05/portage-logging/</link>
		<comments>http://blog.arithm.com/2008/06/05/portage-logging/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 16:19:34 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[elog]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[portage]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=313</guid>
		<description><![CDATA[Something else I should have known about long ago.   To turn on logging in portage, simply add the following to /etc/make.conf: PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_SYSTEM="save" The will add log files for each package to /var/log/portage/elog/: # ls -lah total 108K drwxrws--- 2 portage portage 4.0K 2008-06-06 01:13 . drwxr-xr-x 3 root    root    4.0K 2007-10-04 12:29 [...]]]></description>
			<content:encoded><![CDATA[<p>Something else I should have known about long ago.   To turn on logging in portage, simply add the following to <code>/etc/make.conf</code>:</p>
<p><code>PORTAGE_ELOG_CLASSES="warn error log"<br />
PORTAGE_ELOG_SYSTEM="save"</code></p>
<p>The will add log files for each package to <code>/var/log/portage/elog/</code>:<br />
<code><br />
# ls -lah<br />
total 108K<br />
drwxrws--- 2 portage portage 4.0K 2008-06-06 01:13 .<br />
drwxr-xr-x 3 root    root    4.0K 2007-10-04 12:29 ..<br />
-rw-r--r-- 1 root    portage  200 2008-06-06 00:58 dev-db:postgresql-8.0.15:20080605-155810.log<br />
-rw-rw-r-- 1 root    portage  72K 2008-06-06 00:44 summary.log<br />
-rw-r--r-- 1 root    portage   67 2008-06-06 01:06 sys-apps:coreutils-6.10-r2:20080605-160624.log<br />
-rw-r--r-- 1 root    portage  108 2008-06-06 01:08 sys-apps:shadow-4.0.18.2:20080605-160842.log<br />
</code></p>
<p>Useful to have around when you miss a barrage of announcements after a large emerge.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/06/05/portage-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix the mktemp / coreutils block in Gentoo</title>
		<link>http://blog.arithm.com/2008/05/30/fix-the-mktemp-coreutils-block-in-gentoo/</link>
		<comments>http://blog.arithm.com/2008/05/30/fix-the-mktemp-coreutils-block-in-gentoo/#comments</comments>
		<pubDate>Fri, 30 May 2008 16:47:42 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[coreutils]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[mktemp]]></category>
		<category><![CDATA[setarch]]></category>
		<category><![CDATA[util-linux]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=308</guid>
		<description><![CDATA[Looks like mktemp is now provided by coreutils.  No wonder.  This block has been bugging me (read: I&#8217;ve been ignoring it) for months. To fix just unmerge mktemp and update coreutils. Update: Same for the setarch / util-linux block should you come across it.  Unmerge setarch.]]></description>
			<content:encoded><![CDATA[<p><a href="http://forums.gentoo.org/viewtopic-t-689106.html?sid=5c0da18d5350c8c9fd0f4f010836bf98">Looks like <code>mktemp</code> is now provided by <code>coreutils</code></a>.  No wonder.  This block has been bugging me (read: I&#8217;ve been ignoring it) for months.</p>
<p>To fix just unmerge <code>mktemp</code> and update <code>coreutils</code>.</p>
<p><strong>Update:</strong> Same for the <code>setarch</code> / <code>util-linux</code> block should you come across it.  Unmerge <code>setarch</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/05/30/fix-the-mktemp-coreutils-block-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Manually fetching files in Gentoo</title>
		<link>http://blog.arithm.com/2008/02/10/manually-fetching-files-in-gentoo/</link>
		<comments>http://blog.arithm.com/2008/02/10/manually-fetching-files-in-gentoo/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 00:36:10 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/2008/02/10/manually-fetching-files-in-gentoo/</guid>
		<description><![CDATA[Here&#8217;s something I&#8217;d never had to do before. Be careful as this kind of tip will only popup for you once on the first emerge. # emerge dev-php5/ZendOptimizer &#62;&#62;&#62; cfg-update-1.8.2-r1: Creating checksum index... Calculating dependencies... done! &#62;&#62;&#62; Verifying ebuild Manifests... &#62;&#62;&#62; Emerging (1 of 1) dev-php5/ZendOptimizer-3.3.0a to / !!! dev-php5/ZendOptimizer-3.3.0a has fetch restriction turned on. [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s something I&#8217;d never had to do before. Be careful as this kind of tip will only popup for you once on the first emerge.</p>
<pre># emerge dev-php5/ZendOptimizer
&gt;&gt;&gt; cfg-update-1.8.2-r1: Creating checksum index...
Calculating dependencies... done!
&gt;&gt;&gt; Verifying ebuild Manifests... 

&gt;&gt;&gt; Emerging (1 of 1) dev-php5/ZendOptimizer-3.3.0a to / 

!!! dev-php5/ZendOptimizer-3.3.0a has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information. 

 *
 * Please download ZendOptimizer-3.3.0a-linux-glibc23-x86_64 from:
 * http://www.zend.com/products/zend_optimizer
 * and put it into /usr/portage/distfiles/.
 * Please note that you need a valid Zend Account
 * (free) to download the Zend Optimizer!</pre>
<p>Manually pushing the archive into distfiles and running <code>emerge</code> worked fine. For a moment I was concerned that I might actually have to build something from source. Whew!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/02/10/manually-fetching-files-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo Compiler Caching</title>
		<link>http://blog.arithm.com/2008/01/30/gentoo-compiler-caching/</link>
		<comments>http://blog.arithm.com/2008/01/30/gentoo-compiler-caching/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 16:49:40 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ccache]]></category>
		<category><![CDATA[compiler caching]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/2008/01/30/gentoo-compiler-caching/</guid>
		<description><![CDATA[I really should learn to be more patient and read the docs. Today I stumbled across Gentoo compiler caching. From the About ccache section: ccache is a fast compiler cache. When you compile a program, it will cache intermediate results so that, whenever you recompile the same program, the compilation time is greatly reduced. In [...]]]></description>
			<content:encoded><![CDATA[<p>I really should learn to be more patient and read the docs.  Today I stumbled across Gentoo <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=3#doc_chap3">compiler caching</a>.  From the About ccache section:</p>
<blockquote><p>ccache is a fast compiler cache. When you compile a program, it will cache intermediate results so that, whenever you recompile the same program, the compilation time is greatly reduced. In common compilations this can result in 5 to 10 times faster compilation times.</p></blockquote>
<p>Sheesh.  How much time have I wasted sitting around drooling on myself waiting for portage to build package XYZ?</p>
<p>In addition to learning to read the docs I should also probably learn to stop drooling on myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/01/30/gentoo-compiler-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple command line check for installed Perl modules</title>
		<link>http://blog.arithm.com/2007/11/29/simple-command-line-check-for-installed-perl-modules/</link>
		<comments>http://blog.arithm.com/2007/11/29/simple-command-line-check-for-installed-perl-modules/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 17:13:01 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/2007/11/29/simple-command-line-check-for-installed-perl-modules/</guid>
		<description><![CDATA[This is quite convenient and is accurate (unlike the  g-cpan list command..): perl -e 'use &#60;module name&#62;; print "ok\n"' Can you tell that I&#8217;m fighting with CPAN modules and Gentoo?]]></description>
			<content:encoded><![CDATA[<p>This is quite convenient and is accurate (unlike the  <code>g-cpan list</code> command..):</p>
<p><code>perl -e 'use &lt;module name&gt;; print "ok\n"'</code></p>
<p>Can you tell that I&#8217;m fighting with CPAN modules and Gentoo?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2007/11/29/simple-command-line-check-for-installed-perl-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_perl on Gentoo</title>
		<link>http://blog.arithm.com/2007/10/31/mod_perl-on-gentoo/</link>
		<comments>http://blog.arithm.com/2007/10/31/mod_perl-on-gentoo/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 07:54:58 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[g-cpan]]></category>
		<category><![CDATA[mod_perl]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[perl-cleaner]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/2007/10/31/mod_perl-on-gentoo/</guid>
		<description><![CDATA[mod_perl doesn&#8217;t play so nice with Gentoo. Perl and, specifically, g-cpan still seem to have problems. I&#8217;ve been scratching my head (read: driving my head into my desk) over the following error: Can't locate lib.pm in @INC (@INC contains: blah blah blah) at /etc/apache2/modules.d/apache2-mod_perl-startup.pl line 1.\nBEGIN failed--compilation aborted at /etc/apache2/modules.d/apache2-mod_perl-startup.pl line 1.\nCompilation failed in require [...]]]></description>
			<content:encoded><![CDATA[<p>mod_perl doesn&#8217;t play so nice with Gentoo.  Perl and, specifically, <code>g-cpan</code> still seem to have problems.</p>
<p>I&#8217;ve been scratching my head (read:  driving my head into my desk) over the following error:<br />
<code><br />
Can't locate lib.pm in @INC (@INC contains: blah blah blah) at /etc/apache2/modules.d/apache2-mod_perl-startup.pl line 1.\nBEGIN failed--compilation aborted at /etc/apache2/modules.d/apache2-mod_perl-startup.pl line 1.\nCompilation failed in require at (eval 2) line 1.\n<br />
</code></p>
<p>Thanks to an <a href="http://forums.gentoo.org/viewtopic-t-354789l.html">obscure post</a> at the bottom of a thread from a couple of years back I was able to fix it with<br />
<code><br />
# perl-cleaner reallyall<br />
# emerge libperl<br />
</code></p>
<p><code>perl-cleaner</code> appears to be like <code>revdep-rebuild</code>, but Larry Wall style.</p>
<p>Now I can run Apache::ASP.</p>
<p>Thank you crazy Larry Wall people.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2007/10/31/mod_perl-on-gentoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

