<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Raw Matter</title>
    <link>http://blog.fortytwo.ch/</link>
    <description>cmot's almost completely debian-unrelated weblog</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3-2 - http://www.s9y.org/</generator>
    <managingEditor>avbidder+blog@fortytwo.ch</managingEditor>
<webMaster>avbidder+blog@fortytwo.ch</webMaster>
<ttl>125</ttl>
<pubDate>Tue, 03 May 2011 21:35:46 GMT</pubDate>

    <image>
        <url>http://blog.fortytwo.ch/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Raw Matter - cmot's almost completely debian-unrelated weblog</title>
        <link>http://blog.fortytwo.ch/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>cmot died on April 17th 2011</title>
    <link>http://blog.fortytwo.ch/archives/110-cmot-died-on-April-17th-2011.html</link>
    
    <comments>http://blog.fortytwo.ch/archives/110-cmot-died-on-April-17th-2011.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=110</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=110</wfw:commentRss>
    

    <author>nospam@example.com (Diana von Bidder)</author>
    <content:encoded>
    &lt;img src=&quot;http://blog.fortytwo.ch/uploads/Adrian_von_Bidder_20110409a.JPG&quot; alt=&quot;&quot; /&gt;
Sadly, I have to make an end to this blog. Adrian - my husband - died on april 17th of a heart attack. 


&lt;a href=&quot;http://www.debian.org/News/2011/20110423&quot; title=&quot;Debian obituary&quot;&gt;Debian obituary&lt;/a&gt;  
    </content:encoded>

    <pubDate>Thu, 28 Apr 2011 08:54:55 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/110-guid.html</guid>
    
</item>
<item>
    <title>On Bad Lenses</title>
    <link>http://blog.fortytwo.ch/archives/109-On-Bad-Lenses.html</link>
            <category>Photography</category>
    
    <comments>http://blog.fortytwo.ch/archives/109-On-Bad-Lenses.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=109</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=109</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I, and maybe some others, wondered why people would (have to) send new lenses back claiming that they got a &amp;ldquo;bad copy&amp;rdquo; so often. I couldn&#039;t imagine quality control being so bad that two out of three (at least that&#039;s the impression I got from reading the occasional foto discussion forum) lenses are bad.&lt;/p&gt;

&lt;p&gt;It turns out that it is not only people needing to be pampered and having the impression that their second (identical) copy of the expensive new lens is better. Nor is it bad QA by the manufacturers alone. Fact is that todays high megapixel cameras are at the limit of the manufacturing precision that can be achieved at a reasonable price. Roger Cicala (&lt;a href=&quot;http://lensrentals.com/&quot;&gt;LensRentals.com&lt;/a&gt;, so he occasionally does have a lens or two at his place) wrote some &lt;a href=&quot;http://www.canonrumors.com/tech-articles/this-lens-is-soft-and-other-myths/&quot;&gt;very interesting articles&lt;/a&gt; about this topic which I discovered just now as they were featured on &lt;a href=&quot;http://www.canonrumors.com/&quot;&gt;canonrumors&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(In case you&#039;re wondering: No, I don&#039;t see any issues with my new &lt;a href=&quot;http://blog.fortytwo.ch/archives/108-New-Toy.html&quot;&gt;70-200mm&lt;/a&gt;, just coincidence that I&#039;m reading this just after getting a new lens. When I upgrade my camera body to something like a 5D MkII I &lt;em&gt;will&lt;/em&gt; take a very close look at my Tokina 11-16 though, where I don&#039;t trust the AF 100%. On the 10MP Canon 40D it&#039;s a great lens, so I&#039;m quite happy for now, but it seems strange that when I release and half-press the shutter again after having focused, the focus will sometimes move a tiny bit again. Haven&#039;t noticed this behaviour on the other lenses.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 22 Mar 2011 09:48:22 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/109-guid.html</guid>
    
</item>
<item>
    <title>New Toy</title>
    <link>http://blog.fortytwo.ch/archives/108-New-Toy.html</link>
            <category>Photography</category>
    
    <comments>http://blog.fortytwo.ch/archives/108-New-Toy.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=108</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=108</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9290.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9290.JPG&#039;,&#039;Zoom&#039;,&#039;height=3258,width=2607,top=-1021.5,left=-336,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:14 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;88&quot; height=&quot;110&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9290.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9315.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9315.JPG&#039;,&#039;Zoom&#039;,&#039;height=3185,width=2487,top=-985,left=-276,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:15 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;86&quot; height=&quot;110&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9315.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9440.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9440.JPG&#039;,&#039;Zoom&#039;,&#039;height=2235,width=2235,top=-510,left=-150,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:19 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;110&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9440.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;p&gt;Getting a birthday present is always nice, of course.  This one made me itch to go outside and hunt for nice motifs, though ... Images are straight from the camera, just a bit cropped (look at the EXIF if you feel like it.) If you don&#039;t want to look at the EXIF: the beautiful new lens is the Canon &lt;a href=&quot;http://www.dpreview.com/lensreviews/canon_70-200_2p8_is_usm_ii_c16/&quot;&gt;Canon EF 70-200mm 1:2.8 L IS II USM &lt;/a&gt; (like all manufacturers, Canon likes to collect funny abbreviations at the end of their product names &amp;mdash; though I feel they&#039;re not as bad as some...), and I truly like what I&#039;m seeing so far. That this lens has excellent sharpness goes without saying (especially on the 40D with modest 10MPixel on a crop sensor), see the comparison with the old EF 100-300mm f/4.5-5.6 USM (the piccolo picture.) Beyond sharpness, there&#039;s the 1:2.8 aperture, the IS really keeps what it promises (and is absolutely silent), and AF is quiet and ultra fast as well. I&#039;ve only got it today, so I took only a few shots &amp;mdash; I&#039;m confident that CA, flare resistance etc. will live up to reputation though. Now I&#039;m really starting about a full frame camera with higher MP count to take full advantage of my lenses (you may remember that I quite like decent &lt;a href=&quot;http://blog.fortytwo.ch/archives/67-Toys,-Number-Three.html&quot;&gt;equipment&lt;/a&gt;; the wideangle is said to be usable for full frame down to ca. 14mm although it&#039;s really designed for crop sensor...)&lt;/p&gt;
&lt;p&gt;The obvious question is if I really can take better pictures just because I&#039;m now lugging around a 6kg bag of stuff ... but honestly, having a telephoto lens without image stabilisation was a pain, so getting the old tele replaced was the obvious next step.&lt;/p&gt;&lt;p&gt;Oh yes, and: see you in Banja Luka! :-)&lt;/p&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9394.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9394.JPG&#039;,&#039;Zoom&#039;,&#039;height=1737,width=1941,top=-261,left=-3,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:16 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;98&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9394.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9430.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9430.JPG&#039;,&#039;Zoom&#039;,&#039;height=3610,width=2051,top=-1197.5,left=-58,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:18 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;62&quot; height=&quot;109&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9430.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.fortytwo.ch/uploads/IMG_9411.JPG&#039; onclick=&quot;F1 = window.open(&#039;/uploads/IMG_9411.JPG&#039;,&#039;Zoom&#039;,&#039;height=2571,width=2571,top=-678,left=-318,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:17 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;110&quot;  src=&quot;http://blog.fortytwo.ch/uploads/IMG_9411.serendipityThumb.JPG&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;  
    </content:encoded>

    <pubDate>Thu, 10 Mar 2011 21:16:58 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/108-guid.html</guid>
    
</item>
<item>
    <title>Btrfs data deduplication</title>
    <link>http://blog.fortytwo.ch/archives/107-Btrfs-data-deduplication.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/107-Btrfs-data-deduplication.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=107</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=107</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Apparently, &lt;a href=&quot;http://thread.gmane.org/gmane.comp.file-systems.btrfs/8448&quot;&gt;it&#039;s coming&lt;/a&gt;. Haven&#039;t tested these patches, though (and why yet another btrfs-foo command rather than something integrated with the btrfs command?), but together with my &lt;a href=&quot;http://www.dirvish.org/pipermail/dirvish/2011-February/002389.html&quot;&gt;hacked up&lt;/a&gt; &lt;a href=&quot;http://www.dirvish.org/&quot;&gt;dirvish&lt;/a&gt; (added support to create btrfs snapshots instead of hardlinked trees) this will save me a couple of gigabytes for all those backups of various servers (which I pretty much keep at the same releases.)&lt;/p&gt;
&lt;p&gt;The discussion on the btrfs mailing list got quite heated on the online vs. offline dedup issue (and also very silly IMO since nobody said online dedup shouldn&#039;t be supported. It&#039;s just not written yet...); What nobody mentioned was: how much memory is the hash index of an online dedup daemon going to consume, and how much CPU cache will it burn? This would be my main concern since my NAS only has 512M memory, and also needs to do NAT, VPN and DNS (yes, I&#039;m a home user. I&#039;d like to get the public IP off the NAS, but I&#039;ll have to buy some box to do this first...)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 03 Mar 2011 21:11:51 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/107-guid.html</guid>
    
</item>
<item>
    <title>Open Letter to Gianugo Rabellino</title>
    <link>http://blog.fortytwo.ch/archives/106-Open-Letter-to-Gianugo-Rabellino.html</link>
            <category>Society</category>
    
    <comments>http://blog.fortytwo.ch/archives/106-Open-Letter-to-Gianugo-Rabellino.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=106</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=106</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Dear &lt;a href=&quot;http://lwn.net/Articles/430338/&quot;&gt;Mr. Rabellino&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Actions speak louder than words. So stop giving interviews and do your homework. Release documentation without license and patent threats surrounding them (how about all protocols related to Sharepoint and Exchange?) Support stuff like Ogg Theora in HTML 5 for IE and the OpenDocument format in MS Office. Admit that you just bought the OOXML standard and that you can&#039;t even implement it yourself. Hand over your patent portfolio to the &lt;a href=&quot;http://www.openinventionnetwork.com/&quot;&gt;Open Invention Network&lt;/a&gt;. Use your cash reserves to buy Nvidia and then release a proper driver for their GPUs (obviously, I&#039;m talking about a driver for the X window system under appropriate licenses, not a Windows driver.) If you ever are challenged that Microsoft should do something like this, don&#039;t come up with lame excuses like &amp;ldquo;I would like to do this but the company won&#039;t let me.&amp;rdquo; Either you can move your company or admit defeat and resign instead of pretending to care about relationship to the Free Software communitites.&lt;/p&gt;

&lt;p&gt;Your company has a long, long history and needs to make good on it. Talking won&#039;t change any of this. Being forced to take some (very small) steps towards openness by court decisions won&#039;t change any of this. Probably, even being a model citizen for 5 years won&#039;t change much because people have long memories, but hey, you worked hard to get this reputation.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 02 Mar 2011 08:40:45 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/106-guid.html</guid>
    
</item>
<item>
    <title>Freedom</title>
    <link>http://blog.fortytwo.ch/archives/105-Freedom.html</link>
            <category>Society</category>
    
    <comments>http://blog.fortytwo.ch/archives/105-Freedom.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=105</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=105</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;http://lwn.net/SubscriberLink/426763/7b9a0326e73be019/&quot;&gt;LWN Coverage of Eben Moglen&#039;s FOSDEM keynote&lt;/a&gt;. A very thoughtful article on freedom and how to get there.&lt;/p&gt;

&lt;p&gt;While we &lt;i&gt;can&lt;/i&gt;, technically, build these free systems that Eben Moglen talks about, history has shown that we won&#039;t. People don&#039;t care until it&#039;s too late &amp;mdash; until the police is on their doorstep with an arrest warrant (if the regime cares about such details at all.) So it&#039;s up to the small minority of people who actually cares and is prepared to pay the price (in money or in being isolated by not being &amp;ldquo;on Facebook&amp;rdquo; or whatever) to create systems that are both Free and also appealing to the uneducated masses. People will move to Free systems only when they&#039;re much cheaper and also offer more value as perceived by them, in terms of features, or coolness or whatever. Bling.&lt;/p&gt;

&lt;p&gt;We&#039;re almost there in terms of software (&lt;a href=&quot;http://www.mozilla.com/firefox/&quot;&gt;Firefox&lt;/a&gt; managed to get noticeable market share, and people at least talk about OpenOffice / &lt;a href=&quot;http://www.libreoffice.org/&quot;&gt;LibreOffice&lt;/a&gt;.) We&#039;re nowhere close in terms of networks and content, though. Wikipedia and Openstreetmap are the rare exceptions, but there&#039;s not much in terms of social networking, searching, messaging, collaboration platforms etc.: all firmly in corporate hands. I&#039;m not sure that Moglen&#039;s Freedom Box idea will succeed either: so far, I can&#039;t see the &amp;ldquo;must have&amp;rdquo; element for people who don&#039;t care about these things that might change the game.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 10 Feb 2011 09:31:48 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/105-guid.html</guid>
    
</item>
<item>
    <title>Sci-Fi classics (and other stuff)</title>
    <link>http://blog.fortytwo.ch/archives/104-Sci-Fi-classics-and-other-stuff.html</link>
            <category>Movies</category>
    
    <comments>http://blog.fortytwo.ch/archives/104-Sci-Fi-classics-and-other-stuff.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=104</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=104</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I again find myself spending time watching movies ... catching up on all those friends who chastise me for not having seen whatever movie we&#039;re talking about.&lt;/p&gt;
&lt;p&gt;For example, the first &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Terminator&quot;&gt;three&lt;/a&gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Terminator_2:_Judgment_Day&quot;&gt;Terminator&lt;/a&gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Terminator_3:_Rise_of_the_Machines&quot;&gt;movies&lt;/a&gt;. I&#039;m always fond of old style science fiction, so the first of these is quite cute. And then there&#039;s the liquid metal effect introduced in Judgment Day, which also is cool, and at the time certainly was at the bleeding edge of what was possible in CG. But by the third movie the concept itself is sure showing its age &amp;mdash; although it&#039;s still well made action, I didn&#039;t enjoy it as much.  Haven&#039;t got hold of the &lt;a href=&quot;http://en.wikipedia.org/wiki/Terminator_Salvation&quot;&gt;Salvation&lt;/a&gt; nor Bruno Mattai&#039;s unofficial &lt;a href=&quot;http://en.wikipedia.org/wiki/Terminator_II_(Bruno_Mattei_film)&quot;&gt;Terminator 2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Speaking about old fashioned Sci Fi: &lt;a href=&quot;http://en.wikipedia.org/wiki/Blade_Runner&quot;&gt;Blade Runner&lt;/a&gt; has a very nice retro look in the buildings and furnishings. And, although this is more because it also was made in the early 80s, very retro computer consoles :-) Fun to watch, but I&#039;m not quite happy with how the plot turns out in the end. But then, it&#039;s a Hollywood production, so should I be surprised?&lt;/p&gt;

&lt;p&gt;But there&#039;s not only Sci Fi ... &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Shawshank_Redemption&quot;&gt;The Shawshank Redemption&lt;/a&gt; is a gripping story about an innocent serving a 20 years sentence for murder. A banker entering the rough world of prison, bets are taken how long he&#039;ll last. But obviously it turns out that he&#039;s really quite tough ...&lt;/p&gt;

&lt;p&gt;I&#039;m getting good at this ... I thought &amp;ldquo;Jim Jarmusch&amp;rdquo; after about 20s of the opening credits of &lt;a href=&quot;http://en.wikipedia.org/wiki/Down_by_Law_(film)&quot;&gt;Down By Law&lt;/a&gt;. While it is (again) about innocent people in prison, the focus here is solely on the interaction of three people sharing a cell, excluding almost everything else. Done beautifully in black and white, and while it&#039;s not fast paced in any way, the plot has a steady flow to it.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 29 Jan 2011 17:33:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/104-guid.html</guid>
    
</item>
<item>
    <title>Execute stuff from dhcpd.conf</title>
    <link>http://blog.fortytwo.ch/archives/103-Execute-stuff-from-dhcpd.conf.html</link>
            <category>Debian</category>
    
    <comments>http://blog.fortytwo.ch/archives/103-Execute-stuff-from-dhcpd.conf.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=103</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=103</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Since my NAS at home also acts as DHCP server, the obvious idea was to back up my PC and my laptop whenever they&#039;re switched on. Sadly, the documentation on how to do this from dhcpd.conf (instead of watching log files and reacting to log messages) is quite hidden, so here it is: I found the &quot;execute&quot; keyword (see the dhcp-eval manpage), and I found &lt;a href=&quot;https://lists.isc.org/pipermail/dhcp-users/2008-September/007167.html&quot;&gt;Tim Gustafson&lt;/a&gt;, which allowed me to pull it off (although, since I only have the two computers, I opted for a execute statement each and hardcoded the client IP in the call to the backup script. So I don&#039;t know if the address parsing stuff he does is correct.)&lt;/p&gt;

&lt;p&gt;So the host statements for me look just like this:&lt;/p&gt;
&lt;pre&gt;
  host laeggerli-wifi {
    hardware ethernet 00:22:69:aa:bb:cc;
    fixed-address 172.23.5.19;
    on commit {
      execute(&quot;/usr/local/sbin/dhcp-run-backup&quot;, &quot;commit&quot;, &quot;laeggerli&quot;);
    }
  }
&lt;/pre&gt;
&lt;p&gt;And the script to start dirvish is similarly simple, except that it needs to fork to the background to make sure dhcpd is not blocked. The &lt;tt&gt;sleep 600&lt;/tt&gt; is based on the theory that if I&#039;m on my way out in the morning and need to check  mail quickly, that will be less than 10 min, whereas when I&#039;m still online after 10 min, there&#039;s a good chance that the back up will go through. Obviously, this could be improved...&lt;/p&gt;

&lt;pre&gt;
#! /bin/bash

# called by dhcpd.conf
# arguments:
#  $1 -&gt; &quot;commit&quot; if called from dhcpd.conf, fork into background
#     -&gt; &quot;run&quot;    if called internall from first instance
#  $2 -&gt; client host

if [ &quot;$1&quot; == &quot;commit&quot; ]; then
    # fork to background
    $0 run &quot;$2&quot; &gt;&gt; /var/log/dhcpbackup.log 2&gt;&amp;amp;1 &amp;amp;
    exit 0
fi

if [ &quot;$1&quot; != &quot;run&quot; ]; then
    echo error
    exit 1
fi

# figure out which host:

host=&quot;$2&quot;
if [ &quot;$host&quot; != &quot;laeggerli&quot; -a &quot;$host&quot; != &quot;faehrimaa&quot; ]; then
    echo &quot;Unknown host: $2&quot;
    exit 1
fi

# did backup already run today?
d=`date +%Y%m%d`

if [ -d &quot;/srv/backup/${host}_home/$d&quot; ]; then
    exit 0
fi

# wait 10min before actually running the backup
# (if computer still runs after 10min, it&#039;ll likely run for longer...

sleep 600
ping -n -w 3 $host &gt;/dev/null 2&gt;&amp;amp;1 || exit 0

agentpid=&quot;/var/run/dirvish/ssh-agent-$host.pid&quot;
[ -f &quot;$agentpid&quot; ] &amp;amp;&amp;amp; \
    kill $(&amp;lt; &quot;$agentpid&quot;) 2&gt;/dev/null
mkdir /var/run/dirvish &gt;/dev/null 2&gt;&amp;amp;1
eval `ssh-agent` &gt;/dev/null 2&gt;&amp;amp;1
echo $SSH_AGENT_PID &gt; &quot;$agentpid&quot;
ssh-add /etc/dirvish/ssh-key &gt;/dev/null 2&gt;&amp;amp;1

/usr/sbin/dirvish --vault ${host}_home
/usr/sbin/dirvish --vault ${host}_root

/usr/sbin/dirvish-expire --quiet --vault ${host}_home
/usr/sbin/dirvish-expire --quiet --vault ${host}_root

kill $SSH_AGENT_PID
rm &quot;$agentpid&quot;
&lt;/pre&gt;

&lt;p&gt;(I don&#039;t claim any rights on any of it, it&#039;s trivial enough.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 29 Jan 2011 16:58:57 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/103-guid.html</guid>
    
</item>
<item>
    <title>How user support should go</title>
    <link>http://blog.fortytwo.ch/archives/101-How-user-support-should-go.html</link>
            <category>Society</category>
    
    <comments>http://blog.fortytwo.ch/archives/101-How-user-support-should-go.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=101</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=101</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=kAG39jKi0lI&quot;&gt;My Blackberry is Not Working!&lt;/a&gt; If you haven&#039;t seen this yet, you really, really, really, want to watch it. Safe for work and everything.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Fri, 28 Jan 2011 22:31:03 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/101-guid.html</guid>
    
</item>
<item>
    <title>Wasted developer resources?</title>
    <link>http://blog.fortytwo.ch/archives/100-Wasted-developer-resources.html</link>
            <category>Linux Desktop</category>
    
    <comments>http://blog.fortytwo.ch/archives/100-Wasted-developer-resources.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=100</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=100</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I had some hope when I read &lt;a href=&quot;http://blog.forwardbias.in/2011/01/qjsonparser-parse-and-stringify-json-with-qt.html&quot;&gt;Girish Ramakrishnan&lt;/a&gt;&#039;s blog post that starts with &amp;ldquo;To my knowledge, there are 3 Qt based JSON parsers out there&amp;rdquo;.  But I was really disappointed: instead of trying to get a consolidation going or at least highlighting the need for three different parsers, he announces yet another implementation. And, to make matters worse, it is intended to be statically linked whenever it is used. A friendly wave to all security conscious engineers who will now have to hunt down and kill security issues in various places wherever this json parser was used, in various different versions, possibly with local modifications.&lt;/p&gt;

&lt;p&gt;Girish, please do not take this as a personal attack, but what you&#039;re doing is just bad engineering practice. I don&#039;t claim &lt;a href=&quot;http://git.forwardbias.in/?p=qjsonparser.git&quot;&gt;qjsonparser&lt;/a&gt; is buggy.  I haven&#039;t even looked at the code.  But let&#039;s face it: bugs happen, and json is often passed over the net, so any parser is attack surface. So it should be as easy as possible to get fixed versions of the code out to the users. The means to do this is by allowing distribution builders to be aware of where the code in question was used, and to get fixed versions of it distributed easily.  In other words: such code should always be in a shared library.&lt;/p&gt;

&lt;p&gt;Take, for example, the history of xpdf/poppler: many people spent countless hours chasing copies of xpdf code in many applications before they finally had enough, forked xpdf (if I have the history correctly) and created the poppler library which is now widely used.  Now security issues with the PDF parser require one security fix, not 10.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Fri, 21 Jan 2011 20:27:32 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/100-guid.html</guid>
    
</item>
<item>
    <title>iptables SNAT + DNAT</title>
    <link>http://blog.fortytwo.ch/archives/99-iptables-SNAT-+-DNAT.html</link>
    
    <comments>http://blog.fortytwo.ch/archives/99-iptables-SNAT-+-DNAT.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=99</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=99</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Just found a nice trick so that I can do SNAT + DNAT of some connections without having to maintain the list of connections in two places.  (Used to bridge the time until DNS has caught up because I forgot to lower the TTL before the migration.  The downside is that all the dns blacklists are not effective for these connections.)&lt;/p&gt;

&lt;pre&gt;
-A PREROUTING -p tcp -m tcp -m multiport --dports 993,587,25 -j DNAT --to-destination new-mailserver
-A POSTROUTING -m conntrack --ctstate DNAT -j SNAT --to-source old-mailserver
&lt;/pre&gt;

&lt;p&gt;The new thing, for me, was of course the discovery of the conntrack module so that SNAT is automatically applied to all DNATted connections.  Obviously this only applies to a simple set up like mine where nothing else is using DNAT, else the SNAT rule would need further restrictions.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 12 Jan 2011 09:46:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/99-guid.html</guid>
    
</item>
<item>
    <title>Cyrus</title>
    <link>http://blog.fortytwo.ch/archives/98-Cyrus.html</link>
            <category>Debian</category>
    
    <comments>http://blog.fortytwo.ch/archives/98-Cyrus.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=98</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=98</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;&lt;b&gt;Just say no.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Filed under &amp;ldquo;Debian&amp;rdquo; since this is a Univention system which is based on Debian (still etch, though.)  And what specifically annoyed me was today&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;That the mailbox list and the actual on disk files can get out of sync.&lt;/li&gt;
&lt;li&gt;That this causes nice &amp;ldquo;System I/O error: %m&amp;rdquo; messages (the %m part is verbatim.  Nice, isn&#039;t it?) in cyrquota, and similar messages in cyradm for &amp;ldquo;sam&amp;rdquo; commands.&lt;/li&gt;
&lt;li&gt;That, while this can be fixed with a cyrrecover on the mailbox (a recursive recover on the parent doesn&#039;t bring back the mailbox, so I need to call cyrrecover on each affected mailbox separately), the output of cyrquota displays the mailbox as &amp;ldquo;domain!mailbox^name.folder&amp;rdquo; while cyrrecover expects &amp;ldquo;mailbox.name/folder@domain&amp;rdquo;&lt;/li&gt;
&lt;li&gt;That the System I/O error causes cyrquota to stop, so I need to sit here and restart it countless times. (At least it seems to pick up where it stopped, so I don&#039;t have to wait that long until it comes to the next problem.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I knew from other experiences that one shouldn&#039;t use cyrus, but it can&#039;t be said often enough...  And since I usually don&#039;t use it, it amazes me anew every time I have to babysit an installation.  While I don&#039;t have a similarly big installation to compare it, I&#039;ve found &lt;a href=&quot;http://www.dovecot.org/&quot;&gt;Dovecot&lt;/a&gt; to be very nice.  Admittedly it doesn&#039;t have that many features.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 04 Jan 2011 17:14:24 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/98-guid.html</guid>
    
</item>
<item>
    <title>Order Your Debian Swirl Umbrella Now</title>
    <link>http://blog.fortytwo.ch/archives/84-Order-Your-Debian-Swirl-Umbrella-Now.html</link>
            <category>Debian</category>
    
    <comments>http://blog.fortytwo.ch/archives/84-Order-Your-Debian-Swirl-Umbrella-Now.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=84</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;&lt;!-- s9ymdb:13 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;95&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.fortytwo.ch/uploads/debianumbrella2.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;
Ok, here we go: It seems that I&#039;ll receive &lt;a href=&quot;http://blog.fortytwo.ch/archives/80-Yay!-Debian-Logo!.html&quot;&gt;the umbrella&lt;/a&gt; (big picture) in the first week of June, so I&#039;m taking orders now.  Please read this posting carefully if you want a Debian umbrella.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Update IV 2010-12-12: &lt;/b&gt; Orders are now processed via debian.ch, so just go &lt;a href=&quot;http://debian.ch/merchandise/&quot;&gt;over there&lt;/a&gt; for your Umbrella.  I still have a very few umbrellas here in Basel, so if you want to pick one up locally you&#039;re still welcome.&lt;/p&gt;

&lt;p&gt;About CHF 5 to 6 per umbrella will go to &lt;a href=&quot;http://debian.ch/&quot;&gt;debian.ch&lt;/a&gt; (where it is held as official Debian money under the authority of the DPL.)&lt;/p&gt;

&lt;p&gt;(Old version of this article removed.  You&#039;re still welcome to send money to my bank account, but you won&#039;t get an umbrella in return.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 12 Dec 2010 13:30:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/84-guid.html</guid>
    
</item>
<item>
    <title>Tool: incron</title>
    <link>http://blog.fortytwo.ch/archives/97-Tool-incron.html</link>
            <category>Debian</category>
    
    <comments>http://blog.fortytwo.ch/archives/97-Tool-incron.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=97</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=97</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;One in the &amp;ldquo;obvious, now that you mention it&amp;rdquo; category.  The package description is good enough:&lt;/p&gt;
&lt;blockquote&gt;
 incron is an &quot;inotify cron&quot; system. It works like the regular cron but is
 driven by filesystem events instead of time events. This package provides two
 programs, a daemon called &quot;incrond&quot; (analogous to crond) and a table
 manipulator &quot;incrontab&quot; (like &quot;crontab&quot;).
&lt;/blockquote&gt;
&lt;p&gt;Where &amp;ldquo;filesystem events&amp;rdquo; is anything that is reported by inotify; see the inotify(7) manpage.  I didn&#039;t test and/or use it since I stumbled on it while searching for something completely different, but it sure sounds useful.  The important feature not mentioned in the package description: can it limit how often an event triggers a script execution?  Reading the manpage, it doesn&#039;t appear so, but there&#039;s &lt;tt&gt;IN_NO_LOOP&lt;/tt&gt; to &amp;ldquo;... disable monitoring events
       until the current one is completely handled (until  its  child  process
       exits).&amp;rdquo;  Which obviously opens up all kinds of race conditions.  So I guess this tool needs to be used with care.  Still, I guess a good candidate is monitoring /etc/aliases to run newaliases on change.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 20 Nov 2010 08:39:21 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/97-guid.html</guid>
    
</item>
<item>
    <title>Some Gigabytes</title>
    <link>http://blog.fortytwo.ch/archives/96-Some-Gigabytes.html</link>
            <category>Movies</category>
    
    <comments>http://blog.fortytwo.ch/archives/96-Some-Gigabytes.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=96</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=96</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;For some reason, 60G of free space on my notebook suddenly turned into 60G of movies.  Bownian motion, perhaps.&lt;/p&gt;

&lt;p&gt;Unfortunately, in this particular case, I absolutely don&#039;t like to let a movie (or book, for that matter) unfinished, so I watched &lt;a href=&quot;http://en.wikipedia.org/wiki/Fear_and_Loathing_in_Las_Vegas_(film)&quot;&gt;Fear and Loathing in Las Vegas&lt;/a&gt; (directed by Terry Gilliam, starring Johnny Depp; so far, so good) from start to finish.  After the first half hour I started wondering if the plot is going to start.  The reptile party in the hotel lobby was a short entertaining interlude, but to the end, no plot manifests.  I&#039;m left wondering what this was all about.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Quantom_of_solace&quot;&gt;Quantum of Solace&lt;/a&gt; on the other hand is good entertainment.  Probably not one of the best, but still worth watching if you like her majesty&#039;s secret agent.&lt;/p&gt;

&lt;p&gt;Going back to movies I&#039;ve seen before is something I like to do as well, so having another evening in company with the unforgettable &lt;a href=&quot;http://en.wikipedia.org/wiki/Léon_(film)&quot;&gt;Leon&lt;/a&gt; (the professional) was time well spent.&lt;/p&gt;

&lt;p&gt;I didn&#039;t give up on Terry Gilliam yet and met &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Fisher_King_(film)&quot;&gt;The Fisher King.&lt;/a&gt;   While the story is completely different, it does feel a bit similar to &lt;a href=&quot;http://en.wikipedia.org/wiki/12_Monkeys&quot;&gt;12 Monkeys&lt;/a&gt; in terms of set design and atmosphere.&lt;/p&gt;

&lt;p&gt;Speaking of Terry Gilliam:  I&#039;m curious how his current attempt at &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Man_Who_Killed_Don_Quixote&quot;&gt;The Man Who Killed Don Quixote&lt;/a&gt; turns out; so far I&#039;ve only seen him losing this movie in the documentary about the aborted last attempt: &lt;a href=&quot;http://en.wikipedia.org/wiki/Lost_in_La_Mancha&quot;&gt;Lost in La Mancha&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On the funny side, &lt;a href=&quot;http://en.wikipedia.org/wiki/Dogma_(film)&quot;&gt;Dogma&lt;/a&gt; and especially &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Wedding_Crashers&quot;&gt;The Wedding Crashers&lt;/a&gt; were worth watching.  If you have to pick one, it&#039;s the latter one.  Dogma feels a bit forced in some places.&lt;/p&gt;

&lt;p&gt;Returning back to the opening theme: seeing &lt;a href=&quot;http://en.wikipedia.org/wiki/Inland_Empire_(film)&quot;&gt;Inland Empire&lt;/a&gt; was another evening that left me confused.  The main story is interesting enough, but I have to admit that I just couldn&#039;t follow where all the other sub plots tie in, or if they even are supposed to.  And I&#039;m not only talking about the rabbit family (those felt a bit like the Middle of the Film in &lt;a href=&quot;http://en.wikipedia.org/wiki/Monty_Python&#039;s_The_Meaning_of_Life&quot;&gt;The Meaning of Life&lt;/a&gt; and were quite in order.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 06 Nov 2010 22:43:11 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/96-guid.html</guid>
    
</item>

</channel>
</rss>
