<?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"
	>

<channel>
	<title>.:.</title>
	<atom:link href="http://brainsik.theory.org/.:./feed" rel="self" type="application/rss+xml" />
	<link>http://brainsik.theory.org/.:.</link>
	<description></description>
	<pubDate>Wed, 20 Aug 2008 02:21:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Ubuntu 7.10 Gutsy &#8594; 8.04 Hardy upgrade freeze</title>
		<link>http://brainsik.theory.org/.:./2008/ubuntu-710-gutsy-804-hardy-upgrade-freeze</link>
		<comments>http://brainsik.theory.org/.:./2008/ubuntu-710-gutsy-804-hardy-upgrade-freeze#comments</comments>
		<pubDate>Sun, 17 Aug 2008 19:09:07 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./?p=58</guid>
		<description><![CDATA[Another Ubuntu upgrade, another critical upgrade bug. I had this idea that letting a solid chunk of time go by before upgrading (in this case, ~4 months) would mean most of the upgrade bugs would be gone. Instead, I was bit in the ass because using the current 7.10 Gutsy kernel (2.6.22-15) means the upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>Another Ubuntu upgrade, <a href="http://brainsik.theory.org/.:./2007/ubuntu-710-gutsy-caveat-beware-evms">another <em>critical</em> upgrade bug</a>. I had this idea that letting a solid chunk of time go by before upgrading (in this case, ~4 months) would mean most of the upgrade bugs would be gone. Instead, I was bit in the ass because using the current 7.10 Gutsy kernel (2.6.22-15) means <a href="http://ubuntuforums.org/showthread.php?t=865679">the upgrade process will freeze on the locales package</a>.</p>
<p><a href="http://ubuntuforums.org/showthread.php?p=5428830#poststop">The workaround</a>, found by <a href="http://ubuntuforums.org/member.php?u=628992">siberoptik on the Ubuntu forums</a>, is to reboot your system with the 2.6.22-14 kernel. Everything is <span style="color: #ff9955;">peachy</span> after that. Since I&#8217;m working remotely, the way I changed kernels was to edit <code>/boot/grub/menu.lst</code> and nuke the lines about the 2.6.22-15 kernel. That made 2.6.22-14 the top-most kernel. By the end of the upgrade none of those kernels will matter anymore anyway. If you are in front of the box, you can just press <code>&lt;Esc&gt;</code> at the grub menu.</p>
<p>If you find yourself in the middle of an upgrade, frozen at &#8220;Generating locales&#8230;&#8221;, all is not lost. Get another shell on the system, look for the process tree (`<code>ps axfw</code>`) with <code>locale-gen</code> running, and kill <code>locale-gen</code> off.<sup>1</sup> For me, the upgrade continued on until the only packages left were <code>ubuntu-minimal</code> and <code>locales</code>. I had to kill off the <code>locale-gen</code> process a couple of more times until the upgrade process was declared &#8220;failed&#8221;.</p>
<p>At this point I reboot the box and something went awry as it didn&#8217;t come back again. <img src='http://brainsik.theory.org/.:./wp-includes/images/smilies/icon_surprised.gif' alt=':-o' class='wp-smiley' /> It&#8217;s unclear from the logs what exactly happened (I was working remotely so couldn&#8217;t watch the screen), but after a hard reset I was able to get back in again. Running `<code>dpkg --configure -a</code>` had the locales generate instantly and everything was fine.</p>
<p>The total joke about all of this is, as usual, it&#8217;s not documented on Ubuntu&#8217;s site in any useful place. Yes, I found it in the forum after I hit the bug and knew what to search for, but it&#8217;s a bit late at that point. You&#8217;d think there would be a &#8220;caveats&#8221; or &#8220;known problems&#8221; or &#8220;big nasty critical bugs you should avoid&#8221; section on the <a href="https://help.ubuntu.com/community/HardyUpgrades">help page about Hardy upgrades</a>.</p>
<p>In an effort to prevent others from going down this road, I&#8217;ve put information in the following places:</p>
<ul>
<li>Added a <a href="https://help.ubuntu.com/community/HardyUpgrades#Known%20problems">&#8220;Known problems&#8221; section</a> to the HardyUpgrades help page.</li>
<li>Added a comment to the <a href="https://answers.launchpad.net/ubuntu/+source/update-manager/+question/34682">update-manager fails 7.10 -&gt; 8.04 LTS</a> question.</li>
<li>Opened <a href="https://bugs.launchpad.net/update-manager/+bug/258879">a bug against the update-manager package</a>.</li>
</ul>
<p><strong>Update</strong> (2008.08.19): The bug I filed against update-manager as been made a duplicate of a <a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/249340">bug in linux-source-2.6.22</a>. A lot of talk has been happening there and someone claims the developers are working on a fix.</p>
<ol class="footnotes"><li id="footnote_0_58" class="footnote">IMHO, it&#8217;s a good idea to try killing the highest process in the tree and work your way down to the root until you get the result you want.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2008/ubuntu-710-gutsy-804-hardy-upgrade-freeze/feed</wfw:commentRss>
		</item>
		<item>
		<title>James from outta nowhere …</title>
		<link>http://brainsik.theory.org/.:./2008/james-from-outta-nowhere</link>
		<comments>http://brainsik.theory.org/.:./2008/james-from-outta-nowhere#comments</comments>
		<pubDate>Wed, 30 Apr 2008 19:51:53 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[society]]></category>

		<category><![CDATA[sounds]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./?p=55</guid>
		<description><![CDATA[Good basketball has me out of my seat waving, whooping, and worrying; wonderful emotions that come out during the NBA Playoffs. My neighbors must love me.  Here&#8217;s a little audio excerpt of a great moment. I love it when the announcers are having just as good a time.

]]></description>
			<content:encoded><![CDATA[<p>Good basketball has me out of my seat waving, whooping, and worrying; wonderful emotions that come out during the NBA Playoffs. My neighbors must love me. <img src='http://brainsik.theory.org/.:./wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> Here&#8217;s a little audio excerpt of a great moment. I love it when the announcers are having just as good a time.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2008/james-from-outta-nowhere/feed</wfw:commentRss>
		</item>
		<item>
		<title>Zabbix 1.4.4 packages for Ubuntu</title>
		<link>http://brainsik.theory.org/.:./2008/zabbix-144-packages-for-ubuntu</link>
		<comments>http://brainsik.theory.org/.:./2008/zabbix-144-packages-for-ubuntu#comments</comments>
		<pubDate>Fri, 08 Feb 2008 18:56:55 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2008/zabbix-144-packages-for-ubuntu/</guid>
		<description><![CDATA[Step right up and get your Zabbix 1.4.4 packages for Ubuntu 7.10 (Gutsy Gibbon)! Packages are available for i386 and amd64 architectures (sorry, I don&#8217;t have a powerpc machine). To get them via apt add the following to your /etc/apt/sources.list:1
deb http://packages.devsuki.com/ubuntu/ gutsy main
deb-src http://packages.devsuki.com/ubuntu/ gutsy main
You can also download them manually.
 Source packages were pulled [...]]]></description>
			<content:encoded><![CDATA[<p>Step right up and get your Zabbix 1.4.4 packages for Ubuntu 7.10 (Gutsy Gibbon)! Packages are available for i386 and amd64 architectures (sorry, I don&#8217;t have a powerpc machine). To get them via apt add the following to your /etc/apt/sources.list:<sup>1</sup></p>
<blockquote><p><code><small>deb http://packages.devsuki.com/ubuntu/ gutsy main<br />
deb-src http://packages.devsuki.com/ubuntu/ gutsy main</small></code></p></blockquote>
<p>You can also <a href="http://packages.devsuki.com/ubuntu/pool/main/z/zabbix/">download them manually</a>.</p>
<p><span id="more-54"></span> Source packages were <a href="http://packages.debian.org/source/sid/zabbix">pulled from Debian</a> sid and two modifications were made:</p>
<ol>
<li>postgresql-8.2 was added as an alternative to postgresql-8.1.</li>
<li>The init.d scripts were modified to create /var/run/zabbix-* directories on start.<sup>2</sup></li>
</ol>
<p>Enjoy!</p>
<ol class="footnotes"><li id="footnote_0_54" class="footnote">You may want to download <a href="http://packages.devsuki.com/devsuki-signing-key.asc">the package signing key</a> and add it with <code>apt-key</code>.</li><li id="footnote_1_54" class="footnote">Ubuntu uses tmpfs for /var/run, so these directories will disappear on reboot. I followed the suggestion in <a href="http://www.zabbix.com/forum/showthread.php?t=8857">this zabbix forum post</a>.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2008/zabbix-144-packages-for-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Buying music online, part 1 (bleep.com)</title>
		<link>http://brainsik.theory.org/.:./2008/buying-music-online-part-1-bleepcom</link>
		<comments>http://brainsik.theory.org/.:./2008/buying-music-online-part-1-bleepcom#comments</comments>
		<pubDate>Fri, 25 Jan 2008 19:09:57 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[society]]></category>

		<category><![CDATA[sounds]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2008/buying-music-online-part-1-bleepcom/</guid>
		<description><![CDATA[Over the last few years I&#8217;ve purchased music online from a variety of sites. Aside from wanting files that sound good, a hard requirement is songs must be DRM-free. Yep, that mostly means the iTunes store is out.1

My favorite place to buy/download music is bleep.com. There are two reasons:

very high quality, DRM-free tracks
an awesome music [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few years I&#8217;ve purchased music online from a variety of sites. Aside from wanting files that sound good, a hard requirement is <strong>songs must be <a href="http://en.wikipedia.org/wiki/Digital_rights_management#DRM_opponents">DRM-free</a></strong>. Yep, that mostly means <a href="http://en.wikipedia.org/wiki/FairPlay">the iTunes store is out</a>.<sup>1</sup></p>
<p style="text-align: center"><a href="http://bleep.com/" title="Bleep.com"><img src="http://brainsik.theory.org/.:./wp-content/uploads/2008/01/bleepcomlogo.png" title="Bleep.com" alt="Bleep.com" height="53" width="191" /></a></p>
<p><a href="http://bleep.com/">My favorite place to buy/download music is bleep.com</a>. There are two reasons:</p>
<ol>
<li><em>very</em> high quality, DRM-free tracks</li>
<li>an awesome music preview system</li>
</ol>
<p><span id="more-50"></span>When I say &#8220;<em>very</em> high quality&#8221;, I mean it. All albums encoded after January 2006 come as 320K MP3s (the highest quality level) and are encoded with <a href="http://lame.sourceforge.net/">LAME</a> (the highest quality encoder). And if that ain&#8217;t enough quality for you, they often have new albums available (for a little more $€£) in <em>lossless</em> <a href="http://flac.sourceforge.net/">FLAC</a>! Furthermore, I&#8217;ve probably bought about 10 albums from them and none have ever had any ripping audio artifacts (skips, pops, clicks, static, drop outs, etc.) &#8212; they&#8217;re clean as can be.</p>
<p>As if all that wasn&#8217;t enough, their website lets you listen to every part of every song before you buy! This is just awesome. Typically, sites only give you the first 30s, which isn&#8217;t very useful for long and intricate tracks. I&#8217;ve spent many hours listening to tracks on bleep.com looking for a new album to buy. It&#8217;s an awesome feature and has gotten me to buy more music from them. <img src='http://brainsik.theory.org/.:./wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The downside to bleep.com is also one of their strengths. Originally, they were started as store for <a href="http://www.warprecords.com/">Warp Records</a>, a <a href="http://en.wikipedia.org/wiki/Warp_Records#Notable_artists_from_past_and_present">highly influential electronic music</a> label. Since that inception the store has expanded to carry music from a huge list of labels, however the predominant flavor is still electronic music (IDM, breaks, dub, glitch, ambient, minimal, experimental, etc.). Thus, the downside is you aren&#8217;t going to find that metal, hip-hop, or jazz album you&#8217;ve been wanting, but the upside is if you are into interesting electronic music, you&#8217;ll poop your pants when you discover hard to find albums are only a few clicks away from playing on your stereo.</p>
<ol class="footnotes"><li id="footnote_0_50" class="footnote">I did buy one DRM-free track via iTunes when iTunes-plus launched (as a vote of support), but I have yet to find any other iTunes-plus tracks I&#8217;m interested in. Seriously, every time I look for an album it&#8217;s only available wrapped in iTunes&#8217; DRM. With the advent of amazonmp3.com, I&#8217;m probably going to stop checking the iTunes store at all. More on that later.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2008/buying-music-online-part-1-bleepcom/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fixing and reporting Ubuntu bugs</title>
		<link>http://brainsik.theory.org/.:./2008/fixing-and-reporting-ubuntu-bugs</link>
		<comments>http://brainsik.theory.org/.:./2008/fixing-and-reporting-ubuntu-bugs#comments</comments>
		<pubDate>Fri, 18 Jan 2008 21:17:37 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2008/fixing-and-reporting-ubuntu-bugs/</guid>
		<description><![CDATA[My friend Matt and I have shared a number of stories regarding our frustrations with reporting bugs to Ubuntu. He recently wrote an overview of his experiences &#8212; Why I’ve stopped reporting bugs to Ubuntu &#8212; which was linked to by OSNews. The comments there are mostly level and reasonable, but some people are missing [...]]]></description>
			<content:encoded><![CDATA[<p>My friend Matt and I have shared a number of stories regarding our frustrations with reporting bugs to Ubuntu. He recently wrote an overview of his experiences &#8212; <em><a href="http://glyphobet.net/blog/?p=140" rel="bookmark" title="Why I’ve stopped reporting bugs to Ubuntu">Why I’ve stopped reporting bugs to Ubuntu</a></em> &#8212; which was <a href="http://osnews.com/comments/19179">linked to by OSNews</a>. The comments there are mostly level and reasonable, but some people are missing the focus of his statement. He&#8217;s not whining &#8220;fix my bug!&#8221;, he&#8217;s drawing attention to the methodology used to process bugs.</p>
<p><span id="more-49"></span>Matt and I have been involved with the <a href="http://en.wikipedia.org/wiki/Free_software_movement">free software movement</a> for the last decade. One of the consequences of using software developed by people in their spare time is that bugs and emails can be ignored for long periods of time (e.g., forever). After almost 10 years, and a bunch of our own software projects, I like to think we&#8217;ve developed reasonable expectations for how things work (and don&#8217;t work).</p>
<p>When I report a bug to Ubuntu I often include a debdiff (package patch). In other words, I&#8217;m not just whining about bugs, I&#8217;m fixxing them! This is because one of my day jobs is sysadmin for <a href="http://mosuki.com/">Mosuki</a>. Every Ubuntu upgrade released has had problems of varying severity and it&#8217;s my job to patch the relevant packages and get them into <a href="http://packages.devsuki.com/" title="Devsuki apt repository">our development apt repostory</a>. I was annoyed by this process for a while, but I&#8217;ve come to accept it as the trade-off for getting a new stable set of software every 6 months (which we&#8217;ve come to rely on). This means, every Ubuntu release I find and fix a bunch of Ubuntu bugs.</p>
<p>There are many reasons I use free software, but in the end, I want to give back to the community. For me, this means creating debdiffs of my work and submitting it to Launchpad. There&#8217;s little <em>practical</em> benefit I receive from doing this.<sup>1</sup> But I believe in free software; I want to make my work available to others and I want to make Ubuntu a better distribution.</p>
<p>Simply, it comes down to this: If my work is ignored, then what is the purpose of doing the work? If the Launchpad bug tracker is not an adequate mechanism for getting my fixes into Ubuntu, then why should I use it? I&#8217;m jumping through their hoops for their own good, not mine.</p>
<p>To reap the benefit of my work without waiting for Ubuntu, add the <a href="http://devsuki.com/">Devsuki</a> apt repository to your <code>/etc/apt/sources.list</code> and decide you trust my work (or inspect the changes I&#8217;ve made):</p>
<blockquote><p><small> </small></p>
<pre>deb http://packages.devsuki.com/ubuntu/ gutsy main
deb-src http://packages.devsuki.com/ubuntu/ gutsy main</pre>
</blockquote>
<ol class="footnotes"><li id="footnote_0_49" class="footnote">Of course, I&#8217;d rather the packages be officially fixed rather than in my own repository, but that&#8217;s about it.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2008/fixing-and-reporting-ubuntu-bugs/feed</wfw:commentRss>
		</item>
		<item>
		<title>Earning the FAIL in failover</title>
		<link>http://brainsik.theory.org/.:./2007/earning-the-fail-in-failover</link>
		<comments>http://brainsik.theory.org/.:./2007/earning-the-fail-in-failover#comments</comments>
		<pubDate>Tue, 18 Dec 2007 19:33:16 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2007/earning-the-fail-in-failover/</guid>
		<description><![CDATA[This blows my mind: Involver, sort of a competitor to the far more interesting Mosuki :-), recently posted on their blog:
You may have noticed that our site broke this morning. Apparently the power supply on our database server decided to commit suicide while everyone was asleep.
OMG. How can any social network site hoping for some [...]]]></description>
			<content:encoded><![CDATA[<p>This blows my mind: Involver, sort of a competitor to the <a href="http://mosuki.com/">far more interesting Mosuki</a> :-), recently <a href="http://blog.involver.com/?p=52">posted on their blog</a>:</p>
<blockquote><p>You may have noticed that our site broke this morning. Apparently the power supply on our database server decided to commit suicide while everyone was asleep.</p></blockquote>
<p>OMG. How can any social network site hoping for some semblance of success (or real funding) be running their DB on a single machine with no failover. I&#8217;m totally floored by this. Even when Mosuki was doing  private <em>alpha</em> testing 3½ years ago we had a hot-failover cluster. I wonder if they do backups.</p>
]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2007/earning-the-fail-in-failover/feed</wfw:commentRss>
		</item>
		<item>
		<title>Discovering suicide bombing</title>
		<link>http://brainsik.theory.org/.:./2007/discovering-suicide-bombing</link>
		<comments>http://brainsik.theory.org/.:./2007/discovering-suicide-bombing#comments</comments>
		<pubDate>Tue, 13 Nov 2007 20:21:19 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[complex systems]]></category>

		<category><![CDATA[society]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2007/discovering-suicide-bombing/</guid>
		<description><![CDATA[In a very interesting article about suicide bombing in Halo 3, the author describes how the  &#8220;psychology of asymmetrical warfare&#8221; led him to take up the tactic. The article is not about the game but about his insight into when suicide tactics become the reasonable choice.
Even though I&#8217;ve read scores of articles, white papers [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.wired.com/gaming/gamingreviews/commentary/games/2007/11/gamesfrontiers_1105" title="Suicide Bombing Makes Sick Sense in Halo 3">a very interesting article about suicide bombing in <em>Halo 3</em></a>, the author describes how the  &#8220;psychology of asymmetrical warfare&#8221; led him to take up the tactic. The article is not about the game but about his insight into when suicide tactics become the reasonable choice.</p>
<blockquote><p>Even though I&#8217;ve read scores of articles, white papers and books on the psychology of terrorists in recent years, and even though I have (I think) a strong intellectual grasp of the roots of suicide terrorism, something about playing the game gave me an &#8220;aha&#8221; moment that I&#8217;d never had before: an ability to <em>feel</em>, in whatever tiny fashion, the strategic logic and emotional calculus behind the act.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2007/discovering-suicide-bombing/feed</wfw:commentRss>
		</item>
		<item>
		<title>Pussyfinger at Robotspeak</title>
		<link>http://brainsik.theory.org/.:./2007/pussyfinger-at-robotspeak</link>
		<comments>http://brainsik.theory.org/.:./2007/pussyfinger-at-robotspeak#comments</comments>
		<pubDate>Tue, 13 Nov 2007 01:45:55 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[sounds]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2007/pussyfinger-at-robotspeak/</guid>
		<description><![CDATA[On October 28, I heard/saw Pussyfinger play at Robotspeak&#8217;s 5th year anniversary party.  They were completely awesome. Here&#8217;s a 30s clip I shot with my point and shoot camera:

http://www.youtube.com/watch?v=JSiOLcU35xM

]]></description>
			<content:encoded><![CDATA[<p>On October 28, I heard/saw <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&amp;friendid=37791117">Pussyfinger</a> play at <a href="http://www.robotspeak.com/">Robotspeak</a>&#8217;s 5th year anniversary party.  They were completely awesome. Here&#8217;s a 30s clip I shot with my point and shoot camera:</p>
<div class="vvqbox vvqyoutube" style="width:425px;height:355px;">
<p id="vvq48abc060206cf"><a href="http://www.youtube.com/watch?v=JSiOLcU35xM">http://www.youtube.com/watch?v=JSiOLcU35xM</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2007/pussyfinger-at-robotspeak/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu 7.10 &#8220;gutsy&#8221; caveat: beware EVMS!</title>
		<link>http://brainsik.theory.org/.:./2007/ubuntu-710-gutsy-caveat-beware-evms</link>
		<comments>http://brainsik.theory.org/.:./2007/ubuntu-710-gutsy-caveat-beware-evms#comments</comments>
		<pubDate>Tue, 30 Oct 2007 20:23:14 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2007/ubuntu-710-gutsy-caveat-beware-evms/</guid>
		<description><![CDATA[A small PSA: If you are upgrading Ubuntu to 7.10 &#8220;gutsy&#8221;, check to see if you have the &#8220;evms&#8221; package installed. If you do, and you have no knowledge of installing it and don&#8217;t know what it is, then you probably should remove it. The consequences of keeping it are a spew of system messages:
 [...]]]></description>
			<content:encoded><![CDATA[<p>A small PSA: If you are <a href="https://help.ubuntu.com/community/GutsyUpgrades">upgrading Ubuntu to 7.10 &#8220;gutsy&#8221;</a>, check to see if you have the &#8220;evms&#8221; package installed. If you do, and you have no knowledge of installing it and don&#8217;t know what it is, then you probably should remove it. The consequences of keeping it are a spew of system messages:</p>
<blockquote><p> <code>device-mapper: dm-linear: Device lookup failed<br />
device-mapper: error adding target to table</code></p></blockquote>
<p>Even worse, you may be unable to mount any partitions aside from <code>/</code>! That&#8217;s what happened to me. <img src='http://brainsik.theory.org/.:./wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p><span id="more-45"></span>There are <a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/115616">lots of people having these device-mapper errors</a>. Some explanation is given in the &#8220;Volume activation&#8221; section of the <a href="http://evms.sourceforge.net/faq.html">EVMS FAQ</a>.</p>
<p>If you run into the problem where you reboot and no longer have a <code>/var</code> partition, you should try preventing <code>evms</code> from starting at boot and rebooting. For example, you can do this:</p>
<blockquote><p><code>mv /etc/rcS.d/S27evms  /root<br />
reboot</code></p></blockquote>
<p>If your system doesn&#8217;t want to reboot, check for processes hung up on shutting down (I had to kill off something related to Alsa). If everything comes up fine, clean and purge:</p>
<blockquote><p><code>mv /root/S27evms /etc/rcS.d<br />
aptitude purge evms</code></p></blockquote>
<p>Everything should be happy at this point. You can also clean up the junk that ended up in <code>/var</code> when your <code>/var</code> partition couldn&#8217;t be mounted. Just mount <code>/</code> to another place, clean and unmount. Thanks to <a href="http://codeville.org/">Ross Cohen</a> for telling me about multimount<sup>1</sup>.</p>
<ol class="footnotes"><li id="footnote_0_45" class="footnote">&#8221;Since Linux 2.4 a single filesystem can be visible at multiple <span class="highlight1">mount</span> points&#8221; &#8211;<a href="http://linux.die.net/man/2/mount">mount(2) man page</a>.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2007/ubuntu-710-gutsy-caveat-beware-evms/feed</wfw:commentRss>
		</item>
		<item>
		<title>Making a new file the Ubuntu way?</title>
		<link>http://brainsik.theory.org/.:./2007/making-a-new-file-the-ubuntu-way</link>
		<comments>http://brainsik.theory.org/.:./2007/making-a-new-file-the-ubuntu-way#comments</comments>
		<pubDate>Thu, 25 Oct 2007 21:49:03 +0000</pubDate>
		<dc:creator>.:. brainsik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://brainsik.theory.org/.:./2007/making-a-new-file-the-ubuntu-way/</guid>
		<description><![CDATA[While innocently reading the 7.10 Release Notes my left eyebrow raised at their method for creating a new file with a single word in it.
echo letter &#124; sudo tee /etc/papersize &#62;/dev/null
Say what? Why on Earth use tee if you are going to dump it&#8217;s output to /dev/null? I assume  whoever wrote it ran into [...]]]></description>
			<content:encoded><![CDATA[<p>While innocently reading the <a href="http://www.ubuntu.com/getubuntu/releasenotes/710" title="Ubuntu 7.10 Release Notes">7.10 Release Notes</a> my left eyebrow raised at their method for creating a new file with a single word in it.</p>
<blockquote><p><code>echo letter | sudo tee /etc/papersize &gt;/dev/null</code></p></blockquote>
<p>Say what? Why on Earth use <code>tee</code> if you are going to dump it&#8217;s output to <code>/dev/null</code>? I assume  whoever wrote it ran into a file permission problem due to the redirection.<sup>1</sup> How about the following:<code></code></p>
<blockquote><p><code>sudo sh -c 'echo letter &gt; papersize'</code></p></blockquote>
<p>I&#8217;m not going to complain that their way spawns an extra process; I dislike complaints which ignore the capacity of modern computers and that this command is run once by hand. Probably, I just think their way is ugly. <img src='http://brainsik.theory.org/.:./wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
<ol class="footnotes"><li id="footnote_0_44" class="footnote">The <a href="http://www.gratisoft.us/sudo/man/sudo.html#examples">sudo manpage</a> also suggests using <code>sh -c</code> for making redirection work.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://brainsik.theory.org/.:./2007/making-a-new-file-the-ubuntu-way/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
