<?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>blog.gauner.org</title>
	<atom:link href="http://blog.gauner.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gauner.org</link>
	<description>"When the power of love overcomes the love of power, the world will know peace." - Sri Chinmoy Ghose</description>
	<lastBuildDate>Wed, 25 Aug 2010 17:16:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lightning strikes</title>
		<link>http://blog.gauner.org/blog/2010/08/25/lightning-strikes/</link>
		<comments>http://blog.gauner.org/blog/2010/08/25/lightning-strikes/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 17:16:17 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1038</guid>
		<description><![CDATA[Lightning sucks. A thunderblot struck our house and toasted my dsl splitter and my router. Did you ever want to know how a splitter that has been hit by a thunderblot looks? Here are the pictures.]]></description>
			<content:encoded><![CDATA[<p>Lightning sucks. A thunderblot struck our house and toasted my dsl splitter and my router. Did you ever want to know how a splitter that has been hit by a thunderblot looks? Here are the pictures.</p>
<p><a href="http://blog.gauner.org/wp-content/uploads/2010/08/lightning001.jpg"><img class="aligncenter size-thumbnail wp-image-1039" title="lightning001" src="http://blog.gauner.org/wp-content/uploads/2010/08/lightning001-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://blog.gauner.org/wp-content/uploads/2010/08/lightning002.jpg"><img class="aligncenter size-thumbnail wp-image-1040" title="lightning002" src="http://blog.gauner.org/wp-content/uploads/2010/08/lightning002-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/08/25/lightning-strikes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mini-buildd and Linux-Vserver</title>
		<link>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/</link>
		<comments>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 10:39:56 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisierung]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1027</guid>
		<description><![CDATA[After discovering mini-buildd, a tiny Debian buildd, I&#8217;ve tried to set it up inside some vservers. mini-buildd uses LVM-Snapshots to avoid duplicate work when creating build chroots. I will setup a base debian chroot once and create a snapshot each time a build chroot is needed. This, however, is where the fun begins. The problem [...]]]></description>
			<content:encoded><![CDATA[<p>After discovering mini-buildd, a tiny Debian buildd, I&#8217;ve tried to set it up inside some vservers. mini-buildd uses LVM-Snapshots to avoid duplicate work when creating build chroots. I will setup a base debian chroot once and create a snapshot each time a build chroot is needed. This, however, is where the fun begins. The problem is that Linux-Vserver prevents its guests from performing most of the syscalls and ioctls needed by lvm2.</p>
<p><strong>I didn&#8217;t manage to get the setup fully working so far but I wanted to share my experience in case anyone tries the same!</strong></p>
<p>The basic setup of mini-buildd is quiet easy. I&#8217;ve decided for a setup with three versers, one for the repository, one buildd for amd64 and ond buildd for i386.</p>
<p><span id="more-1027"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vs-buildd-rep - 192.168.10.1
vs-buildd-amd64 - 192.168.10.2
vs-buildd-i386 - 192.168.10.3</pre></div></div>

<p>First we need to create these vservers:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">newvserver <span style="color: #660033;">--ip</span> 192.168.10.1<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-rep <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> amd64
newvserver <span style="color: #660033;">--ip</span> 192.168.10.2<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-amd64 <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> amd64
newvserver <span style="color: #660033;">--ip</span> 192.168.10.3<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-i386 <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> i386</pre></div></div>

<p>After installing the vservers we need make some adjustments for LVM and set some capabilities:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>loop<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_MOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_REMOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_CLOOP&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_MAPPER&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;MKNOD&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_RESOURCE&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_ADMIN&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>loop<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_MOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_REMOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt;  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_CLOOP&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_MAPPER&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;MKNOD&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_RESOURCE&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_ADMIN&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities</pre></div></div>

<p><span style="color: #ff0000"><strong>Please note that these capabilities give the vs-buildd guests pretty much control over the host, so be careful how far you trust your buildds!</strong></span></p>
<p><span style="color: #000000">Now start the vservers, fix some broken defaults, upgrade to squeeze and install the requried packages. </span></p>
<p>When editing the sources.list you should replace all occurences of lenny by squeeze like so:</p>
<blockquote><p>:%s/lenny/squeeze/g</p></blockquote>
<p>The reason for not installing squeeze directly with newvserver is that, at the time of this writing, newvserver can not handle squeeze.</p>
<p><span style="color: #000000">For the repository vserver:<br />
</span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-rep start
vserver vs-buildd-rep enter
update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-rep <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure locales
dpkg-reconfigure exim4-config</pre></div></div>

<p>The Vservers need some way of sending mail, so the best would be to setup a mailserver somewhere, e.g. in the host, and then confiure it as a smarthost inside the vservers.</p>
<p>The next one is the amd64 buildd:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-amd64 start
vserver vs-buildd-amd64 enter
dpkg-reconfigure locales; update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-bld <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure exim4-config</pre></div></div>

<p>And the same for i386:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-i386 start
vserver vs-buildd-i386 enter
dpkg-reconfigure locales; update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-bld <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure exim4-config</pre></div></div>

<p>The setup of the mini-buildd is a bit tricky since the repository and the buildds depend on each other. So after performing the above steps you&#8217;ll probably need to reconfigure each.</p>
<ul>
<li>in vs-buildd-rep: dpkg-reconfigure mini-buildd-rep</li>
<li>in vs-buildd-amd64 and vs-buildd-i386: dpkg-reconfigure mini-buildd-bld</li>
</ul>
<h2>To be continued!</h2>
<p>Thats it for now. Howevery, so far I didn&#8217;t manage to get the buildds working. There are still some issues with the LVs. I&#8217;ll update this post as soon as I figure out how to fix this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Best Practices</title>
		<link>http://blog.gauner.org/blog/2010/06/29/perl-best-practices/</link>
		<comments>http://blog.gauner.org/blog/2010/06/29/perl-best-practices/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 13:56:59 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1019</guid>
		<description><![CDATA[Recently I&#8217;ve read a really interesting book. A book every perl developer should read. At least have a look at Appendix B which lists all guidelines in a brief summary.]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve read a really interesting book. A book every perl developer should read. At least have a look at <a href="http://oreilly.com/perl/excerpts/perl-best-practices/appendix-b.html">Appendix B</a> which lists all guidelines in a brief summary.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/06/29/perl-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speedport W722V &#8211; Features? We ain&#8217;t need no Features!</title>
		<link>http://blog.gauner.org/blog/2010/06/23/speedport-w722v-features-we-aint-need-no-features/</link>
		<comments>http://blog.gauner.org/blog/2010/06/23/speedport-w722v-features-we-aint-need-no-features/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 10:51:37 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Kaufen & Verkaufen]]></category>
		<category><![CDATA[arcadyan]]></category>
		<category><![CDATA[cpe]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[t-home]]></category>
		<category><![CDATA[telekom]]></category>
		<category><![CDATA[telko]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1017</guid>
		<description><![CDATA[Dear Deutsche Telekom, I&#8217;ve just got to love your great CPE products. The Speedport W722V ist a great product, a impressive piece of german engineering! It provides lots and lots of usefull features. For example you can us it as a doorstop, paperweight or to prettify your home. But the point is: It is absolutely [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Deutsche Telekom,<br />
I&#8217;ve just got to love your great CPE products. The Speedport W722V ist a great product, a impressive piece of german engineering! It provides lots and lots of usefull features. For example you can us it as a doorstop, paperweight or to prettify your home.</p>
<p>But the point is: It is absolutely useless as a Internet-Router for me! It doesn&#8217;t allow incoming ICMP (Ping), it got no internal S0 (ISDN) Bus and it doesn&#8217;t allow VPN-Passthrough (GRE, Protocol 21). I even suspect it to have a severely broken QoS, but I can&#8217;t proof that right now. And this is only after a few days of playing around with this device. Not to think of what I&#8217;d find if I gave it some more time.</p>
<blockquote><p>Die Konfiguration unserer Speedports ist auf Einfachheit getrimmt. Der  Reichtum an einstellbaren Funktionen und Konfigurationsoptionen ist  nicht das Ziel der Entwicklung, eher schon eine Reduktion auf das  Wesentliche.</p></blockquote>
<p>[Telekom Team @ <a href="http://foren.t-online.de/foren/read.php?510,5283326,5283483#msg-5286737">T-Online Foren</a>]</p>
<p>The quote says that they aim for simplicity and not for features, and they&#8217;re good at it. Very good. This device is so simplistic that it is basically useless for all but the most basic users.</p>
<p>I&#8217;ll look for a <a href="http://www.avm.de/de/Produkte/FRITZBox/FRITZ_Box_Fon_WLAN_7390/index.php">better CPE</a> and try to return this device as soon as possible. Maybe they find somebody who can make better use of it than me.</p>
<p><strong>Update</strong>: It looks like the Speedport is killing long running connections after a while (a few hours at most). I&#8217;ve heard about that one &#8230; that&#8217;s very disappointing when working over SSH.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/06/23/speedport-w722v-features-we-aint-need-no-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presidents on Twitter</title>
		<link>http://blog.gauner.org/blog/2010/05/13/presidents-on-twitter/</link>
		<comments>http://blog.gauner.org/blog/2010/05/13/presidents-on-twitter/#comments</comments>
		<pubDate>Thu, 13 May 2010 17:25:44 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[oil]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webzwonull]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1014</guid>
		<description><![CDATA[President Hugo Chavez announced the incident via his account on the social networking site Twitter. ROFL, literaly.]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://news.bbc.co.uk/2/hi/americas/8679981.stm">President Hugo Chavez announced the incident via his account on the social networking site Twitter.</a></p></blockquote>
<p>ROFL, literaly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/05/13/presidents-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DENIC FAIL</title>
		<link>http://blog.gauner.org/blog/2010/05/12/denic-fail/</link>
		<comments>http://blog.gauner.org/blog/2010/05/12/denic-fail/#comments</comments>
		<pubDate>Wed, 12 May 2010 15:38:36 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1011</guid>
		<description><![CDATA[This is was it looks like when most of the german nameservers are down. This image shows the traffic of popular .de site. The drop isn&#8217;t remotely as sharp as I thought it would be.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gauner.org/wp-content/uploads/2010/05/denic_fail_2010_05_12.png"><img class="aligncenter size-thumbnail wp-image-1012" title="DENIC FAIL" src="http://blog.gauner.org/wp-content/uploads/2010/05/denic_fail_2010_05_12-102x150.png" alt="Denic fails to maintain the german nameservers" width="102" height="150" /></a></p>
<p>This is was it looks like when most of the german nameservers are down. This image shows the traffic of popular .de site. The drop isn&#8217;t remotely as sharp as I thought it would be.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/05/12/denic-fail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Perl: Wide character in print</title>
		<link>http://blog.gauner.org/blog/2010/04/29/perl-wide-character-in-print/</link>
		<comments>http://blog.gauner.org/blog/2010/04/29/perl-wide-character-in-print/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 14:16:30 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1007</guid>
		<description><![CDATA[Wanna get rid of these annoying &#8220;Wide character in print&#8221; warning perl gives you sometimes when dealing with unicode/UTF-8? Use binmode&#40;STDOUT, &#34;:utf8&#34;&#41;; on STDOUT or the appropriate filehandle, and perl will treat it as UTF-8 capable. You could also use the &#8220;-CSDA&#8221; option to tell perl that. Before: #!/usr/bin/perl -w use charnames ':full'; print &#34;\N{GREEK [...]]]></description>
			<content:encoded><![CDATA[<p>Wanna get rid of these annoying &#8220;Wide character in print&#8221; warning perl gives you sometimes when dealing with unicode/UTF-8?</p>
<p>Use</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #000066;">binmode</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">STDOUT</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;:utf8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>on STDOUT or the appropriate filehandle, and perl will treat it as UTF-8 capable.</p>
<p>You could also use the &#8220;-CSDA&#8221; option to tell perl that.</p>
<p>Before:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl -w</span>
<span style="color: #000000; font-weight: bold;">use</span> charnames <span style="color: #ff0000;">':full'</span><span style="color: #339933;">;</span>
<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\N</span>{GREEK CAPITAL LETTER DELTA}<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Gives:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>wide_char.pl
Wide character <span style="color: #000000; font-weight: bold;">in</span> print at .<span style="color: #000000; font-weight: bold;">/</span>wide_char.pl line 9.
Δ</pre></div></div>

<p>After:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl -w</span>
<span style="color: #000000; font-weight: bold;">use</span> charnames <span style="color: #ff0000;">':full'</span><span style="color: #339933;">;</span>
<span style="color: #000066;">binmode</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">STDOUT</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;:utf8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\N</span>{GREEK CAPITAL LETTER DELTA}<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/04/29/perl-wide-character-in-print/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Threads in Perl are broken</title>
		<link>http://blog.gauner.org/blog/2010/04/01/threads-in-perl-are-broken/</link>
		<comments>http://blog.gauner.org/blog/2010/04/01/threads-in-perl-are-broken/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 20:15:49 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[fork]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[threads]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1005</guid>
		<description><![CDATA[Ok, for most experienced perl programmers this is not new, but let me repeat it: Threads in Perl are broken. Really, really, severe broken. Do not use threads with Perl. Thread async is probably ok for smaller computations but for anything else use fork(). Not only are IPC-Signals really dangerous with threads and DBI can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, for most experienced perl programmers this is not new, but let me repeat it:</p>
<blockquote><p><strong>Threads in Perl are broken. </strong>Really, really, severe broken. Do not use threads with Perl.</p></blockquote>
<p>Thread async is probably ok for smaller computations but for anything else use fork().</p>
<p>Not only are IPC-Signals really dangerous with threads and DBI can&#8217;t work with threads but also the memory usage is magnitudes higher with threads than with fork(). At the moment I&#8217;m hacking a perl app that uses a lot ressouces but I was impressed how fast I could kill my system with fair amout of concurrent threads. From Java I was used to threads being very lightweight, but with Perl this is the other way round. My app has its core part modularized and I&#8217;ve wrote it once using threads and once using fork(). The threads-version uses about 300MB RSS while the fork()ing version uses no more the 30MB RSS for the same workload. Quiet a difference.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/04/01/threads-in-perl-are-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aprilscherze?</title>
		<link>http://blog.gauner.org/blog/2010/03/17/aprilscherze/</link>
		<comments>http://blog.gauner.org/blog/2010/03/17/aprilscherze/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 19:30:19 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[fttb]]></category>
		<category><![CDATA[ftth]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[telekom]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1001</guid>
		<description><![CDATA[Ja ist denn schon 1. April? Es geschehen noch Zeichen und Wunder: Telekom legt Glasfaseranschl&#252;sse bis zum Endkunden IE9 unterst&#252;tzt SVG]]></description>
			<content:encoded><![CDATA[<p>Ja ist denn schon 1. April?</p>
<p>Es geschehen noch Zeichen und Wunder:</p>
<ul>
<li><a href="http://www.golem.de/1003/73911.html">Telekom legt Glasfaseranschl&#252;sse bis zum Endkunden</a></li>
<li><a href="http://www.golem.de/1003/73880.html">IE9 unterst&#252;tzt SVG</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/03/17/aprilscherze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>virt-manager: Error starting domain</title>
		<link>http://blog.gauner.org/blog/2010/03/16/virt-manager-error-starting-domain/</link>
		<comments>http://blog.gauner.org/blog/2010/03/16/virt-manager-error-starting-domain/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 17:09:22 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=999</guid>
		<description><![CDATA[Using KVM/virt-manager in Debian sid is interesing. You&#8217;ll get nice and fresh errors from time to time. KVM is constantly improving but you have to deal with unexpected changes from time to time which tend to break existing VMs. With the latest version I&#8217;ve got this error: Error starting domain: internal error unable to reserve [...]]]></description>
			<content:encoded><![CDATA[<p>Using KVM/virt-manager in Debian sid is interesing. You&#8217;ll get nice and fresh errors from time to time. KVM is constantly improving but you have to deal with unexpected changes from time to time which tend to break existing VMs.</p>
<p>With the latest version I&#8217;ve got this error:</p>
<blockquote><p>Error starting domain: internal error unable to reserve PCI address 0:0:3</p></blockquote>
<p>The long text:</p>
<blockquote><p>Traceback (most recent call last):<br />
File &#8220;/usr/share/virt-manager/virtManager/engine.py&#8221;, line 589, in run_domain<br />
vm.startup()<br />
File &#8220;/usr/share/virt-manager/virtManager/domain.py&#8221;, line 1208, in startup<br />
self._backend.create()<br />
File &#8220;/usr/lib/python2.5/site-packages/libvirt.py&#8221;, line 317, in create<br />
if ret == -1: raise libvirtError (&#8216;virDomainCreate() failed&#8217;, dom=self)<br />
libvirtError: internal error unable to reserve PCI address 0:0:3</p></blockquote>
<p>The solution was to edit the /etc/libvirt/qemu/&lt;domain&gt;.xml and change the conflicting PCI id. The line looked like this before:</p>
<blockquote><p>&lt;address type=&#8217;pci&#8217; domain=&#8217;0&#215;0000&#8242; bus=&#8217;0&#215;00&#8242; slot=&#8217;0&#215;03&#8242; function=&#8217;0&#215;0&#8242;/&gt;</p></blockquote>
<p>and like that after the change:</p>
<blockquote><p>&lt;address type=&#8217;pci&#8217; domain=&#8217;0&#215;0000&#8242; bus=&#8217;0&#215;00&#8242; slot=&#8217;0&#215;02&#8242; function=&#8217;0&#215;0&#8242;/&gt;</p></blockquote>
<p>Don&#8217;t forget to reload libvirt after this change.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/03/16/virt-manager-error-starting-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
