<?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>Somewhere out there!</title>
	<atom:link href="http://stateless.geek.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz</link>
	<description></description>
	<lastBuildDate>Sun, 25 May 2014 23:56:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">1424477</site>	<item>
		<title>Intense Debate and comments are off.</title>
		<link>http://stateless.geek.nz/2014/05/26/intense-debate-and-comments-are-off/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Sun, 25 May 2014 23:56:44 +0000</pubDate>
				<category><![CDATA[News]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=986</guid>

					<description><![CDATA[I&#8217;ve turned off Intense Debate and also set comments off for all posts older than 30 days. Depending on my schedule, I may make an occasional post here again. I do have to do some work on the template and few other things first though.]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve turned off Intense Debate and also set comments off for all posts older than 30 days.</p>
<p>Depending on my schedule, I may make an occasional post here again. I do have to do some work on the template and few other things first though.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">986</post-id>	</item>
		<item>
		<title>Nautilus 3.6 is inane</title>
		<link>http://stateless.geek.nz/2013/05/15/nautilus-3-6-is-inane/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Wed, 15 May 2013 03:21:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[13.04]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=971</guid>

					<description><![CDATA[I haven&#8217;t posted here for a while. Usually because my google searches turn up the answers pretty quickly, so I don&#8217;t feel the need to add anything additional via this blog. Nautilus 3.6 on 13.04 is inane! They have gotten rid of drop down menus as far as I can tell. While trying to figure [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I haven&#8217;t posted here for a while. Usually because my google searches turn up the answers pretty quickly, so I don&#8217;t feel the need to add anything additional via this blog.</p>
<p>Nautilus 3.6 on 13.04 is inane! They have gotten rid of drop down menus as far as I can tell. </p>
<p>While trying to figure out how to connect to a file share via the file explorer &#8211; a completely reasonable and supposedly simple task &#8211; I discovered that it was no longer easily possible on the 13.04 file explorer. I lot of hunting and I finally <a href="http://ubuntuforums.org/showthread.php?t=2116588&#038;p=12513556#post12513556">discovered</a> a post that gave me the magic keyboard combination in order to open a file location dialog: <strong>CTRL-L</strong>.</p>
<p>Once I had this is was relatively easily to connect to the remote server I wanted. After that right-click add bookmark is your friend.</p>
<p>It&#8217;s really stupid when the backend can still do things, but the power of the front end is reduced.</p>
<p>Edit: Sigh&#8230; It is <a href="http://askubuntu.com/questions/286430/nautilus-3-6-doesnt-have-a-status-bar/286438#286438">worse</a> that I thought. Dropping tree view is a particularly egregious crime.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">971</post-id>	</item>
		<item>
		<title>Lucid libvirt</title>
		<link>http://stateless.geek.nz/2011/12/13/lucid-libvirt/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Tue, 13 Dec 2011 01:23:07 +0000</pubDate>
				<category><![CDATA[Kvm]]></category>
		<category><![CDATA[libvirt]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=873</guid>

					<description><![CDATA[Lucid does not seem to work well with libvirt/kvm, there are several bugs that seem to be fixed in Maverick but not in Lucid. From syslog: Re: [libvirt] FYI, &#8220;Unable to create cgroup for &#8230;&#8221; This is a bug in systemd. It periodically scans all mounted cgroups and deletes any directories which don&#8217;t contain any [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Lucid does not seem to work well with libvirt/kvm, there are several bugs that seem to be fixed in Maverick but not in Lucid.</p>
<p>From syslog:</p>
<pre class="brush: bash; title: ; notranslate">
error : qemuSetupCgroup:1955 : Unable to create cgroup for DOMAIN: No such file or directory
error : qemuRemoveCgroup:2045 : internal error Unable to find cgroup for DOMAIN#012
</pre>
<p><a href="http://www.redhat.com/archives/libvir-list/2011-April/msg00153.html">Re: [libvirt] FYI, &#8220;Unable to create cgroup for &#8230;&#8221;</a></p>
<blockquote><p>This is a bug in systemd. It periodically scans all mounted cgroups<br />
and deletes any directories which don&#8217;t contain any attached processes.<br />
Needless to say this breaks libvirt, and possibly other apps, which<br />
don&#8217;t expect 3rd parties to be deleting their directories.</p>
<p>  <a href="https://bugzilla.redhat.com/show_bug.cgi?id=678555">https://bugzilla.redhat.com/show_bug.cgi?id=678555</a></p></blockquote>
<p>Best solution for this that I&#8217;ve found on lucid is: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=696218">Bug 696218 &#8211; Unable to create cgroup: No such file or directory</a></p>
<blockquote><p>I was able to solve it by modifying the configuration in the file<br />
/etc/libvirt/qemu.conf:
</p></blockquote>
<pre class="brush: bash; title: ; notranslate">
 cgroup_controllers = &#x5B; ]
</pre>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/579584">setgid, setuid needed by /etc/apparmor.d/abstractions/libvirt-qemu</a></p>
<pre class="brush: diff; title: ; notranslate">
=== modified file 'apparmor.d/abstractions/libvirt-qemu'
--- apparmor.d/abstractions/libvirt-qemu 2010-04-30 15:33:20 +0000
+++ apparmor.d/abstractions/libvirt-qemu 2010-05-12 17:26:56 +0000
@@ -8,6 +8,8 @@
   capability dac_override,
   capability dac_read_search,
   capability chown,
+ capability setgid,
+ capability setuid,
</pre>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/599910">Libvirt/kvm permissions/ownership issue on upgrade from Karmic to Lucid</a> and <a href="http://ubuntuforums.org/showthread.php?t=1703744">error: operation failed: failed to retrieve chardev info in qemu with &#8216;indev&#8217;</a></p>
<pre class="brush: bash; title: ; notranslate">libvirtError: internal error unable to start guest: libvir: QEMU
error : cannot set ownership</pre>
<p> or </p>
<pre class="brush: bash; title: ; notranslate"> error: operation failed: failed to retrieve chardev info in qemu with 'indev'</pre>
<p>Add the following to /etc/libvirt/qemu.conf:</p>
<pre class="brush: bash; title: ; notranslate">
# The user ID for QEMU processes run by the system instance
#user = &quot;libvirt-qemu&quot;
user = &quot;root&quot;

# The group ID for QEMU processes run by the system instance
group = &quot;kvm&quot;
</pre>
<p><a href="https://bugs.launchpad.net/ubuntu/lucid/+source/libvirt/+bug/578527">map serial port throws &#8220;chardev: opening backend &#8220;tty&#8221; failed&#8221;</a></p>
<p>There seems to be a problem with the apparmor profile of libvirt (see bug #54579). After adding the line to /etc/apparmor.d/abstractions/libvirt-qemu and reloading the profile it worked for me.</p>
<pre class="brush: bash; title: ; notranslate">
/dev/ttyS* rw,
</pre>
<p>Few other links:</p>
<ul>
<li><a href="https://bugzilla.redhat.com/show_bug.cgi?id=666130">Bug 666130 &#8211; Cgroups cause libvirt to be unable to start virtual machines</a></li>
<li><a href="http://libvirt.org/drvqemu.html#securityselinux">SELinux basic confinement</a> &#8211; also some cgroup details</li>
<li><a href="http://berrange.com/posts/2009/12/03/using-cgroups-with-libvirt-and-lxckvm-guests-in-fedora-12/">Using CGroups with libvirt and LXC/KVM guests in Fedora 12</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/577264">libvirt started after cgred &#8211; cgroup not working correctly</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/644669">cgred should be started before libvirt-bin</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=1638708">[SOLVED] Virt-manager picks wrong qcow2/raw format for new VMs (No bootable device.)</a>	</li>
<li><a href="http://jkyamog.blogspot.com/2010/07/lxc-on-ubuntu-1004-lucid-lynx.html">LXC on Ubuntu 10.04 Lucid Lynx</a> &#8211; some cgroup notes.</li>
</ul>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">873</post-id>	</item>
		<item>
		<title>Random MAC address for libvirt</title>
		<link>http://stateless.geek.nz/2011/12/08/random-mac-address-for-libvirt/</link>
					<comments>http://stateless.geek.nz/2011/12/08/random-mac-address-for-libvirt/#comments</comments>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Thu, 08 Dec 2011 00:25:16 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[libvirt]]></category>
		<category><![CDATA[snippet]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=857</guid>

					<description><![CDATA[Snippet for generating a random MAC address. Useful if adding interfaces to a libvirt xml define file. MACADDR=&#34;52:54:$(dd if=/dev/urandom count=1 2&#62;/dev/null &#124; md5sum &#124; sed 's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')&#34;; echo $MACADDR echo &#34; &#60;interface type='bridge'&#62; &#60;mac address='$MACADDR'/&#62; &#60;source bridge='br233'/&#62; &#60;model type='virtio'/&#62; &#60;/interface&#62; &#34;]]></description>
										<content:encoded><![CDATA[<p>Snippet for generating a random MAC address. Useful if adding interfaces to a libvirt xml define file.</p>
<pre class="brush: bash; title: ; notranslate">MACADDR=&quot;52:54:$(dd if=/dev/urandom count=1 2&gt;/dev/null | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')&quot;;
echo $MACADDR
echo &quot;
&lt;interface type='bridge'&gt;
&lt;mac address='$MACADDR'/&gt;
&lt;source bridge='br233'/&gt;
&lt;model type='virtio'/&gt;
&lt;/interface&gt;
&quot;
</pre>
]]></content:encoded>
					
					<wfw:commentRss>http://stateless.geek.nz/2011/12/08/random-mac-address-for-libvirt/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">857</post-id>	</item>
		<item>
		<title>Windows BSOD and BIOS Checksum error</title>
		<link>http://stateless.geek.nz/2011/12/08/windows-bsod-and-bios-checksum-error/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:02:10 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=852</guid>

					<description><![CDATA[If you have a BSOD crash and the BIOS defaults after a checksum error, make sure you check the SATA ACHI/IDE settings. Otherwise window will not boot and you&#8217;ll get confused.]]></description>
										<content:encoded><![CDATA[<p>If you have a BSOD crash and the BIOS defaults after a checksum error, make sure you check the SATA ACHI/IDE settings. Otherwise window will not boot and you&#8217;ll get confused.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">852</post-id>	</item>
		<item>
		<title>KDC reply did not match expectations while getting initial credentials</title>
		<link>http://stateless.geek.nz/2011/07/06/kdc-reply-did-not-match-expectations-while-getting-initial-credentials/</link>
					<comments>http://stateless.geek.nz/2011/07/06/kdc-reply-did-not-match-expectations-while-getting-initial-credentials/#comments</comments>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 00:07:12 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[kerberos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[samba]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=849</guid>

					<description><![CDATA[Seems kinit is particular: I had similar problems. I figured out that krb5.conf requires the realm names to be in upper case. I have converted the domain names (wherever it appears in krb5.conf) to uppercase. [root@LinuxLS logicalfuzz]# kinit myaccount@corp.example.com Password for myaccount@corp.example.com: kinit(v5): KDC reply did not match expectations while getting initial credentials [root@LinuxLS logicalfuzz]# [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Seems kinit is <a href="http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/">particular</a>:</p>
<blockquote><p>I had similar problems. I figured out that krb5.conf requires the realm names to be in upper case. I have converted the domain names (wherever it appears in krb5.conf) to uppercase.</p>
<p><code>[root@LinuxLS logicalfuzz]# kinit myaccount@corp.example.com<br />
Password for myaccount@corp.example.com:<br />
kinit(v5): KDC reply did not match expectations while getting initial credentials<br />
[root@LinuxLS logicalfuzz]# kinit myaccount@CORP.EXAMPLE.COM<br />
Password for myaccount@CORP.EXAMPLE.COM:<br />
[root@LinuxLS logicalfuzz]#</code></p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>http://stateless.geek.nz/2011/07/06/kdc-reply-did-not-match-expectations-while-getting-initial-credentials/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">849</post-id>	</item>
		<item>
		<title>SATA cable fault causes disk system to timeout</title>
		<link>http://stateless.geek.nz/2009/10/18/sata-cable-fault-causes-disk-system-to-timeout/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Sun, 18 Oct 2009 11:03:29 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nexenta]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[Solaris]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=713</guid>

					<description><![CDATA[While setting up Nexenta 3.0 on a Intel SS4200, I hit this error: &#8220;transport failed reason tran_err&#8220;. The reason &#8211; a SATA cable was caught and being compressedÂ between a drive cage and the case.]]></description>
										<content:encoded><![CDATA[<p>While setting up Nexenta 3.0 on a Intel SS4200, I hit this error: &#8220;<strong>transport failed reason tran_err</strong>&#8220;. The reason &#8211; a SATA cable was caught and being compressedÂ between a drive cage and the case.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">713</post-id>	</item>
		<item>
		<title>kvm vs qemu-kvm vs kvm-kmod</title>
		<link>http://stateless.geek.nz/2009/10/16/kvm-vs-qemu-kvm-vs-kvm-kmod/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Thu, 15 Oct 2009 21:01:10 +0000</pubDate>
				<category><![CDATA[Kvm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=710</guid>

					<description><![CDATA[Ubuntu recently change their package names for kvm. Â This comment posted on qemu-0.11.0 Released provides anÂ explanation: qemu-kvm includes features and fixes from upstream qemu and so takes its naming scheme from upstream qemu. You can think of it as qemu optimized for kvm. Note too that qemu-kvm does not include the kernel module but only [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ubuntu recently change their package names for kvm. Â This comment posted on <a href="http://www.linux-kvm.com/content/qemu-0110-released#comment-686">qemu-0.11.0 Released</a> provides anÂ explanation:</p>
<blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;"><strong>qemu-kvm includes features and fixes from upstream qemu and so takes its naming scheme from upstream qemu.</strong> You can think of it as qemu optimized for kvm. Note too that qemu-kvm does not include the kernel module but only the userspace and considered to be stable.</p>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;"><strong>kvm-xx on the other hand is the development branch of kvm and not considered to be stable.</strong> It&#8217;s naming scheme is arbitrary and it also takes features from upstream qemu.</p>
</blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;">&#8230;</p>
<blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;">kvm-kmod is different to kvm-xx. You can think of kvm-kmod as a subset of the kvm-xx. <strong>KVM-xx = userspace + kernel where kvm-kmod is the kernel part of it and qemu-kvm is the userspace part (the guest process itself)</strong>. You can apply the kvm-kmod to any distro version or linux version.. it&#8217;s just the kernel driver. However, without the userspace part, you can&#8217;t do much with it.</p>
</blockquote>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">710</post-id>	</item>
		<item>
		<title>Alfresco and IMAP</title>
		<link>http://stateless.geek.nz/2009/10/14/alfresco-and-imap/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Tue, 13 Oct 2009 21:36:00 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[alfresco]]></category>
		<category><![CDATA[dms]]></category>
		<category><![CDATA[imap]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=708</guid>

					<description><![CDATA[This is something I&#8217;ve been wanting in a DMS for a while. Alfresco now have native IMAP support. They also offer apt-get installable goodness for januty. It is possible there is some performance issues with the IMAP functionality, but I&#8217;m sure these will be fixed. Â It might be time for me to do another review [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This is something I&#8217;ve been wanting in a DMS for a while. Alfresco now have native <a href="http://wiki.alfresco.com/wiki/IMAP">IMAP</a> support. They also <a href="http://www.alfresco.com/media/releases/2009/07/ubuntu/">offer</a> apt-get installable <a href="http://jared.ottleys.net/alfresco/alfresco-community-3-2-ubuntu-package-explained">goodness</a> for januty. It is possible there is some performance <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&amp;t=22203&amp;p=73020&amp;hilit=IMAP#p73020">issues</a> with the IMAP functionality, but I&#8217;m sure these will be fixed. Â It might be time for me to do another review the DMS landscape.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">708</post-id>	</item>
		<item>
		<title>Upgrading wordpress &#8211; please do</title>
		<link>http://stateless.geek.nz/2009/10/14/upgrading-wordpress-please-do/</link>
		
		<dc:creator><![CDATA[Nicholas Lee]]></dc:creator>
		<pubDate>Tue, 13 Oct 2009 21:28:59 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://stateless.geek.nz/?p=706</guid>

					<description><![CDATA[A popular NZ blog I follow got infected by something like the worm mention in this wordpress.org post. They were running a very oldÂ versionÂ of wordpress, 2.5.X or some such. When I spoke to one of them, they said they knew they were running an old version, but their answer was move to drupal. It just [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A popular NZ blog I follow got infected by something like the worm mention in this <a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">wordpress.org</a> post. They were running a very oldÂ versionÂ of wordpress, 2.5.X or some such. When I spoke to one of them, they said they knew they were running an old version, but their answer was move to drupal. It just had not happened yet. Â While their move might be for other reasons than security, leaving a public piece of software unmaintained while waiting for a replacement is a bad idea.</p>
<p>Upgrading wordpress is now pretty seamless. Please follow the advice in the wordpress <a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">post</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">706</post-id>	</item>
	</channel>
</rss>
