<?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>eldergods.org</title>
	<atom:link href="http://www.eldergods.org/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eldergods.org/wp</link>
	<description>We can't stop here.  This is bat country.</description>
	<lastBuildDate>Tue, 20 Jul 2010 00:55:15 +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>Fixing .la files</title>
		<link>http://www.eldergods.org/wp/2009/07/fixing-la-files</link>
		<comments>http://www.eldergods.org/wp/2009/07/fixing-la-files#comments</comments>
		<pubDate>Thu, 30 Jul 2009 02:56:21 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/wp/?p=79</guid>
		<description><![CDATA[Yesterday, via the excellent Gentoo Bugzilla, I came across a reference to a tool for Gentoo I hadn&#8217;t seen before, one that would have come in handy before. It came up because I was trying to emerge a new amarok, and the build was unable to find libpcreposix.la&#8230; the new libpcre doesn&#8217;t include that file, [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, via the excellent <a href="http://bugs.gentoo.org">Gentoo Bugzilla</a>, I came across a reference to a tool for Gentoo I hadn&#8217;t seen before, one that would have come in handy before.   It came up because I was trying to emerge a new amarok, and the build was unable to find libpcreposix.la&#8230; the new libpcre doesn&#8217;t include that file, but there was still a reference to it in something amarok needed.</p>
<p>The ebuild is called dev-util/lafilefixer, and to run it:</p>
<p><code>lafilefixer --justfixit</code></p>
<p>Whoever put this together has now helped me a great deal&#8230; I had literally hundreds of .la files that it updated.  Plus it fixed amarok and let me complete my emerge update.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2009/07/fixing-la-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X#</title>
		<link>http://www.eldergods.org/wp/2009/02/x</link>
		<comments>http://www.eldergods.org/wp/2009/02/x#comments</comments>
		<pubDate>Mon, 02 Feb 2009 02:33:40 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/wp/?p=59</guid>
		<description><![CDATA[http://www.xsharp.org/samples/ I wish they were kidding. Please, let that be a joke.]]></description>
			<content:encoded><![CDATA[<p><a title="http://www.xsharp.org/samples/" href="http://www.xsharp.org/samples/" target="_blank">http://www.xsharp.org/samples/</a></p>
<p>I wish they were kidding.   Please, let that be a joke.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2009/02/x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing selinux on Gentoo</title>
		<link>http://www.eldergods.org/wp/2009/01/removing-selinux-on-gentoo</link>
		<comments>http://www.eldergods.org/wp/2009/01/removing-selinux-on-gentoo#comments</comments>
		<pubDate>Wed, 21 Jan 2009 04:22:59 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/wp/?p=44</guid>
		<description><![CDATA[The thing I like most about Gentoo is the extraordinary flexibility that portage allows to make a system the way you want.   Every once in awhile, I find something annoying however (this happens on every operating system, you&#8217;re hearing about this one because it was just the most recent).   Today&#8217;s case in point:  I found [...]]]></description>
			<content:encoded><![CDATA[<p>The thing I like most about Gentoo is the extraordinary flexibility that portage allows to make a system the way you want.   Every once in awhile, I find something annoying however (this happens on every operating system, you&#8217;re hearing about this one because it was just the most recent).   Today&#8217;s case in point:  I found that several things depending on libselinux.so.1 despite my having &#8220;-selinux&#8221; in my global USE flags, and selinux disabled in the kernel.   Because one of the packages that depends on that library is coreutils (which includes mv, cp, ln, and many other things you can&#8217;t afford to be without.)</p>
<p>How did this happen?  Because my /var/lib/portage/world file has a lot of packages in it that don&#8217;t really need to be there (they should be pulled in as dependancies of packages I do want, not in the way I have them.)   When I was migrating to the this box, instead of just looking at the few hundred packages in world, I grabbed a list of everything I&#8217;d compiled, and used that to build my new box.   One result of that is that sys-libs/libselinux got compiled.  (At least, I think that&#8217;s how it happened.)   I noticed but didn&#8217;t think it was going to be a problem.  However, for some ebuilds (coreutils being the most important to me), if the selinux header files are installed on the box, the configure script detects files like /usr/include/selinux/flask.h and proceeds to include selinux support.   Then you will find that /bin/cp and many other critical utilities are linked against libselinux.so.1, so you can&#8217;t remove the sys-libs/libselinux, and since the USE flag has no effect other than changing RDEPEND in the ebuild, you&#8217;re stuck.   Catch-22, almost.</p>
<p>Today I finally resolved to fix this, because I got annoyed, and because sys-libs/libselinux is hard-masked after my latest sync (as a result of the sync and having to update my profile with eselect).</p>
<p>The first part, fixing coreutils is pretty easy:</p>
<pre language="text">
euse -D selinux
mv /usr/include/selinux /usr/include/selinux-save
emerge -av coreutils
emerge -C libselinux
rm -r /usr/include/selinux-save
</pre>
<p>Unfortunately, after that&#8230; you are still stuck.   The coreutils will work, but I was left with a number of packages that revdep-rebuild reports as missing libselinux.so.1&#8230; furthermore they all die when trying to link against libselinux:</p>
<pre>/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lselinux</pre>
<p>Ah, portage, why are you so cruel to me?    The above example is from gnome-terminal.  Good thing I still use xterm.</p>
<p><em><strong>Note: the next part could help, but it&#8217;s far easier to use lafilefixer these days.</strong></em></p>
<p>So, what to do?   I&#8217;m not kidding, this is basically it, in one line form:</p>
<pre>find /usr/lib64 -name '*.la' -print | xargs grep selinux | cut -f1 -d: | sed -e 's#^./##g' | xargs equery b | awk '{print "="$1}' | sort -u | xargs emerge</pre>
<p>Built that up once I realized that the *.la files still contained references to the libselinux (-lselinux).  Basically, it searches for all the .la files that contain references to selinux.   .la files are just text files that control the linking process, either as part of libtool or the compile-time linker.   My command above just uses some rather lame shell tricks to run emerge against all the packages those files belong too.</p>
<p>Even after that was complete, I still had libnss3.so.12 breakage to contend with, but at least revdep-rebuild was working at that point (not breaking on every ebuild it found missing libselinux.so.1).    Frustrating.</p>
<p>I hope this saves someone some damn time, somewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2009/01/removing-selinux-on-gentoo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The case of the 500 mile email limit</title>
		<link>http://www.eldergods.org/wp/2008/12/the-case-of-the-500-mile-email-limit</link>
		<comments>http://www.eldergods.org/wp/2008/12/the-case-of-the-500-mile-email-limit#comments</comments>
		<pubDate>Tue, 16 Dec 2008 04:54:04 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=31</guid>
		<description><![CDATA[The Case of the 500 mile email limit This actually seems legit to me, in all the particulars.  I want it to be true, anyway.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ibiblio.org/harris/500milemail.html">The Case of the 500 mile email limit</a></p>
<p>This actually seems legit to me, in all the particulars.  I want it to be true, anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/12/the-case-of-the-500-mile-email-limit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun collection</title>
		<link>http://www.eldergods.org/wp/2008/12/sun-collection</link>
		<comments>http://www.eldergods.org/wp/2008/12/sun-collection#comments</comments>
		<pubDate>Tue, 16 Dec 2008 04:13:02 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=17</guid>
		<description><![CDATA[So awhile ago, I got greedy and tried to install a 400GB IDE drive in a Sunblade 150 I&#8217;d got for cheap. Those of you who are more familiar with that hardware than I was (or am, really), will already be laughing at what a stupid idea that was. For those of you who don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>So awhile ago, I got greedy and tried to install a 400GB IDE drive in a Sunblade 150 I&#8217;d got for cheap.  Those of you who are more familiar with that hardware than I was (or am, really), will already be laughing at what a stupid idea that was.  For those of you who don&#8217;t know, it can only address about 138GB per drive.  The math is out there, but basically it&#8217;s a limitation of the IDE controller&#8230; and doesn&#8217;t apply to SCSI and FC drives in any of the Sun boxes, which is probably why this never occurred to me.</p>
<p>So&#8230; I backed off that plan and installed a pair of 120GB drives.  Now the system won&#8217;t boot.   And the console is, shall we say, unresponsive.  I live a charmed life, I tell ya.</p>
<p>As a result, I have since collected a couple of other old Sun workstations via Ebay and the employee purchase program at work (which are basically &#8220;worthless&#8221;, like $65), and even an old Pentium 4 for Solaris x86.   So I&#8217;ve got the gear, but I haven&#8217;t had time to continue with any but the most cursory examinations of OpenSolaris.   I got 2 of them booted up with ZFS root on fairly recent versions of Nevada.   Waiting for the SPARC release of Indiana to be readily available.</p>
<p>In the meantime, I thought I might work on some of my other Solaris related projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/12/sun-collection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HWCursor?</title>
		<link>http://www.eldergods.org/wp/2008/12/hwcursor</link>
		<comments>http://www.eldergods.org/wp/2008/12/hwcursor#comments</comments>
		<pubDate>Sun, 14 Dec 2008 06:14:29 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=25</guid>
		<description><![CDATA[Sometimes I wake up to find that the cursor on my workstation has disappeared.   And it doesn&#8217;t seem to be simply invisible, it&#8217;s actually not interacting with the desktop in any way.   I can still see the mouse in the list of enumerated USB devices.   Generally the keyboard is still working. One suggestion I keep [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I wake up to find that the cursor on my workstation has disappeared.   And it doesn&#8217;t seem to be simply invisible, it&#8217;s actually not interacting with the desktop in any way.   I can still see the mouse in the list of enumerated USB devices.   Generally the keyboard is still working.</p>
<p>One suggestion I keep running across in my normal google searches is to disable HWCursor in xorg.conf.   Messed around with that for a few days.</p>
<p>After a lot of tests, it turns out that killing xscreensaver fixes the problem&#8230;. no need to restart X.</p>
<p>Lately, the problem has stopped happening, so I am considering that an update to x11-misc/xscreensaver may have fixed the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/12/hwcursor/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris recovery</title>
		<link>http://www.eldergods.org/wp/2008/03/solaris-recovery</link>
		<comments>http://www.eldergods.org/wp/2008/03/solaris-recovery#comments</comments>
		<pubDate>Sun, 23 Mar 2008 23:15:38 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=26</guid>
		<description><![CDATA[Recently, a friend contacted me about recovery of a Solaris box he had made a bit of a mistake on. The problem was, he had moved everything from / into a subdirectory of /, let&#8217;s call it /cores for our purposes here. Commands wouldn&#8217;t work. He had a running /sbin/sh shell but that was it&#8230;. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, a friend contacted me about recovery of a Solaris box he had made a bit of a mistake on.    The problem was, he had moved everything from / into a subdirectory of /, let&#8217;s call it /cores for our purposes here.   Commands wouldn&#8217;t work.    He had a running /sbin/sh shell but that was it&#8230;. so shell built-ins were all he could do e.g. &#8220;echo *&#8221;.    We fixed it pretty quick, with only minor residual problems, but I thought I&#8217;d put down the method here in case it helps someone sometime.</p>
<p>The first problem is that libraries are no longer found along their proper paths&#8230;. libc.so is the first problem.   That&#8217;s easily fixed, however.</p>
<pre>
# export LD_LIBRARY_PATH=/cores/usr/lib:/cores/lib
</pre>
<p>That&#8217;s the simple part, I&#8217;m sure most people know the LD_LIBRARY_PATH tricks to force searching for libraries in other directories.   The part that I don&#8217;t think people get is&#8230; once you&#8217;ve done that &#8220;ld.so.1&#8243; (the runtime linker) is still in the wrong place.   ld.so.1 is responsible for using the LD_* variables in the first place, among the many other wonderful things it does.   So running commands from, for example, /cores/usr/bin is still impossible, at least in the standard way.</p>
<p>The second and final trick you need to fix this is to use ld.so.1 to &#8220;run&#8221; the executable.   So, this fails:</p>
<pre>
# /cores/usr/bin/mv /cores/* /
mv: Cannot find /usr/lib/ld.so.1
Killed
</pre>
<p>But this allows you to run a command like you&#8217;d expect:</p>
<pre>
/cores/usr/lib/ld.so.1 /cores/usr/bin/mv /cores/* /
</pre>
<p>Turns out, you can use &#8220;ld.so.1&#8243; as an &#8220;interpreter&#8221; of sorts for executables on some flavors of Unix.    At least Solaris and Linux, but I would not be surprised if this works elsewhere, I simply haven&#8217;t tested it.  On Linux, for example, you would use something like:</p>
<pre>
/lib/ld-linux.so.2 /bin/ls
</pre>
<p>To run &#8220;ls&#8221; in this fashion.</p>
<p>The lesson, boys and girls, is to know your runtime linker, it may save you one day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/03/solaris-recovery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mess</title>
		<link>http://www.eldergods.org/wp/2008/01/mess</link>
		<comments>http://www.eldergods.org/wp/2008/01/mess#comments</comments>
		<pubDate>Sat, 26 Jan 2008 00:25:33 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=24</guid>
		<description><![CDATA[Glad I don&#8217;t have to sort through this.]]></description>
			<content:encoded><![CDATA[<p>Glad I don&#8217;t have to sort through <a href="http://royal.pingdom.com/?p=234">this</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/01/mess/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloverfield</title>
		<link>http://www.eldergods.org/wp/2008/01/cloverfield</link>
		<comments>http://www.eldergods.org/wp/2008/01/cloverfield#comments</comments>
		<pubDate>Sun, 20 Jan 2008 06:45:24 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[cloverfield]]></category>
		<category><![CDATA[monster]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=23</guid>
		<description><![CDATA[Just got home an hour ago from seeing Cloverfield. As with a lot of people, I could do without the shaky camera. I never get motion sickness that I can recall but this got close. It&#8217;s not the first time camera work in this style this has annoyed me (I&#8217;m looking at you, Bourne). Oh, [...]]]></description>
			<content:encoded><![CDATA[<p>Just got home an hour ago from seeing Cloverfield.    As with a lot of people, I could do without the shaky camera.   I never get motion sickness that I can recall but this got close.   It&#8217;s not the first time camera work in this style this has annoyed me (I&#8217;m looking at you, Bourne).</p>
<p>Oh, and not to spoil it for anyone, but the weapons the various military units had available (even conventional) should have turned the big monster into something the consistency of paste, unless it had some unseen and unexplained powers.   I mean seriously, they hit it with a lot of ordnance.   Once you&#8217;ve decide it&#8217;s ok to drop bombs on your own city, that opens up a lot of options.  That B-2 Spirit alone cares 20 2,000 pound bombs&#8230; I mention it because they show a bomb run that gets a couple of direct hits.   And then I was wondering why they hadn&#8217;t napalmed it yet.</p>
<p>I realize that normally I&#8217;d be expected to suspend disbelief (it&#8217;s a monster movie, after all), and I would&#8230; but going back to my first point with the shaky camera, once I get a bit annoyed at a film, I start to pick it apart.  I feel bad about it, but I do it anyway.   In other words, giving me a bit of a headache does nothing for my enjoyment of the movie.</p>
<p>I think other than the headache it was an interesting piece of work.  I hope they do another one without the hand-held camera, while somehow preserving some of the better aspects.  Just so they can explain some things, if nothing else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2008/01/cloverfield/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSOP</title>
		<link>http://www.eldergods.org/wp/2007/07/wsop</link>
		<comments>http://www.eldergods.org/wp/2007/07/wsop#comments</comments>
		<pubDate>Fri, 06 Jul 2007 19:34:57 +0000</pubDate>
		<dc:creator>mcclung</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.eldergods.org/?p=19</guid>
		<description><![CDATA[John&#8217;s at the WSOP again, new blog here.]]></description>
			<content:encoded><![CDATA[<p>John&#8217;s at the WSOP again, new blog <a href="http://wsop-journal.blogspot.com/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eldergods.org/wp/2007/07/wsop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
