<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>unsigned long geek = random(); &#187; Open Source</title>
	<atom:link href="http://mjturner.net/blog/archives/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://mjturner.net/blog</link>
	<description>Michael-John Turner: Musings from a random UNIX geek</description>
	<lastBuildDate>Fri, 12 Jun 2009 22:28:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
		<item>
		<title>Cheaper international Linux Journal subscriptions</title>
		<link>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/</link>
		<comments>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:19:55 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=286</guid>
		<description><![CDATA[I just received this in a mail from the publishers of Linux Journal:

For a limited time all international subscriptions to the print edition of Linux Journal will be reduced to the low price of $49.50 for 1 year (a savings of over 30% off the regular price) AND upgraded to include a free digital subscription. [...]]]></description>
			<content:encoded><![CDATA[<p>I just received this in a mail from the publishers of <a href="http://www.linuxjournal.com/">Linux Journal</a>:</p>
<blockquote><p>
For a limited time all international subscriptions to the print edition of Linux Journal will be reduced to the low price of $49.50 for 1 year (a savings of over 30% off the regular price) AND upgraded to include a free digital subscription. As a special bonus you will also receive Linux Journal&#8217;s System Administration Special Issue free of charge.
</p></blockquote>
<p>I&#8217;ve been a Linux Journal subscriber since the late 90s and can recommend it as one of the better general-interest computer publications. To take advantage of the special offer, visit the <a href="https://secure.linuxjournal.com/subs/newsub/print_intl?promo=M96INTL">Linux Journal site</a>. It seems the promo code to take part in this offer is <strong>M96INTL</strong>.</p>
<p>Update: Fixed the link to the subscription page, courtesy of Mark at Linux Journal. Whoops!</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/06/cheaper-international-linux-journal-subscriptions--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>NetBSD 5.0 released</title>
		<link>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/</link>
		<comments>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 12:01:35 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[netbsd]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=273</guid>
		<description><![CDATA[For those who may have missed yesterday&#8217;s announcement, after a long beta and release candidate period, NetBSD 5.0 is finally available.
Andrew Doran has prepared a presentation (PDF) giving a high level overview of changes in 5.0 . Some highlights include:

Journaling enhancements to FFS (WAPBL)
Finer-grained locking on SMP systems
A new kernel module system
Vastly improved ACPI support
Many [...]]]></description>
			<content:encoded><![CDATA[<p>For those who may have missed yesterday&#8217;s <a href="http://www.netbsd.org/releases/formal-5/NetBSD-5.0.html">announcement</a>, after a long beta and release candidate period, <a href="http://www.NetBSD.org/">NetBSD</a> 5.0 is finally available.</p>
<p>Andrew Doran has prepared a <a href="http://www.netbsd.org/~ad/50/">presentation</a> (<a href="http://www.netbsd.org/~ad/50.pdf">PDF</a>) giving a high level overview of changes in 5.0 . Some highlights include:</p>
<ul>
<li>Journaling enhancements to FFS (<a href="http://www.daemon-systems.org/man/wapbl.4.html">WAPBL</a>)</li>
<li>Finer-grained locking on SMP systems</li>
<li>A new kernel module system</li>
<li>Vastly improved ACPI support</li>
<li>Many ports using <a href="http://www.x.org/">X.Org</a> instead of<a href="http://www.xfree86.org/">XFree86</a></li>
</ul>
<p>All in all, this is probably one of the most significant releases in the project&#8217;s history &#8211; kudos to all involved.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/04/netbsd-50-released--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Ubuntu 9.04 Upgrade on the HP Mini-Note 2133</title>
		<link>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/</link>
		<comments>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 15:12:07 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hp2133]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=226</guid>
		<description><![CDATA[A few days ago I upgraded the Ubuntu partition on my HP Mini-Note 2133 from 8.10 to the release candidate of 9.04 (i386). The upgrade itself went very smoothly, for the most part &#8211; I ran Update Manager, answered a few questions and waited for the upgrade to complete. With the fairly pedestrian 1.2Ghz VIA [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I upgraded the Ubuntu partition on my <a href="http://h40059.www4.hp.com/hp2133/">HP Mini-Note 2133</a> from 8.10 to the release candidate of <a href="http://www.ubuntu.com/getubuntu/releasenotes/904overview">9.04</a> (i386). The upgrade itself went very smoothly, for the most part &#8211; I ran <a href="http://www.ubuntu.com/getubuntu/upgrading">Update Manager</a>, answered a few questions and waited for the upgrade to complete. With the fairly pedestrian 1.2Ghz VIA C7 CPU the upgrade took around an hour and a half.</p>
<p>When I rebooted, I spotted the first problem &#8211; GRUB presented me with the kernels from 8.10 (2.6.27.*) but not the 9.04 kernel (2.6.28.*). During the installation I had elected not to overwrite GRUB&#8217;s menu.lst, thinking that it would still get updated when the kernel package was configured. Oddly, that didn&#8217;t happen. My solution was to edit /boot/grub/menu.lst and add entries for the 9.04 default kernel (doing a dpkg-reconfigure on the kernel package would probably also have fixed it).</p>
<p>Once I had booted the correct kernel, I tackled the second problem &#8211; X didn&#8217;t work. With 8.10 I had been using the proprietary <a href="https://wiki.ubuntu.com/LaptopTestingTeam/HP2133/DisplayConfig810">VIA DRM kernel module</a>, which enabled hardware-accelerated 3D on the 2133&#8217;s Chrome9 chipset, but it didn&#8217;t work with the updated 9.04 kernel. I moved my /etc/X11/Xorg.conf out of the way and restarted X, which then started correctly with sane defaults (newer releases of X.Org no longer require a configuration file). Rather pleasingly, the <a href="http://www.openchrome.org/">OpenChrome</a> driver being used by X.Org started with the correct 1280&#215;768 resolution. The one downside of not using the VIA module is that compiz et al. don&#8217;t work &#8211; not a big issue for now and one that should be rectified once VIA update their DRM kernel module for 9.04&#8217;s kernel. One possible workaround is to boot the most recent kernel from 8.10 (which is still installed), but I haven&#8217;t tried that yet.</p>
<p>The third problem, and the most annoying, relates to the 2133&#8217;s Broadcom wireless. With 8.10 I had been using <a href="https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff">ndiswrapper</a> and it worked perfectly. For some reason, as soon as I tried to connect to my home wireless network after upgrading to 9.04, WPA authentication failed (I kept getting prompted for my key and the key I entered was never saved). I then switched to using the Broadcom STA driver, which authenticates successfully, but exhibits a few problems of its own &#8211; it often looses the connection to my access point and sometimes doesn&#8217;t work correctly after resuming from a suspend. I&#8217;m going to switch back to using ndiswrapper to see if it&#8217;ll work with a bit more coaxing.</p>
<p>Overall, I&#8217;m reasonably happy with the upgrade &#8211; other than the issues mentioned above, it went smoothly and the system is working well. The only issue that&#8217;s really causing me pain at the moment is the wireless (but then it is Broadcom&#8230;).</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/04/ubuntu-904-upgrade-on-the-hp-mini-note-2133--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>XFS and directory mtime updates</title>
		<link>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/</link>
		<comments>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:06:59 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[filesystems]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/</guid>
		<description><![CDATA[A few months ago while working on a Linux system using XFS, I came across an interesting &#8220;feature&#8221;. When moving a directory such that its owner changed, the moved directory&#8217;s mtime was changed to the current date and time.
For example:

[0] mj@majestic:~/tmp$ mount &#124;grep home
/dev/mapper/data-home on /home type xfs (rw)
[0] mj@majestic:~/tmp$ mkdir test
[0] mj@majestic:~/tmp$ ls -ld [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago while working on a Linux system using <a href="http://oss.sgi.com/projects/xfs/">XFS</a>, I came across an interesting &#8220;feature&#8221;. When moving a directory such that its owner changed, the <em>moved</em> directory&#8217;s mtime was changed to the current date and time.</p>
<p>For example:<br />
<code><br />
[0] mj@majestic:~/tmp$ mount |grep home<br />
/dev/mapper/data-home on /home type xfs (rw)<br />
[0] mj@majestic:~/tmp$ mkdir test<br />
[0] mj@majestic:~/tmp$ ls -ld test<br />
drwxr-sr-x 2 mj mj 6 Jun 18 15:28 test<br />
[0] mj@majestic:~/tmp$ touch -t 200801011530 test<br />
[0] mj@majestic:~/tmp$ ls -ld test<br />
drwxr-sr-x 2 mj mj 6 Jan  1 15:30 test<br />
[0] mj@majestic:~/tmp$ stat test<br />
  File: `test'<br />
  Size: 6               Blocks: 0          IO Block: 4096   directory<br />
Device: fd00h/64768d    Inode: 951267331   Links: 2<br />
Access: (2755/drwxr-sr-x)  Uid: ( 1000/      mj)   Gid: ( 1000/      mj)<br />
Access: 2008-01-01 15:30:00.000000000 +0000<br />
Modify: 2008-01-01 15:30:00.000000000 +0000<br />
Change: 2008-06-18 15:29:08.173750666 +0100<br />
[0] mj@majestic:~/tmp$ mv test test1<br />
[0] mj@majestic:~/tmp$ ls -ld test1<br />
drwxr-sr-x 2 mj mj 6 Jan  1 15:30 test1<br />
[0] mj@majestic:~/tmp$ mv test1 ..<br />
[0] mj@majestic:~/tmp$ ls -ld ../test1<br />
drwxr-sr-x 2 mj mj 6 Jun 18 15:30 ../test1<br />
  File: `../test1'<br />
  Size: 6               Blocks: 0          IO Block: 4096   directory<br />
Device: fd00h/64768d    Inode: 951267331   Links: 2<br />
Access: (2755/drwxr-sr-x)  Uid: ( 1000/      mj)   Gid: ( 1000/      mj)<br />
Access: 2008-01-01 15:30:00.000000000 +0000<br />
Modify: 2008-06-18 15:30:02.814078187 +0100<br />
Change: 2008-06-18 15:30:02.814078187 +0100<br />
</code></p>
<p>I&#8217;d never seen this happen before, so I tried to reproduce the behaviour on systems using ext3, UFS and HFS+ filesystems. None of them updated the moved directory&#8217;s mtime when the parent directory changed, which is what one would expect. XFS does have an active mailing list, so I <a href="http://oss.sgi.com/archives/xfs/2008-06/msg00198.html">reported</a> my findings and was quickly provided with a <a href="/blog/misc/xfs_mtime.patch">patch</a> that fixed the problem. Kudos to the XFS developers for providing a fix so quickly.</p>
<p>Rather odd that no-one had spotted this behaviour in the past though&#8230;<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2008/09/xfs-and-directory-mtime-updates--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Re-bootstrapping pkgsrc</title>
		<link>http://mjturner.net/blog/archives/2008/07/26/re-bootstrapping-pkgsrc/</link>
		<comments>http://mjturner.net/blog/archives/2008/07/26/re-bootstrapping-pkgsrc/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 10:43:11 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[pkgsrc]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[netbsd]]></category>
		<category><![CDATA[packages]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/archives/2008/07/26/re-bootstrapping-pkgsrc/</guid>
		<description><![CDATA[pkgsrc doesn&#8217;t officially support re-bootstrapping once it&#8217;s been installed (ie updating the core packages by doing a fresh bootstrap). There is a way to force one by removing a few core packages first though:
pkg_delete -ff bootstrap-mk-files bmake tnftp pax pkg_install
cd /usr/pkgsrc/bootstrap
./bootstrap

As long as the fresh bootstrap is done using the same parameters as used originally [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pkgsrc.org">pkgsrc</a> doesn&#8217;t officially support re-bootstrapping once it&#8217;s been installed (ie updating the core packages by doing a fresh bootstrap). There is a way to force one by removing a few core packages first though:<code><br />
pkg_delete -ff bootstrap-mk-files bmake tnftp pax pkg_install<br />
cd /usr/pkgsrc/bootstrap<br />
./bootstrap<br />
</code></p>
<p>As long as the fresh bootstrap is done using the same parameters as used originally (prefix, database directory, etc), everything should work as before. </p>
<p>I tested this a short while ago on an OS X 10.5 system using a pkgsrc -current tree and it worked perfectly.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2008/07/re-bootstrapping-pkgsrc--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2008/07/26/re-bootstrapping-pkgsrc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Build a better mail server with NetBSD, part 2</title>
		<link>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/</link>
		<comments>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 08:06:45 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/</guid>
		<description><![CDATA[In the first part of this short series, I detailed the reasoning behind my need for a new mail server. In this second part, I&#8217;m going to detail my mail architecture as well as the software choices I made and why.
All mail for my various domains is delivered to the primary MX, which is a [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://weblogs.turner.org.za/mj/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/">first part</a> of this short series, I detailed the reasoning behind my need for a new mail server. In this second part, I&#8217;m going to detail my mail architecture as well as the software choices I made and why.</p>
<p>All mail for my various domains is delivered to the primary MX, which is a hosted server sitting in the US running <a href="http://www.debian.org">Debian GNU/Linux</a> (unfortunately my hosting provider doesn&#8217;t support NetBSD). It runs <a href="http://www.postfix.org">postfix</a> and makes use of a variety of checks within postfix itself as well as <a href="http://postgrey.schweikert.ch/">postgrey</a> for greylisting. I use a fairly conservative list of RBLs and, in conjunction with greylisting, they stop most spam from being accepted. Why postfix? Well, I stopped using sendmail over ten years ago, and although I&#8217;ve had good results with <a href="http://www.exim.org">Exim</a> in the past, these days I&#8217;m just most comfortable with postfix and it suits my needs perfectly.</p>
<p>The RBLs I use:</p>
<ul>
<li>zen.spamhaus.org</li>
<li>cbl.abuseat.org</li>
<li>list.dsbl.org</li>
</ul>
<p>Once mail has been received by my primary MX, it is delivered to local mailboxes, one per user. None of the users read their mail from the US server, however. All the mail is downloaded to the local mail server via SSL-secured POP3 and accessed here, either locally or via IMAP. The local mail server is a Sun Ultra 2 running NetBSD/sparc64 3.1_STABLE.</p>
<p>Software I&#8217;m using on the local mail server:</p>
<ul>
<li>postfix</li>
<li><a href="http://www.dovecot.org">dovecot</a> for IMAP (over SSL) access. There are a number of IMAP/POP3 servers available, but I chose Dovecot because of its clean design, good security record and flexible support for mail storage, amongst other things.</li>
<li><a href="http://www.ijs.si/software/amavisd/">amavisd-new</a> with <a href="http://spamassassin.apache.org/">spamassasin</a> (with razor and Bayesian filtering enabled) and <a href="http://www.clamav.net/">clamav</a> for content filtering</li>
<li><a href="http://pyropus.ca/software/getmail/">getmail</a> to download mail from the US server</li>
<li><a href="http://mailgraph.schweikert.ch/">mailgraph</a> for simple reporting</li>
</ul>
<p>All of the above are available in pkgsrc. As I have already done any RBL-based checks on the MX, I don&#8217;t do any of them locally.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/07/build-a-better-mail-server-with-netbsd-part-2--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>pkgsrc on FreeBSD/sparc64 6.2</title>
		<link>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/</link>
		<comments>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 17:49:44 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[pkgsrc]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/</guid>
		<description><![CDATA[Although FreeBSD is a platform supported by pkgsrc, only i386 supported is explicitly mentioned and the most recent bootstrap binaries are for FreeBSD/i386 5.3. Being the adventurous chap I am, I decided to bootstrap from source on my dual CPU Ultra 60 running FreeBSD/sparc64 6.2. In true pkgsrc style, it Just Worked. Since bootstrapping, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Although <a href="http://www.FreeBSD.org">FreeBSD</a> is a platform supported by <a href="http://www.pkgsrc.org/">pkgsrc</a>, only i386 supported is explicitly mentioned and the most recent bootstrap binaries are for FreeBSD/i386 5.3. Being the adventurous chap I am, I decided to bootstrap from source on my dual CPU Ultra 60 running FreeBSD/sparc64 6.2. In true pkgsrc style, it Just Worked. Since bootstrapping, I&#8217;ve build a number of fairly large packages without problem: zsh, ncurses, vim, postfix, perl.</p>
<p>Why pkgsrc and not <a href="http://www.freebsd.org/ports/">ports</a> on a FreeBSD system? Well, I have a finely tuned pkgsrc environment that builds packages with my set of defaults (MIT Kerberos support, for example), so I decided to stick with what works well for me.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/07/pkgsrc-on-freebsdsparc64-62--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Slides from last night&#8217;s *BSD CLUG talk</title>
		<link>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 09:26:07 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/</guid>
		<description><![CDATA[I&#8217;ve uploaded the slides from last night&#8217;s *BSD talk to the CLUG wiki &#8211; grab &#8216;em here. Content licensed under a  Creative Commons Attribution Share Alike license.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve uploaded the slides from last night&#8217;s *BSD talk to the <a href="http://www.clug.org.za">CLUG</a> wiki &#8211; grab &#8216;em <a href="http://wiki.clug.org.za/images/7/70/BSD_Introduction.pdf">here</a>. Content licensed under a  Creative Commons <a href="http://creativecommons.org/licenses/by-sa/3.0/">Attribution Share Alike</a> license.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/slides-from-last-nights-bsd-clug-talk--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Network booting FreeBSD on sparc64 systems</title>
		<link>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 04:25:57 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/</guid>
		<description><![CDATA[I&#8217;ve been network booting SPARC systems for a while now, ever since my last run in with a faulty floppy drive on a SPARCstation 2. NetBSD makes it easy &#8211; the standard installation includes a diskless client filesystem which can simply be extracted onto the boot server. It wasn&#8217;t quite so straightforward with FreeBSD, so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been network booting SPARC systems for a while now, ever since my last run in with a faulty floppy drive on a SPARCstation 2. <a href="http://www.NetBSD.org">NetBSD</a> makes it easy &#8211; the standard installation includes a diskless client filesystem which can simply be extracted onto the boot server. It wasn&#8217;t quite so straightforward with <a href="http://www.FreeBSD.org">FreeBSD</a>, so here are a few pointers&#8230;</p>
<p>My boot server is running NetBSD 3.1 and I booted FreeBSD 6.2, so if you&#8217;re using different software you may need to make some adjustments. YMMV.
<ol>
<li>On the boot server, configure rarpd(8) as usual, adding the entry for your machine&#8217;s MAC address to /etc/ethers. For example (for a machine called test02):<br />
<code>08:00:20:b2:2f:b6 test02</code>
</li>
<li>Extract the FreeBSD base fileset to the appropriate location on your boot server (for example, /export/install/fb62_sp64).</li>
<li>Extract the FreeBSD GENERIC kernel fileset to boot/ in your diskless filesystem.</li>
<li>Within your diskless root, symlink boot/GENERIC to boot/kernel (boot/GENERIC is a directory that contains the kernel and its modules).</li>
<li>Put boot/loaders from the diskless filesystem into your tftp root directory and symlink it to your machine&#8217;s IP address in hex. For example, the filename for 192.168.1.92 is C0A8015C.</li>
<li>Export your diskless root filesystem via NFS and add the necessary dhcpd.conf stanza. For example:<code><br />
host test02.pimp.org.za {<br />
  hardware ethernet 08:00:20:b2:2f:b6;<br />
  fixed-address 192.168.1.92;<br />
  option host-name "test02";<br />
  option root-path "/export/install/fb62_sp64";<br />
}</code>
</li>
<li>Boot your machine &#8211; &#8220;boot net&#8221; from the PROM should do it.</li>
</ol>
<p>A few tips:</p>
<ul>
<li>It&#8217;s normally a good idea to update the machine&#8217;s OpenBoot PROM to the latest release. Old PROMs often have subtle bugs.</li>
<li>Extracting FreeBSD filesets is simple:<code><br />
  cat 6.2-RELEASE/base/base.* > /tmp/base.tar.gz<br />
  tar -xzvpf /tmp/base.tar.gz -C /export/install/fb62_sp4<br />
</code>
</ul>
<p>Update: Fixed incorrect command to extract sets (thanks John Messenger!)</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/network-booting-freebsd-on-sparc64-systems--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Tonight&#8217;s CLUG talk &#8211; BSD Unix</title>
		<link>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 04:29:48 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/12/tonights-clug-talk-bsd-unix/</guid>
		<description><![CDATA[Just a quick reminder about the topic of tonight&#8217;s CLUG talk &#8211; BSD Unix, given by, er, yours truly. The talk starts at 6:30pm, at the UCT Chemical Engineering Lecture Theatre. 
]]></description>
			<content:encoded><![CDATA[<p>Just a quick reminder about the topic of tonight&#8217;s <a href="http://www.clug.org">CLUG</a> talk &#8211; BSD Unix, given by, er, yours truly. The talk starts at 6:30pm, at the <a href="http://wiki.clug.org.za/wiki/Venue_UCT_ChemEng_Lecture_Theatre">UCT Chemical Engineering Lecture Theatre</a>. <!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/tonights-clug-talk-bsd-unix--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>More Ultra 60s arrive</title>
		<link>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 16:42:00 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/10/more-ultra-60s-arrive/</guid>
		<description><![CDATA[Thanks to a lead from Mark, I now have even more Sun Ultra 60s &#8211; another five, for the princely total of R450 (about $60). They are of varying hardware specification, but I have 1&#215;300Mhz CPU, 2&#215;360Mhz CPUs and 2&#215;450Mhz CPUs, somewhere in the region of 2.5GiB RAM and a few 4 and 9GiB disks. [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to a lead from <a href="http://www.itbox.co.za">Mark</a>, I now have even more <a href="http://sunsolve.sun.com/handbook_pub/Systems/U60/U60.html">Sun Ultra 60s</a> &#8211; another five, for the princely total of R450 (about $60). They are of varying hardware specification, but I have 1&#215;300Mhz CPU, 2&#215;360Mhz CPUs and 2&#215;450Mhz CPUs, somewhere in the region of 2.5GiB RAM and a few 4 and 9GiB disks. All the machines have dual width Elite3D framebuffers. All in all, a pretty good deal <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>My plan is to put together at least two dual CPU machines, one running <a href="http://www.freebsd.org">FreeBSD</a> and another probably running <a href="http://www.opensolaris.org/">OpenSolaris</a>. *sigh* If only <a href="http://www.NetBSD.org">NetBSD</a> supported SMP on 64-bit SPARC systems.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/more-ultra-60s-arrive--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>On Microsoft&#8217;s open source patent infringement claims</title>
		<link>http://mjturner.net/blog/archives/2007/05/15/on-microsofts-open-source-patent-infringement-claims/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/15/on-microsofts-open-source-patent-infringement-claims/#comments</comments>
		<pubDate>Tue, 15 May 2007 17:55:23 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/15/on-microsofts-open-source-patent-infringement-claims/</guid>
		<description><![CDATA[I sent this to the rescue list this evening, in response to a discussion about the Microsoft patent infringement claims against open source software:

My feeling is that Microsoft is trying to spread FUD and scare large firms
that are considering FOSS. Companies are going to be dissuaded from using
FOSS if there is a risk that they [...]]]></description>
			<content:encoded><![CDATA[<p>I sent this to the <a href="http://www.sunhelp.org/mailman/listinfo/rescue">rescue</a> list this evening, in response to a discussion about the Microsoft <a href="http://money.cnn.com/magazines/fortune/fortune_archive/2007/05/28/100033867/index.htm">patent infringement claims</a> against open source software:</p>
<blockquote><p>
My feeling is that Microsoft is trying to spread FUD and scare large firms<br />
that are considering FOSS. Companies are going to be dissuaded from using<br />
FOSS if there is a risk that they may have to pay unknown &#8220;future<br />
royalties&#8221; because the software they&#8217;re using violates a Microsoft patent.                                                   </p>
<p>I wonder if this will all just mysteriously blow over in a few months,<br />
without Microsoft ever having released the details of the patents<br />
supposedly violated. By which time, of course, enough FUD will be spread in<br />
the market, particularly amongst those who don&#8217;t fully understand FOSS,<br />
that Microsoft will have achieved exactly what they wanted to with their<br />
disinformation campaign.
</p></blockquote>
<p>For some reason, I thought it bore reprinting here. Yes, I do love a good conspiracy theory.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/on-microsofts-open-source-patent-infringement-claims--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/15/on-microsofts-open-source-patent-infringement-claims/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Build a better mail server with NetBSD, part 1</title>
		<link>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/#comments</comments>
		<pubDate>Mon, 14 May 2007 10:31:31 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/</guid>
		<description><![CDATA[I&#8217;ve been using basically the same approach for my personal mail for over twelve years &#8211; a curses-based client (currently ]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using basically the same approach for my personal mail for over twelve years &#8211; a curses-based <a href="http://en.wikipedia.org/wiki/Mail_user_agent">client</a> (currently <a href="http://www.mutt.org"/">mutt</a>), mail storage in <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> format and reading my mail on the mail server itself, logged in via ssh. As can well be imagined, it&#8217;s starting to get a little long in the tooth:</p>
<ul>
<li>The mbox format has a number of limitations (locking, performance, etc), although it is convenient to have a mail folder housed in a single file. Using mbox format also prevents me from using a client that doesn&#8217;t support it.</li>
<li>I have no convenient external access to my mail &#8211; if I&#8217;m not with a laptop, trying to read mail via an ssh connection from a mobile phone is rather uncomfortable.</li>
</ul>
<p>To finally move into the 21st century, over the past few weeks I&#8217;ve put in place a new <a href="http://sunsolve.sun.com/handbook_pub/Systems/U2/U2.html">Sun Ultra 2</a> mail server, running <a href="http://www.netbsd.org">NetBSD</a>/<a href="http://www.netbsd.org/Ports/sparc64/">sparc64</a>. Over the next few days I&#8217;ll be discussing the configuration of the new server, focusing in particular on some of the challenges faced when using a slightly, er, unusual platform.</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/build-a-better-mail-server-with-netbsd-part-1--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>fetchmail configuration syntax sucks</title>
		<link>http://mjturner.net/blog/archives/2007/05/09/fetchmail-configuration-syntax-sucks/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/09/fetchmail-configuration-syntax-sucks/#comments</comments>
		<pubDate>Wed, 09 May 2007 12:20:00 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/09/fetchmail-configuration-syntax-sucks/</guid>
		<description><![CDATA[As part of my mail server rebuild (to be discussed in a future series of posts), I&#8217;ve been upgrading some of my mail system configuration files. One of them is fetchmail.conf, the configuration file for fetchmail, which I use to fetch mail from my mail server. It required a few changes after the upgrade to [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my mail server rebuild (to be discussed in a future series of posts), I&#8217;ve been upgrading some of my mail system configuration files. One of them is fetchmail.conf, the configuration file for <a href="http://catb.org/~esr/fetchmail/">fetchmail</a>, which I use to fetch mail from my mail server. It required a few changes after the upgrade to version 6.3.8 and a few changes in my environment.</p>
<p>A snippet from my updated configuration file:
<pre>
        username user1 with password "pass1" is user1 here ssl fetchall
                sslfingerprint "BA:34:74:B6:7F:EF:A7:88:7C:7A:D1:8B:79:C5:10:D9"
                sslcertpath /etc/openssl/certs
                smtphost mail.relay.co.za
        username user2 with password "pass2" is user2 here ssl fetchall
                sslfingerprint "BA:34:74:B6:7F:EF:A7:88:7C:7A:D1:8B:79:C5:10:D9"
                sslcertpath /etc/openssl/certs
                smtphost mail.relay.co.za</pre>
<p>Now, why on earth does one have to specify an SSL fingerprint, certificate path and mail server for each user? Wouldn&#8217;t it make more sense to have a global default and individual overrides where necessary? Chalk this up as another reason why I should move to <a href="http://pyropus.ca/software/getmail/">getmail</a>. Yes, I know I could add the functionality myself, but I really do need to move away from using <a href="http://docs.freebsd.org/cgi/getmsg.cgi?fetch=585008+0+archive/2001/freebsd-arch/20010218.freebsd-arch">an abomination before God</a> to fetch my mail.</p>
<p>Note to self: this is the second &#8220;sucks&#8221; post in two days. Must remember to be more positive.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/fetchmail-configuration-syntax-sucks--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/09/fetchmail-configuration-syntax-sucks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Panix NetBSD virtual servers</title>
		<link>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/#comments</comments>
		<pubDate>Tue, 08 May 2007 11:10:35 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/08/panix-netbsd-virtual-servers/</guid>
		<description><![CDATA[I&#8217;ve obviously been living in a cave for a while, but I only recently discovered that Panix are offering &#8220;virtual colocation&#8221; via Xen virtual machines. One very nice feature &#8211; they offer NetBSD in addition to the customary Linux. Pricing is competitive and they also offer a free backup service, which is a nice addition. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve obviously been living in a cave for a while, but I only recently discovered that <a href="http://www.panix.com/">Panix</a> are offering <a href="http://www.panix.com/corp/v-colo/">&#8220;virtual colocation&#8221;</a> via Xen virtual machines. One very nice feature &#8211; they offer <a href="http://www.NetBSD.org">NetBSD</a> in addition to the customary <a href="http://www.linux.org">Linux</a>. Pricing is competitive and they also offer a free backup service, which is a nice addition. Not quite sure why their default NetBSD virtual machine includes X11 though?<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/panix-netbsd-virtual-servers--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
