<?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>Terminus a Quo &#187; Ubuntu Linux</title>
	<atom:link href="http://abing.gotdns.com/posts/category/system-administration/ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://abing.gotdns.com</link>
	<description>Because you can never have too many blogs on the Internet...</description>
	<lastBuildDate>Tue, 19 May 2009 00:23:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 9.04 Jaunty Jackalope</title>
		<link>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/</link>
		<comments>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 05:44:34 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[You are doing it WRONG!!!]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=301</guid>
		<description><![CDATA[Last week decided to upgrade to the latest Ubuntu version 9.04, aka &#8220;Jaunty Jackalope&#8221;. Although I knew from the start that there was nothing really groundbreaking in this new release, I upgraded in order to be prepared for the next release due out this October. I have read a couple of articles, here and here. [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Last week decided to upgrade to the latest <a href="http://www.ubuntu.com/news/ubuntu-9.04-desktop">Ubuntu version 9.04, aka &#8220;Jaunty Jackalope&#8221;</a>. Although I knew from the start that there was nothing really groundbreaking in this new release, I upgraded in order to be prepared for the next release due out this October. I have read a couple of articles, <a href="http://news.cnet.com/8301-1001_3-10226746-92.html" title="Ubuntu 9.04 as slick as Windows 7, Mac OS X">here</a> and <a href="http://www.tectonic.co.za/wordpress/wp-trackback.php?p=4160" title="Is Ubuntu Jaunty quick enough to beat Windows 7?">here</a>. The first one seems to be all worked up about about aesthetics saying Ubuntu is &#8220;now as slick and as beautiful as Mac OSX or Windows 7&#8243;. The second article seem to be more impressed with how fast 9.04 boots up and shuts down.</p>

<p>A quick search through Google and I find more articles talking about how slick the new release is or how fast it starts up and shuts down. If these articles are anything to go by, then the developers have clearly met one of the goals set by their BDFL, Mark Shuttleworth: Shorter boot speeds, some as short as 25 seconds, ensure faster access to a full computing environment on most desktop, laptop and netbook models. But I fear that the developers have focused on these goals too much that they lost focus on two of the most important things for (most) end users: <strong>system stability</strong> and <strong>seamless upgrades</strong>.</p>

<p><span id="more-301"></span></p>

<p>I have been using Ubuntu since the very first release (Ubuntu 4.10) and I have used every single release since then. I use my computer for 8 hours a day at the very least. I have several projects that I maintain and file system integrity is very, very important for me. <strong>System stability</strong> is something that I expect from a &#8220;stable&#8221; release. Almost all of the Ubuntu releases so far have been very stable. The 8.04LTS release had a few issues with Flash crashing under 64-bit Firefox and Wi-Fi would die abruptly and get back up again but that&#8217;s about it. The 8.10 release had <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/286285" title="kernel 2.6.27-7-generic bug BUG: scheduling while atomic: swapper/0/0x00000100">a very annoying kernel bug that took <strong>5 months for a fix to be released</strong></a>.</p>

<p>Upgrades between releases have always been pretty painless for me. I don&#8217;t do a lot of funky stuff like installing packages directly from sources and certainly none of that &#8220;automatix&#8221; crap. Upgrades via &#8220;Update Manager&#8221; have always worked for me, with very few problems. I have come to depend on the fact that I can simply fire issue an <code>update-manager -d</code> and everything falls into place more or less correctly. At the end of an upgrade the most that I needed to do was to tweak a few config files, re-enable some repositories that were disabled during the upgrade and I&#8217;m done.</p>

<p>The upgrade process from 8.10 to 9.04 went without a hitch. I would even be inclined to say that it was <em>flawless</em>. What disappoints me so much to the point of frustration was that the apparently flawless upgrade had a couple of <strong>very nasty</strong> gremlins under the hood. When I rebooted my laptop after the upgrade, the Bluetooth light. It did this <em>every single time</em> I booted up. It is <em>not</em> supposed light up if I had it off when I shut down. The much touted 25-second boot up time was a no show. Boot up speed was more or less the same for me.</p>

<p>On my first boot up after upgrading, I was about to update my Medibuntu packages. After hitting &#8220;Reload&#8221; on Synaptic, it complained about not being able to write to the file system because it was mounted as &#8220;read-only&#8221;. Uh-oh! This could only mean one of two things: full disk or file system corruption. I thought that this was only a post-upgrade hiccup and it should go away on the next reboot. I rebooted, cleaned up my APT package cache to make sure that I had enough disk space on my root file system and I was able to update the Medibuntu packages.</p>

<p>The next day, I spent most of my time trying to figure out how to turn off the damned Bluetooth light which seems to come on every time the ACPI subsystem was initialized on boot. The config files I tweaked required me to reboot in order to see if they worked in keeping the Bluetooth light off. At one point, rebooting caused <code>fsck</code> to run and it reported that my root file system had errors that needed a manual <code>fsck</code>. I ran <code>fsck</code> manually and there were quite a lot of errors that needed fixing, mostly having to do with unused inodes. During the repair stage, one of the <code>libsvg</code> library files were hosed, causing startup of some of my GNOME panel applets to fail. I reinstalled the library and that fixed it. A couple more reboots and I then <code>fsck</code> was forced to check my home partition because apparently, it was not unmounted cleanly. Boot-time <code>fsck</code> failed with errors and required me to run it manually. In the manual run, it reported a whole lot of unused inode errors, several superblock errors, and directory errors. I lost one photo file in my F-Spot Photos folder. I was starting to get really nervous now. All my project repositories are in my home partition. I can&#8217;t afford to lose any of those files so I decided to take a snapshot and dump it on an external hard disk.</p>

<p>I spent all day long rebooting and running <code>fsck</code>. This was because something would crash at some point because of some library not loading. At one point I even ran <code>memcheck</code> to see if it wasn&#8217;t my memory. This laptop is only about 7 months old and I would be really disappointed if this was caused by hardware failure. In my previous experience, file system corruption was usually caused by a bad memory stick. Fortunately there were no problems reported by <code>memcheck</code>. <code>fsck</code> with bad blocks checking reports no bad blocks on my hard drive. I can only come to the conclusion that this is a software problem caused by the upgrade. After several more crashes and <code>fsck</code> runs reporting more of the same thing, I was frustrated and I finally gave up. I downloaded the ISO image for Ubuntu 8.10, hoping that it would not crash during download and completely hose my home file system. I had no choice at this point and I wiped my root file system and installed Ubuntu 8.10, which surprisingly caused the Hibernate function to work.</p>

<p>It was a really disappointing and frustrating experience. I think the Ubuntu team has succeeded in their goal of trying to out-Windows Windows. This latest release was so unstable that it made me long for the good old days of Windows ME. This unhealthy obsession with faster boot and shutdown times is causing them to lose focus on system stability and seamless upgrading. I can&#8217;t see how having the fastest boot and shutdown time will help make Ubuntu any more useful than it is right now. I don&#8217;t really give a flying fart if the OS boots in 25 seconds or 25 minutes. I don&#8217;t really care about how slick the on-screen system notifications are. All I really care about is a clean, stable, easily maintained and easily upgraded operating system that does not play Russian Roulette with my files. Hopefully the Ubuntu team gets through this &#8220;my OS can boot faster than yours&#8221; phase and start working on the more important things. Otherwise, we will all be stuck with an OS that can do nothing more than boot and shutdown: Really fast.</p>

<p>Side note: A &#8220;Jackalope&#8221; is a mythical creature and sightings of this creature have been attributed to <a href="http://ww2.lafayette.edu/~hollidac/jacksforreal.html">rabbits infected with the Shope Papilloma virus</a>. I think the codename really suites the 9.04 release. It&#8217;s a beast that has sprouted some rather curious but completely useless appendages at the expense of being healthy.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the Recent Debian OpenSSL Debacle</title>
		<link>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/</link>
		<comments>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/#comments</comments>
		<pubDate>Fri, 16 May 2008 04:00:30 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=145</guid>
		<description><![CDATA[I can think of only two words that best describe the whole deal: Epic fail.

It&#8217;s been quite a spectacle ever since I saw that security vulnerability report on the NVD RSS feed. Even though the bug has been patched and fixed, system administrators are now left with the task of cleaning up the mess. It [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I can think of only two words that best describe the whole deal: Epic fail.</p>

<p>It&#8217;s been quite a spectacle ever since I saw that security vulnerability report on the NVD RSS feed. Even though the bug has been patched and fixed, system administrators are now left with the task of cleaning up the mess. It would have been OK if it only affected Debian and Debian-based systems. But it turns out the damage is far reaching. <strong>Even if you don&#8217;t run Debian, if you are using SSL certificates generated by a CA who generated the certificate using  a Debian system, your SSL certificate will have to be revoked and replaced!</strong> See <a href="http://metasploit.com/users/hdm/tools/debian-openssl/">here</a>.</p>

<p>Amazing what a couple of lines of code can do.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feels Like Christmas Came Early This Year&#8230;</title>
		<link>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/</link>
		<comments>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 03:57:05 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=141</guid>
		<description><![CDATA[Got a new server a couple of days ago and I just completed upgrading iwojima to a new version of Ubuntu. I&#8217;m now running Ubuntu 8.04 LTS on the desktop and all I can say is that it&#8217;s a step forward for Linux on the desktop. I still can&#8217;t wrap my head around the reason [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Got a new server a couple of days ago and I just completed upgrading iwojima to a new version of Ubuntu. I&#8217;m now running Ubuntu 8.04 LTS on the desktop and all I can say is that it&#8217;s a step forward for Linux on the desktop. I still can&#8217;t wrap my head around the reason for making Mozilla Firefox 3 Beta 5 the default browser on an LTS (Long-term Support) release. But it looks like it was a good decision to do so. The only thing missing are some key extensions that I use a lot, such as Firebug and the Del.icio.us extension.</p>

<p>For a Beta release, Firefox 3 is pretty solid and feels really fast. I haven&#8217;t had nspluginwrapper crash on me yet, as opposed to the previous version which would crash from time to time especially when viewing sites with multiple Flash movies. Hopefully, Evolution mail client crashes have been fixed in this LTS release. It&#8217;s caused me a lot of grief before when it would crash randomly and then keep crashing when I restart it.</p>

<p>Desktop effects still suck though. When I enabled it, I still get that ugly black screen flash whenever I start Firefox. The new clock applet finally supports multiple timezones, very useful since I deal with clients in different timezones.</p>

<p>Two apps the I use a lot, Wine and Cinelerra, both have repositories for 8.04 so it looks like I have everything I need. Overall it feels like a solid release worth of the &#8220;LTS&#8221; designation.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 64-bit Plunge</title>
		<link>http://abing.gotdns.com/posts/2007/the-64-bit-plunge/</link>
		<comments>http://abing.gotdns.com/posts/2007/the-64-bit-plunge/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 16:31:46 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Yes, I do have a Life.]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2007/the-64-bit-plunge/</guid>
		<description><![CDATA[My aging Pentium 4-based desktop died last week and once again, I was in the market for a new PC. I had been wrangling with the old one with its loose DDR and IDE slots that have caused me so much grief from time to time when the slightest jar would make things go haywire.

For [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>My aging Pentium 4-based desktop died last week and once again, I was in the market for a new PC. I had been wrangling with the old one with its loose DDR and IDE slots that have caused me so much grief from time to time when the slightest jar would make things go haywire.</p>

<p>For about half of what it would have cost me about 3 months ago, I was able to get a pretty decent (for my purposes) rig based on an Intel Core 2 Duo processor. Fortunately, I was able to keep all my IDE hard drives so that cut the costs even further. But my new motherboard has only one IDE port, the rest are all new stuff like SATAII and PCIe. The motherboard is based on Intel&#8217;s 945G chipset and as far as cheap motherboards go, it looks like a pretty solid board. I have no need for a new graphics card (yet) as I don&#8217;t have any &#8220;must play&#8221; games right now. Come to think of it, it&#8217;s been a while since I last played games on a PC since I got a PS2.</p>

<p>What I ended up with for PhP 17,000:</p>

<ul>
<li>Intel Core 2 Duo E4300 <em>(from what I read on Intel and hardware review sites, this chip is now discontinued which explains why I got this one for half of its initial release price)</em></li>
<li>ASRock ConRoe945G-DVI motherboard <em>I had to bump up it&#8217;s factory-installed BIOS because it kept resetting my S.M.A.R.T. settings for the hard drive)</em></li>
<li>Funky looking ATX case that whines like a dying animal when its chassis fan is turned on.</li>
<li>4 512MB DDR2 memory sticks</li>
</ul>

<p>I was able to reuse my old IDE drives. Too bad I could use only one of them. The two remaining hard drives are relegated to &#8220;backup storage device&#8221;.</p>

<p>As usual, it&#8217;s a dual-boot setup with both Windows XP Professional SP2 (32-bit) and Ubuntu 7.04 (64-bit). I really notice the performance difference between the 32-bit and 64-bit versions of Ubuntu. I tried both versions to see if there was any perceptible difference. Suffice to say, things are a lot snappier on 64-bit. As expected there were some problems with apps that stubbornly refuse to go 64-bit (Adobe Flash, JRE plugin). But nothing that a quick visit to the Ubuntu Forums didn&#8217;t fix.</p>

<p>Overall, it&#8217;s been a pretty good experience running 64-bit as a first class citizen&#8230;</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2007/the-64-bit-plunge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun With Xen</title>
		<link>http://abing.gotdns.com/posts/2007/fun-with-xen/</link>
		<comments>http://abing.gotdns.com/posts/2007/fun-with-xen/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 09:11:59 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2007/fun-with-xen/</guid>
		<description><![CDATA[I have been playing around with Xen for the past week and it&#8217;s always interesting to see Free Software/Open Source alternatives to products like VMWare or Virtual PC. So far I have been able to install Edgy as an domU inside a Feisty dom0 on a file-based disk image. It&#8217;s unnecessarily complicated to setup initially [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with Xen for the past week and it&#8217;s always interesting to see Free Software/Open Source alternatives to products like VMWare or Virtual PC. So far I have been able to install Edgy as an domU inside a Feisty dom0 on a file-based disk image. It&#8217;s unnecessarily complicated to setup initially but once you get into it, it&#8217;s pretty simple. Unfortunately, I don&#8217;t have the hardware needed to run Xen in full virtualization mode. Full virtualization allows the guest OS to run unmodified and requires processor support, which means either IVT (aka Vanderpool) or AMD-V (aka Pacifica) extensions. Right now I&#8217;m happy with paravirtualization mode since it&#8217;s all I need to be able to perform fault isolation experiments.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2007/fun-with-xen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 7.04 Feisty Fawn Upgrade and Fun Facts About Neo Laptops</title>
		<link>http://abing.gotdns.com/posts/2007/ubuntu-704-feisty-fawn-upgrade-and-fun-facts-about-neo-laptops/</link>
		<comments>http://abing.gotdns.com/posts/2007/ubuntu-704-feisty-fawn-upgrade-and-fun-facts-about-neo-laptops/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 15:26:58 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Yes, I do have a Life.]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2007/ubuntu-704-feisty-fawn-upgrade-and-fun-facts-about-neo-laptops/</guid>
		<description><![CDATA[I just finished upgrading my laptop from Ubuntu 6.10 to Ubuntu 7.04. Right away I decided to try out the &#8220;Desktop Effects&#8221; which enables Compiz. It&#8217;s pretty stable and I haven&#8217;t had it crash yet. While Desktop Effects is enabled, I cannot play movies using the popular players (totem+xine, mplayer, vlc) as the player seems [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I just finished upgrading my laptop from Ubuntu 6.10 to Ubuntu 7.04. Right away I decided to try out the &#8220;Desktop Effects&#8221; which enables Compiz. It&#8217;s pretty stable and I haven&#8217;t had it crash yet. While Desktop Effects is enabled, I cannot play movies using the popular players (totem+xine, mplayer, vlc) as the player seems to just crash. I haven&#8217;t found the time to investigate this yet.</p>

<p>One other thing I noticed with the recent upgrade is that shutdown seems to hang randomly. I have seen this behavior before on my desktop and it was due to an APM bug in my BIOS and it would happen consistently. This time however, the hangs seem to be random and I suspect that some process is in an uninterruptible sleep and <code>killall5 -9</code> in <code>sendsigs</code> is unable to kill the process.</p>

<p>Initially, I thought the hang was caused by a bug in my laptop&#8217;s ACPI and I decided to investigate. Searching around the web, I found out that my laptop is really a &#8220;white box&#8221; system from <a href="http://www.clevo.com.tw/" title="Clevo Website">Clevo</a> rebranded as &#8220;Neo&#8221;. It&#8217;s interesting because apparently Clevo has been supplying white box laptops to Alienware and other companies abroad, as I found out on <a href="http://forum.notebookreview.com/showthread.php?t=91510" title=" Clevo Guide - FAQ and Reseller Info">this forum posting</a> on notebookreview.com.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2007/ubuntu-704-feisty-fawn-upgrade-and-fun-facts-about-neo-laptops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selectively Backing up Gmail Messages with fetchmail and procmail</title>
		<link>http://abing.gotdns.com/posts/2007/selectively-backing-up-gmail-messages-with-fetchmail-and-procmail/</link>
		<comments>http://abing.gotdns.com/posts/2007/selectively-backing-up-gmail-messages-with-fetchmail-and-procmail/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 02:59:36 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Yes, I do have a Life.]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2007/selectively-backing-up-gmail-messages-with-fetchmail-and-procmail/</guid>
		<description><![CDATA[A couple of days ago, I found this piece on Digg showing how to back up Gmail messages on a local computer using fetchmail. While the instructions found there are mostly Cygwin-specific, fetchmail has its roots on Unix and those instructions can easily be adapted to Unix-based OS&#8217;s.

I decided to try it out and later [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago, I found <a href="http://lifehacker.com/software/gmail/geek-to-live--back-up-gmail-with-fetchmail-235207.php">this piece</a> on Digg showing how to back up Gmail messages on a local computer using <code>fetchmail</code>. While the instructions found there are mostly Cygwin-specific, <code>fetchmail</code> has its roots on Unix and those instructions can easily be adapted to Unix-based OS&#8217;s.</p>

<p>I decided to try it out and later found that it&#8217;s a waste of space to back up everything on my local computer. A lot of my messages on my Gmail account are from mailing lists and those are already available on the mailing list archives. What I really needed to do was to back up only important messages and discard the rest. For that, I needed <code>procmail</code>.</p>

<p><span id="more-78"></span></p>

<p>The instructions here are geared towards Gnu/Linux and specifically Ubuntu (or any Debian-based distro).  I also assume that you have already enabled POP in your Gmail account. We start by installing the packages we need:</p>

<pre><code>$ sudo aptitude install fetchmail procmail
</code></pre>

<p>That should pull in all the packages needed to run both programs. I already have <code>postfix</code> installed on my local computer as my SMTP server. So the instructions below are for <code>postfix</code>:</p>

<ol>
<li><p>Edit <code>/etc/postfix/main.cf</code> and make sure the following lines are present:</p>

<pre><code>mailbox_command = procmail -a &amp;#8220;$EXTENSION&amp;#8221;
home_mailbox = Mail/inbox/
</code></pre>

<p>Save the configuration file and then restart/reload <code>postfix</code>. The settings above tell <code>postfix</code> to invoke <code>procmail</code> for local mail delivery instead of delivering it to your local mailbox. Your local mailbox is specified in the second configuration line above. It tells <code>postfix</code> that you want your mail to arrive in your <code>~/Main/inbox/</code> in <strong>Maildir</strong> format (note the trailing slash).</p>

<p>Those familiar with <code>postfix</code> will notice that the <code>home_mailbox</code> option is no longer needed as <code>mailbox_command</code> takes care of local mail delivery. I added it there to make it easy to switch off <code>procmail</code> processing. Simply comment out <code>mailbox_command</code> and restart <code>postfix</code> when you want to turn of processing and delivery using <code>procmail</code>.</p></li>
<li><p>Create your <code>~/.fetchmailrc</code> configuration file:</p>

<pre><code>poll pop.gmail.com with proto POP3 and options no dns
user &amp;#8216;&lt;full GMAIL ADDRESS&gt;&amp;#8216; there with password &amp;#8216;&lt;gmail PASSWORD&gt;&amp;#8216; is &amp;#8216;nimrod&amp;#8217; here options ssl sslcertck sslcertpath &amp;#8216;/etc/ssl/certs/&amp;#8217;
limit 5242880 limitflush
</code></pre>

<p>Substitute your <code>FULL GMAIL ADDRESS</code> and <code>GMAIL PASSWORD</code> above. You may notice that it is a slightly modified version of the config file found in the lifehacker article. The second line is the one that specifies our authentication options to Gmail. In this case, I have opted to enable SSL (or TLS) authentication. The third line tells <code>fetchmail</code> to discard messages larger than 5MB (explained below).</p>

<p>Make sure you set the correct permissions for your <code>~/.fetchmailrc</code>. Do:</p>

<pre><code>$ chmod 0600 ~/.fetchmailrc
</code></pre></li>
<li><p>Create your <code>~/.procmailrc</code>. In my case I only wanted to save messages that were directly sent to my GMail address. Anything else is discarded. So in my <code>~/.procmailrc</code> I have the following (with my actual email address removed.):</p>

<pre><code># Download only stuff directly sent to my email address&amp;#8230;
:0:
* (^TO|^CC).*my\.email\.address@gmail\.com
Mail/inbox/

# Everything else goes into the bottomless pit&amp;#8230;
# If you don&amp;#8217;t want unwanted emails to vanish without a trace, change /dev/null below
# to point to another Maildir or mbox in your home directory.
:0:
* !(^TO|^CC).*my\.email\.address@gmail\.com
/dev/null
</code></pre>

<p>You will need to replace <code>my&#92;.email&#92;.address@gmail&#92;.com</code> with your actual email address. Dots in your email address need to be escaped with a backslash if they appear in a condition line. Read more about the <code>.procmailrc</code> file by typing:</p>

<pre><code>$ man procmailrc
</code></pre>

<p>To see some examples of <code>procmail</code> recipes:</p>

<pre><code>$ man procmailex
</code></pre></li>
<li><p>Now all that&#8217;s left for you to do is to create your Maildir mailbox:</p>

<pre><code>$ mkdir -p ~/Mail/inbox/{cur,new,tmp}
</code></pre></li>
<li><p>Run <code>fetchmail</code>:</p>

<pre><code>$ fetchmail
</code></pre></li>
</ol>

<p>It should start downloading your email now. <code>fetchmail</code> will download <em>almost</em> everything. I noticed that for some reason the number of messages left to download as indicated by <code>fetchmail</code> do not always equal the number of messages left on the Gmail server. But you can keep polling your account by repeatedly entering <code>fetchmail</code> at the command line or saying:</p>

<pre><code>$ fetchmail &amp;#8211;silent &amp;#8211;daemon 120
</code></pre>

<p>This will put <code>fetchmail</code> into daemon mode (background process) and have it poll your Gmail account every 2 minutes (120 secs).</p>

<h4>limit and limitflush</h4>

<p>I have setup my <code>fetchmail</code> configuration in such a way that very large messages are not downloaded. I have one message that is about 13MB in size and Gmail seems to close the connection near the end of the download. I found the message and it&#8217;s one of those email forwards with a very large attachment. Deleting it from my inbox did not seem to cause it to disappear in the POP3 messages seen by <code>fetchmail</code>. Because download fails for this message <code>fetchmail</code> keeps seeing this message and attempts to download it. This causes <code>fetchmail</code> to get stuck attempting to download this message. It seems that downloading messages larger than 10MB causes the Gmail server to timeout if your connection is slow.</p>

<p>The <code>limit</code> option sets the maximum size of a message in octets. The option I specified above sets this to 5MB. <code>limitflush</code> tells <code>fetchmail</code> to &#8220;flush&#8221; messages larger than <code>limit</code>. This prevents fetchmail from getting stuck with a very large message if you put it into daemon mode where you will probably have no idea what it&#8217;s doing.</p>

<p>You can adjust <code>limit</code> to your prefered message size limit or remove both options if you are sure all your messages are smaller than 10MB or if you have a very fast Internet connection.</p>

<h4>Notes</h4>

<p>Recently, Ubuntu seems to have switched from <code>postfix</code> to <code>exim4-daemon-light</code> as the default SMTP server. At least that&#8217;s as far as I can tell from what&#8217;s installed on my portable computer (clean install of Ubuntu Edgy Eft).</p>

<p>You need to follow a different set of instructions in order to use <code>procmail</code> if your setup uses <code>exim4</code> instead of <code>postfix</code>.</p>

<h4>For The &#8220;Under-privileged&#8221; Among Us</h4>

<p>For those who do not have the luxury of having administrator or <code>sudo</code> privileges, worry not: you can still use <code>procmail</code> if your local SMTP server allows QMail-style email aliases using dot-forward or <code>~/.forward</code> files. Create your <code>~/.procmail</code> file as above. Then simply create a file <code>~/.forward</code> with the following contents (yes, those quotes <em>belong there</em>):</p>

<pre><code>&amp;#8220;|IFS=&amp;#8217; &amp;#8216; &amp;#038;&amp;#038; exec /usr/bin/procmail -f- || exit 75 &lt;username&gt;&amp;#8221;
</code></pre>

<p>Replace USERNAME above with your username.</p>

<p>a</p>

<p></username></gmail></full></p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2007/selectively-backing-up-gmail-messages-with-fetchmail-and-procmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRI with ATI Cards under Ubuntu Edgy Eft</title>
		<link>http://abing.gotdns.com/posts/2006/dri-with-ati-cards-under-ubuntu-edgy-eft/</link>
		<comments>http://abing.gotdns.com/posts/2006/dri-with-ati-cards-under-ubuntu-edgy-eft/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 08:14:04 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2006/dri-with-ati-cards-under-ubuntu-edgy-eft/</guid>
		<description><![CDATA[By following this thread I was able to get DRI (for hardware accelerated 3D) to work for my ATI Radeon 9250 card.

If you&#8217;re too lazy to dig it up, here&#8217;s the low-down on things:

DRI is broken because the kernel drm.ko module refuses to load on start up.
This is linked to recent updates concerning AIGLX.

Indications of [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>By following <a href="http://ubuntuforums.org/showthread.php?t=255929">this thread</a> I was able to get DRI (for hardware accelerated 3D) to work for my ATI Radeon 9250 card.</p>

<p>If you&#8217;re too lazy to dig it up, here&#8217;s the low-down on things:</p>

<ul>
<li>DRI is broken because the kernel drm.ko module refuses to load on start up.</li>
<li>This is linked to recent updates concerning AIGLX.</li>
</ul>

<p>Indications of this error:</p>

<pre>$ grep WW /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Probed monitor is 320x240 mm, using Displaysize 336x269 mm
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
</pre>

<p>Then when you try to manually load the drm module:</p>

<pre>$ sudo modprobe drm
Password:
FATAL: Error inserting drm (/lib/modules/2.6.17-10-generic/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
</pre>

<p>To fix it you should edit your <code>/etc/X11/xorg.conf</code> and add the following lines if you don&#8217;t already have them:</p>

<pre>Section "Extensions"
        Option  "Composite"     "Disable"
EndSection
</pre>

<p>If you have been using the Open Source X.org drivers for ATI (ati) while you switched to fglrx, <em>you must reboot your computer</em>. Simply zapping your X server will not do the job. It seems that the kernel is left in a complete mess when you switch drivers. Additionally before rebooting, make sure that the fglrx module is loaded by the kernel on startup. Do:</p>

<pre>$ grep fglrx /etc/modules
</pre>

<p>You should get <code>fglrx</code> as a result. If nothing is displayed, then do:</p>

<pre>$ sudo nano /etc/modules
</pre>

<p>add <code>fglrx</code> on a line of its own, save the file and reboot.</p>

<p>Note that it&#8217;s no longer required to use an older <code>libGL.so.1.2</code> if you have an RV2xx card. The current driver version that ships with Edgy seems to work with these low-end cards.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2006/dri-with-ati-cards-under-ubuntu-edgy-eft/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Edgy Eft&#8230; Yay!</title>
		<link>http://abing.gotdns.com/posts/2006/ubuntu-edgy-eft-yay/</link>
		<comments>http://abing.gotdns.com/posts/2006/ubuntu-edgy-eft-yay/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 18:41:35 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/posts/2006/ubuntu-edgy-eft-yay/</guid>
		<description><![CDATA[I just finished upgrading to Ubuntu 6.10, code named &#8220;Edgy Eft&#8221;. On the surface, it looks no different from 6.06 (Dapper) but Gnome certainly feels a lot faster. Startup is still a bit slow, but mostly because I have a lot of startup programs (Apache, MySQL, and Postgres). Firefox 2.0, Gnucash 2.0.1, OpenOffice 2.0.4, Mono [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I just finished upgrading to Ubuntu 6.10, code named &#8220;Edgy Eft&#8221;. On the surface, it looks no different from 6.06 (Dapper) but Gnome certainly feels a lot faster. Startup is still a bit slow, but mostly because I have a lot of startup programs (Apache, MySQL, and Postgres). Firefox 2.0, Gnucash 2.0.1, OpenOffice 2.0.4, Mono 1.1.17, Beagle, F-Spot, Tomboy, and Gnome 2.16 were all very compelling reasons for an upgrade.</p>

<p>Upgrade went smoothly and it was all done via the Update Manager GUI. A few minor niggles to the upgrade:</p>

<ul>
<li>3D acceleration is broken again for my ATI Radeon 9250 graphics card. This time, it appears there is no workaround as the kernel drm module flat out refuses to load.</li>
<li>I don&#8217;t like the new &#8220;silent&#8221; usplash where only a progress bar is shown. I liked the Dapper version better where you get to see what&#8217;s happening.</li>
<li>Firefox 2.0 appears to have some issues with regards to the Flash plugin. Hopefully this does not have an effect on the upcoming Flash 9 player for Linux.</li>
</ul>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2006/ubuntu-edgy-eft-yay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Talk is Cheap</title>
		<link>http://abing.gotdns.com/posts/2006/talk-is-cheap/</link>
		<comments>http://abing.gotdns.com/posts/2006/talk-is-cheap/#comments</comments>
		<pubDate>Thu, 10 Aug 2006 08:10:28 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[Code and Consequences]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Yes, I do have a Life.]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/2006/08/10/50/</guid>
		<description><![CDATA[A recent article on InfoWorld by Tom Yager talks about some things being considered by AMD with regards to their recent acquisition of ATI. The most interesting part of the article is the last paragraph where it says:

Lastly, and remember you heard it here, AMD is strongly considering open-sourcing at least a functional subset of [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>A recent article on InfoWorld by Tom Yager talks about some things being considered by AMD with regards to their recent acquisition of ATI. The most interesting part of the article is the last paragraph where it says:</p>

<blockquote>Lastly, and remember you heard it here, AMD is strongly considering open-sourcing at least a functional subset of ATI’s graphics drivers.</blockquote>

<p><span id="more-50"></span></p>

<p>In the [article][infoworldarticle], Tom Yager points out some very interesting things that could come out of the acquisition. But the first sentence of the last paragraph is the one that really got me excited. I have been an NVidia customer for the past 3 years. Needless to say the only thing that kept me from ever considering ATI cards was Linux driver support. It is widely known that even under Windows, ATI&#8217;s Catalyst drivers cause a lot of headaches for users. And on Linux, the headaches were much worse. Anything from <em>zero</em> support for newer ATI cards to broken hardware-accelerated OpenGL drivers. I never had any of these problems with NVidia cards on Linux.</p>

<p>Two of my last graphics cards were NVidia cards and both of the burned out: <em>literally</em>. When the last card burned out after only about 12 months of use (and abuse) I told myself that it was the last time NVidia burned through my wallet as well.</p>

<p>So I bought a new graphics card, this time one with an ATI chipset. And it&#8217;s been working like a charm until I upgraded Ubuntu to 6.06 where the latest fglrx drivers shipped with b0rked OpenGL drivers. I had to resort to searching the many ATI user forums for the solution. It dawned on me that when it comes to driver support, ATI has a lot to learn from the NVidia folks. With every new driver release, which supposedly fixes problems of the previous release, a new crop of problems would come up. Even worse, problems that were supposed to have been fixed in <em>previous</em> releases would resurface. One step forward, two steps back.</p>

<p>One thing that caught my attention while I was reading through the forum posts was the significant number of posts that said &#8220;ATI should open source their drivers&#8221; or &#8220;if only the drivers were open source&#8221;. It&#8217;s not that different on the NVidia forums, but on the ATI forums there are a lot more of these comments.</p>

<p>So this recent tidbit from the Infoworld article is a welcome challenge to AMD. But a few things bother me the more I think about it.</p>

<h3>AMD is only &#8220;strongly considering&#8221; opening &#8220;a functional subset&#8221; of the drivers</h3>

<p>This is very important. There is <em>no</em> confirmation from AMD that this will happen. Considering the semantics of the statement, although there is a very high likelihood that this will happen, there is a very real possibility that this idea will be scrapped anyway. In the off chance that AMD opens up their drivers, what &#8220;functional subset&#8221; will they open up?</p>

<p>There are two parts to the drivers under Linux. One part is the kernel module for enabling the card itself, the other part is the fglrx drivers for X Windows that provide hardware-accelerated OpenGL support.</p>

<h3>Will they open up the kernel module?</h3>

<p>There has been a lot of heated debate with regards to allowing proprietary drivers to be loaded into the Linux kernel. Most argue that the GPL version 2, which is the license used by the Linux kernel, has a clause that forbids proprietary drivers from being &#8220;linked&#8221; with the kernel. They consider kernel loadable modules to be equivalent to dynamically linked code. Linus has already had his say in this matter, though this issue tends to bubble up every now and then, it has been considered &#8220;closed&#8221; at the moment.</p>

<p>If AMD does open up the kernel module, I am sure this would make a lot of devs happy and a lot of those involved in [Xen][xenproject] even <em>happier</em>. Considering that AMD has a lot at stake with their own virtualization technology, this would be a very good move on their part. Not only will it help them sell more CPU&#8217;s and chipset with virtualization technology, it would also help them sell more ATI-based cards as a combo with their CPU&#8217;s and chipsets.</p>

<h3>Will they open up the fglrx OpenGL drivers?</h3>

<p>A lot of the major problems out there seem to be caused by buggy or completely broken OpenGL drivers. I have personally experienced this and all I can say is that it&#8217;s <em>horrible</em>. When I recently upgraded to Ubuntu 6.06, which ships with the fglrx version 8.25.18, I suddenly lost hardware-accelerated OpenGL support. Suddenly, X.org fell back to using Mesa (ugh) and I was playing Quake 3 at 1 FPS.</p>

<p>My search for a solution drove me to download an <em>older</em> driver and extract the libGL.so that came with that and put it in place of the one found in 8.25.18. It appears that the new OpenGL drivers <em>do not</em> support my card (Radeon 9250-based). The frustrating part is that it is <em>listed as supported</em> based on the X.org log.</p>

<p>Recently, ATI released a new driver version and I was really hoping to try it out myself. But before jumping in and installing it like many users out there, I decided to wait it out and monitor the Ubuntu forums. It appears that ATI does it <em>again</em>, horribly broken drivers and R9250 appears to be unsupported as well. Worse, some users report that the &#8220;X.org GDM lockup bug&#8221; is back in the new drivers. This bug was already fixed in fglrx 8.8.25(?) so this just confirms the notion that it&#8217;s &#8220;one step forward, two steps backward&#8221; when it comes to ATI Linux drivers.</p>

<p>There is already an open source driver for ATI and it has support for my Radeon 9250 but as can be seen in this [Phoronix review][phoronix] there is a great gap in framerates between the open source and proprietary drivers. Not only that, the proprietary drivers also come with tools like aticonfig and fireglcontrolpanel. Though I never use those tools from the proprietary driver it provides the &#8220;hand holding&#8221; necessary for Linux newbies who are accustomed to using GUI tools for everything.</p>

<p>So, will opening up the OpenGL drivers actually <em>improve</em> the current situation with ATI&#8217;s buggy proprietary drivers? It&#8217;s difficult to say at this point. But one thing to consider is that the open source drivers were made using specifications from ATI. But the Phoronix review results (though a bit limited in scope) seem point to a far superior performance using the proprietary drivers. If those tests were done with much more than one game/application and they turn out the same results with the proprietary drivers beating the open source drivers by a wide margin, this could mean one of two things:</p>

<ol>
<li><p>ATI was not totally honest in providing the specs to the open source Radeon drivers team and that they are using &#8220;hidden&#8221; interfaces and functions in their proprietary drivers.</p>

<p>It has already be stated by both NVidia and ATI representatives that the reason why they refuse to release the source for their drivers is that they do not want their &#8220;intellectual property&#8221; out there. Both card manufacturers are neck-and-neck in competing for consumer (and gamer) dollars.</p>

<p>You could argue that Intel has gone and provided open source drivers for their graphics chipsets, but then again, we already know that those things suck anyway and that no serious gamer uses them <img src='http://abing.gotdns.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p></li>
<li><p>Opening up the source for the drivers should vastly improve the existing open source Radeon drivers and would eventually result in getting those driver bugs fixed at a much faster rate.</p>

<p>One of the reasons that you see users crying out &#8220;open source the drivers&#8221; on the forums is that apparently, it will get those bugs fixed much faster. More importantly, it should prevent old bugs from creeping up in new versions. We don&#8217;t know what kind of software development process ATI uses for developing their drivers, but apparently these guys have never heard of &#8220;regression testing&#8221;. Old bugs fixed in older versions should <em>not</em> come up in newer versions.</p></li>
</ol>

<p>Both the open source Radeon drivers and the proprietary firegl drivers would benefit from opening the source, even for just the OpenGL drivers. If the solution to the OpenGL problem was replace the libGL.so from the new version with a libGL.so from an old version, it just goes to show that the problem lies within their OpenGL drivers.</p>

<p>I really hope that AMD really does go through with this. In the event that AMD actually does open source the ATI drivers, even if it&#8217;s just a &#8220;functional subset&#8221;, that would really nail it for them in terms of competing with NVidia (until NVidia does the same thing with their drivers <img src='http://abing.gotdns.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) The issue with Linux drivers was the one thing that kept me from switching to ATI. While these problems are solvable using work-arounds, I hate work-arounds. Work-arounds break eventually. I would rather have those problems fixed permanently, than having to constantly work around them with each new driver release.</p>

<p>[infoworldarticle]: http://www.infoworld.com/article/06/08/02/32OPcurve_1.html &#8220;AMD talks about ATI&#8221;
[xenproject]: http://www.xensource.com/ &#8220;Xen Open Source Virtualization&#8221;
[phoronix]: http://www.phoronix.com/scan.php?page=article&#038;item=463&#038;num=2 &#8220;ATI: Open v. Closed Drivers&#8221;</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2006/talk-is-cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
