<?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>van Ginderachter &#187; Debian</title>
	<atom:link href="http://vanginderachter.be/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://vanginderachter.be</link>
	<description>van achtere naer vorene</description>
	<lastBuildDate>Fri, 04 Nov 2011 12:59:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>customize resolv.conf even when using network Manager</title>
		<link>http://vanginderachter.be/2009/customize-resolv-conf-even-when-using-network-manager/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2009/customize-resolv-conf-even-when-using-network-manager/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:10:19 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[interfaces]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[resolv.conf]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/?p=1082</guid>
		<description><![CDATA[Having my laptop configured with dhcp through network manager (Ubuntu jaunty at the time of writing) is what I need in most networks. Often though, I need to contact hosts living under another domain. Traditionally, that&#8217;s wat the search option is in /etc/resolv.conf. It still is, but this file now gets configured dynamically through resolvconf, [...]]]></description>
			<content:encoded><![CDATA[<p>Having my laptop configured with dhcp through network manager (Ubuntu jaunty at the time of writing) is what I need in most networks. Often though, I need to contact hosts living under another domain. Traditionally, that&#8217;s wat the search option is in <code>/etc/resolv.conf</code>. It still is, but this file now gets configured dynamically through resolvconf, which in this case gets it data from network manager.</p>
<p>Hacking <code>dhclient.conf</code> won&#8217;t help, as the classic ifup ifdown scripts don&#8217;t touch this. Configuring extra search domains through Network Manager itself is no-go also, as you then need to configure static ip&#8217;s or at least static all of the dns entries which don&#8217;t get your dns server, domain name and search domain configured by dhcp also. What I needed, was <strong>adding</strong> <code>search domains</code> to <code>resolv.conf</code>.</p>
<p>Long story short, just add an additional search stanza line to <code>/etc/resolvconf/resolv.conf.d/tail</code>.</p>
<p>Getting Network-Manager to do what you want isn&#8217;t allways that flexible, and configuration options are limited when you hand over control to the nm daemon. but so far I manged to let it do most of what I needed, which isn&#8217;t all that special actually. I you wan&#8217;t to avoid NM taking control of you interface, just be sure to add an <em>iface</em> entry to <code>/etc/network/interfaces</code>, Network Manager takes only control of the interfaces which only have an <code>auto </code> line.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2009/customize-resolv-conf-even-when-using-network-manager/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Everything is a fsck&#039;ing RAID problem</title>
		<link>http://vanginderachter.be/2007/everything-is-a-fscking-raid-problem/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2007/everything-is-a-fscking-raid-problem/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 20:30:15 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[information technology]]></category>
		<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/2007/everything-is-a-fscking-raid-problem/</guid>
		<description><![CDATA[Got myself a small quick job yesterday. A customer had a server with raid-1 array. A Dell Perc box running Sarge with a mirror that was broken and runnning on one remaining disk. We already recovered from file system corruption, data loss, and some other fine things last week. Al we had to do was [...]]]></description>
			<content:encoded><![CDATA[<p>Got myself a small quick job yesterday. A customer had a server with raid-1 array. A Dell Perc box running Sarge with a mirror that was broken and runnning on one remaining disk.</p>
<p>We already recovered from file system corruption, data loss, and some other fine things last week. Al we had to do was plugging in a new disk and let the mirror rebuild.</p>
<p>Well, at least , that&#8217;s what raid should be about. But as <a href="http://www.x-tend.be/~kb/">Kris</a> already reports, not only <a href="http://www.x-tend.be/~kb/blog/index.php?2007/06/06/388-belgian-dns-problems">DNS</a>, but also <a href="http://www.x-tend.be/~kb/blog/index.php?2007/06/01/386-from-the-department-of-redundancy-department">raid is quite funky</a>.</p>
<p>Dell seems to agree with Kris. In short, I <em>afterwards</em> found a forum comment from someone who confirmed the issue where  initializing a new disk had the funny side effect of resetting existing &#8220;containers&#8221; (= raid array) 50% of the times you tried this exercise. Not to say, this is big fun when all you wanted to do was putting back some redundancy in a degraded mirror.</p>
<p>Enjoy hardware RAID. Be stuck wih the controller bios interface. Quite a spartan one I must say. Enjoy a simple interface with not too much choice &#8211; or was it not enough choice?</p>
<p>I quickly decided, when reinstalling was all we could do, to define each of the two disks, as a simple volume. They still were exported by that funky scsi controller, but once I had a separate <code>sda</code> and <code>sdb</code>, I was ready to let Debian manage them.</p>
<p>At first I was quite optimistic. It was the first install I did with a freshly downloaded <a href="http://www.debian.org/releases/etch/">Etch</a>. Software raid <code>md</code> devices and <code>LVM</code> volumes all you can eat.</p>
<p>Let me be short. The Debian installer, even in Etch, is funky. Luckily you can always <code>ctrl-alt-F2</code> to a shell to have some more control and forcing some stuff manually. But in the meantime, that <a href="http://www.debian.org/devel/debian-installer/">installer is full of bugs</a>.</p>
<p>I remain deadly sure I <em>did</em> configure the /boot partition (on a <code>md</code>, not <code>lvm</code> device) with the proper mount point. Turns out, and I noticed this again at a later reinstall, the Debian installer insists on resetting stuff like that. This is Not Nice.</p>
<p>Another funky problem is when the Debian Installer kernel cannot handle some SCSI routines to let the running kernel <em>know</em> some new <code>md</code> devices were created. Which is not very handy when you need to put those <code>pv</code>&#8216;s in a <code>vg</code> during the same setup. Setup which refuses to write to disk because you didn&#8217;t define a <code>root</code> partition yet.</p>
<p>O well. Besides this funky music, linux software raid remains a lot more flexible.</p>
<ol>You can read those partitions from any (operating) system with a recent Linux kernel. No data lock-in.</ol>
<ol>It&#8217;s no problem to create a mirror with one disk. Especially when you have some data left you need on the other disk, it&#8217;s nice to know you can start the raid array without needing to already reformat that disk.</ol>
<ol>Did I mention flexibility?</ol>
<p>O, some nice article I found, when unrelatedly browsing tfw today. An interesting read on  md devices, which seems <a href="http://www200.pair.com/mecham/raid/raid1-degraded-etch.html">quite complete on the debian raid subject.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2007/everything-is-a-fscking-raid-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hmmmmmmm</title>
		<link>http://vanginderachter.be/2007/hmmmmmmm/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2007/hmmmmmmm/#comments</comments>
		<pubDate>Fri, 09 Feb 2007 01:04:30 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[F/LOSS]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[information technology]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Local sites]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Openminded]]></category>
		<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/2007/hmmmmmmm/</guid>
		<description><![CDATA[_______________]]></description>
			<content:encoded><![CDATA[<p>_____<a href='http://vanginderachter.be/files/2007/02/idea.gif' title='Hmmmmâ€¦. thinkingâ€¦.'><img src='http://vanginderachter.be/files/2007/02/idea.gif' alt='Hmmmmâ€¦. thinkingâ€¦.' /></a>_____<a href='http://vanginderachter.be/files/2007/02/dice.jpg' title='some dices'><img src='http://vanginderachter.be/files/2007/02/dice.jpg' alt='some dices' /></a>_____</p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2007/hmmmmmmm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Sarge rsync package updated</title>
		<link>http://vanginderachter.be/2005/debian-sarge-rsync-package-updated/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vanginderachter.be/2005/debian-sarge-rsync-package-updated/#comments</comments>
		<pubDate>Sat, 24 Sep 2005 12:16:24 +0000</pubDate>
		<dc:creator>Serge van Ginderachter</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[F/LOSS]]></category>
		<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.vanginderachter.be/?p=65</guid>
		<description><![CDATA[If you experience the same problem I did with the rsync and rsnapshot combo, I provide an updated package rsync_2.6.4-6.svg1_i386.deb which can be found amongst my downloads, together with all the source. I hope this package was built like it should. If you have extensive knowledge on Debian packaging, as a Debian Devekoper or not, Iâ€™d be glad to hear your feedback, as this stuff is quite new for me.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://packages.debian.org/stable/utils/rsnapshot"><code>rsnapshot</code></a> for quite a while now, as a means to make daily, weekly en monthly backups on disk, for the cost of only slightly more disc space than the full 100% of my data. Which is possible thanks to <code>rsnapshot</code> extensively using hard linking instead of plainly copying files. So the <em>same</em> file takes the same amount of disc space whether it is archived 1 time or in <code>7 daily + 4 weekly  + 12 <strike>yearly</strike> monthly = 21 archives</code>.</p>
<p>Read more on <code>rsnapshot</code> on its <a href="http://www.rsnapshot.org/">homepage</a>: rsnapshot was originally based on an article called <a href="http://www.mikerubel.org/computers/rsync_snapshots/">Easy Automated Snapshot-Style Backups with Linux and Rsync</a>, by Mike Rubel. If you think this is just another mysterious, dark-alley program, think again. This functionality is paid big bucks with commercial vendors, and rsnapshot is actively being used, even in <a href="http://www.velleman.be/">bigger companies</a>.</p>
<p>Performing differential, secure and remote backups is also possible, using <a href="http://packages.debian.org/stable/net/rsync"><code>rsync</code></a> over <a href="http://packages.debian.org/stable/net/ssh"><code>ssh</code></a> for transport.</p>
<p>Now <code>rsync</code> had a <a href="http://lists.samba.org/archive/rsync/2005-April/012335.html">bug</a>, where the <code>--delete</code> option had no effect. Quite annoying, given the fact that rsnapshot uses that option so that files, deleted after your previous backup, get deleted in the new backup archive you currently perform. Backups still roll, and you data is safe, but in directories where you e.g. have a daily dump of you database &#8211; with a filename containing the date &#8211; the old files never get deleted, and you turn up with all the dumps linked in every archive, instead of having just right dump in the right archive.</p>
<p>Luckily, as usual with <a href="http://en.wikipedia.org/wiki/Open_Source">Open Source</a>, somebody <a href="http://lists.samba.org/archive/rsync/2005-April/012337.html">analyses</a> the problem and <a href="http://lists.samba.org/archive/rsync/2005-April/012338.html">posts a patch</a>. I filed <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317418">bug 317418</a> in the Debian Bug Tracker with all that info.</p>
<p>It gets slightly more annoying when you realize that in Debian, this kind of bug is not considered critical, and never will be updated in Debian Stable. Very annoying if you standardize on Debian Stable and need the packages with their original functionalities. Luckily for me, in this case, solving the problem isn&#8217;t that difficult, as the patch is very tiny and modifying the source code is very simple, even without any C knowledge. It took some time to find out how to customize a Debian package, but thanks to some <a href="http://www.steve.org.uk/">very helpfull people</a> in the <a href="http://www.debian-administration.org/articles/253">community</a>, it turned out well.</p>
<p>If you experience the same problem, the updated package <code>rsync_2.6.4-6.svg1_i386.deb</code> can be found amongst my <a href="http://www.vanginderachter.be/downloads/debian/">downloads</a>, together with all the source. I hope this package was <a href="http://www.debian.org/doc/manuals/maint-guide/index.en.html">built like it should</a>. If you have extensive knowledge on Debian packaging, as a Debian Devekoper or not, I&#8217;d be glad to hear your feedback, as this stuff is quite new for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanginderachter.be/2005/debian-sarge-rsync-package-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

