<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Arch on Dieter&#39;s blog</title>
    <link>https://dieter.plaetinck.be/tags/arch/</link>
    <description>Recent content in Arch on Dieter&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 30 Dec 2013 14:46:32 -0400</lastBuildDate><atom:link href="https://dieter.plaetinck.be/tags/arch/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pixie: simple photo management using directory layouts and tags.</title>
      <link>https://dieter.plaetinck.be/posts/pixie/</link>
      <pubDate>Mon, 30 Dec 2013 14:46:32 -0400</pubDate>
      
      
      <guid>pixie</guid>
      
      
      <description>So you have a few devices with pictures, and maybe some additional pictures your friends sent you.  You have a lot of pictures of the same thing and probably too high of a resolution.  Some may require some editing.  How do you easily create photo albums out of this mess?  And how do you do it in a way
that keeps a simple and elegant, yet flexible file/directory layout for portability and simplicity?

&lt;br/&gt;
&lt;br/&gt;I couldn&#39;t find a tool that I liked, so I rolled my own: &lt;a href=&#34;https://github.com/Dieterbe/pixie&#34;&gt;Pixie&lt;/a&gt;.
&lt;br/&gt;
It gives you vim-like keybindings to navigate pictures, create edits (stored in a &#34;mirror directory&#34;) and add/remove tags to pictures.  (Because n:m tag relationships are basically a must for organizing things and don&#39;t work on any common filesystem)
To generate &#34;album&#34; directories, just define which tags they should(n&#39;t) match and run the script that synchronizes an export directory by symlinking (or resizing) the correct files into them.
Note the source directory stays unaltered so you can easily keep syncing with devices and/or people.
&lt;br/&gt;What used to be a pain in the butt for me is now a pretty pleasant experience.
&lt;br/&gt;Does this workflow make sense to you? Is this useful to you? Why (not) ?
</description>
      
    </item>
    
    <item>
      <title>Resigning as Arch Linux developer</title>
      <link>https://dieter.plaetinck.be/posts/resigning_arch_linux/</link>
      <pubDate>Sat, 21 Jul 2012 16:50:11 -0400</pubDate>
      
      
      <guid>resigning_arch_linux</guid>
      
      
      <description>&lt;p&gt;
A few days ago, I &lt;a href=&#34;http://mailman.archlinux.org/pipermail/arch-releng/2012-July/002628.html&#34;&gt;resigned as Arch Linux developer&lt;/a&gt;.
&lt;br/&gt;I&#39;m sad to go, but I felt like my work on Arch became a drag, so it was time I officialized my decreased interest.
The Releng team we started more than 3 years ago is now dead, but other developers are showing interest in iso building and installer scripts, so as long as they don&#39;t burn out, you&#39;ll see new isos again.
More information in my resignation mail linked above.
&lt;br/&gt;&lt;br/&gt;
Dieter
</description>
      
    </item>
    
    <item>
      <title>Lighttpd socket Arch Linux /var/run tmpfs tmpfiles.d</title>
      <link>https://dieter.plaetinck.be/posts/lighttpd-socket-arch-linux-var-run-tmpfs-tmpfiles.d/</link>
      <pubDate>Sun, 25 Mar 2012 23:05:05 -0400</pubDate>
      
      
      <guid>lighttpd-socket-arch-linux-var-run-tmpfs-tmpfiles.d</guid>
      
      
      <description>On Arch Linux, and probably &lt;a href=&#34;http://www.h-online.com/open/news/item/Linux-distributions-to-include-run-directory-1219006.html&#34;&gt;many other distros&lt;/a&gt; /run is a new tmpfs, and /var/run symlinks to it.
With Lighttpd you might have a fastcgi socket defined something like &#34;/var/run/lighttpd/sockets/mywebsite.sock&#34;.
This won&#39;t work anymore as after each reboot /var/run is an empty directory and lighttpd won&#39;t start, /var/log/lighttpd/error.log will tell you:
&lt;pre&gt;
2012-03-16 09:21:34: (log.c.166) server started 
2012-03-16 09:21:34: (mod_fastcgi.c.977) bind failed for: unix:/var/run/lighttpd/sockets/mywebsite.sock-0 No such file or directory 
2012-03-16 09:21:34: (mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed. 
2012-03-16 09:21:34: (server.c.945) Configuration of plugins failed. Going down.
&lt;/pre&gt;
That&#39;s where this new tool &lt;a href=&#34;https://www.google.be/#hl=nl&amp;q=tmpfiles.d&#34;&gt;tmpfiles.d&lt;/a&gt; comes in.
It creates files and directories as described in the configs, and gets invoked on boot.  Like so:
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ cat /etc/tmpfiles.d/lighttpd.conf 
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;d /run/lighttpd/sockets &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;0700&lt;/span&gt; http http&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
      
    </item>
    
    <item>
      <title>Where are the new Arch Linux release images?</title>
      <link>https://dieter.plaetinck.be/posts/where_are_the_new_arch_linux_images/</link>
      <pubDate>Tue, 17 May 2011 21:29:58 -0400</pubDate>
      
      
      <guid>where_are_the_new_arch_linux_images</guid>
      
      
      <description>
&lt;p&gt;This is a question I get asked a lot recently.  The latest &lt;a href=&#34;http://www.archlinux.org/download/&#34;&gt;official images&lt;/a&gt; are a year old.  This is not inherently bad, unless you pick the wrong mirror from the outdated mirrorlist during a netinstall, or are using hardware which is not supported by the year old kernel/drivers.  A core install will yield a system that needs drastic updating, which is a bit cumbersome.  There are probably some other problems I&#39;m not aware of.  Many of these problems can be worked around (with &#39;pacman -Sy mirrorlist&#39; on the install cd for example), but it&#39;s not exactly convenient.&lt;/p&gt;

&lt;p&gt;Over the past years (the spare time in between &lt;a href=&#34;https://dieter.plaetinck.be/my_metalband.html&#34;&gt;the band&lt;/a&gt;, my search for an apartment in &lt;a href=&#34;http://en.wikipedia.org/wiki/Ghent&#34;&gt;Ghent&lt;/a&gt; and a bunch of other things) I&#39;ve worked towards fully refactoring and overthrowing how releases are being done.  Most of that is visible in the &lt;a href=&#34;http://projects.archlinux.org/users/dieter/releng.git/&#34;&gt;releng build environment repository&lt;/a&gt;.
Every 3 days, the following happens automatically:
&lt;ul&gt;
&lt;li&gt;packages to build images (archiso) and some of which are included &lt;i&gt;on&lt;/i&gt; the images (aif and libui-sh) get rebuilt.  They are actually git versions, the latter two have a separate develop branch which is used. Normal packages get updated the normal way.&lt;/li&gt;
&lt;li&gt;the images are rebuilt, and the dual images get generated&lt;/li&gt;
&lt;li&gt;the images, the packages and their sources are synced to the public on &lt;a href=&#34;http://releng.archlinux.org/&#34;&gt;http://releng.archlinux.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
Actually things are &lt;a href=&#34;http://projects.archlinux.org/users/dieter/releng.git/tree/scripts/releng-build-and-release-testing.sh&#34;&gt;bit more involved&lt;/a&gt; but this is the gist of it.  All of this is now run on a &lt;a href=&#34;https://wiki.archlinux.org/index.php/Category:DeveloperWiki:Server_Configuration#Releng_server_.28alberich.29&#34;&gt;dedicated VPS&lt;/a&gt; donated by &lt;a href=&#34;http://www.airvm.com/&#34;&gt;airVM&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I never really completed the &lt;a href=&#34;https://dieter.plaetinck.be/aif_automatic_lvm_dm_crypt_installations_and_test_suite.html&#34;&gt;aif automatic test suite&lt;/a&gt;, somewhere along the way I decided to focus on crowdsourcing test results.
The weight of testing images (and all possible combinations of features) has always been huge, and trying to script tasks would either get way complicated or insufficient.
So the new approach is largely inspired by the core and testing repositories:  we automatically build testing images, people report feedback, and if there is sufficient feedback for a certain set of images (or a bunch of similar sets of images) that allows us to conclude we have some good material, we can promote the set to official media.
&lt;br/&gt;The latest piece of the puzzle is the new &lt;a href=&#34;http://www.archlinux.org/releng/feedback/&#34;&gt;releng feedback application&lt;/a&gt; which &lt;a href=&#34;http://zasshi-slash.blogspot.com/&#34;&gt;Tom Willemsen&lt;/a&gt; contributed. (again: outsourcing FTW).  It is still fairly basic, but should already be useful enough.  It lists pretty much all features you can use with archiso/AIF based images and automatically updates the list of isos based on what it sees appearing online, so I think it will be a good indicator on what works and what doesn&#39;t, and that for each known set of isos.&lt;/p&gt;
&lt;p&gt;So there. &lt;b&gt;Bleeding edge images for everyone&lt;/b&gt;, and for those who want some quality assurance: &lt;b&gt;the more you contribute, the more likely you&#39;ll see official releases&lt;/b&gt;.

&lt;p&gt;While contributing feedback is now certainly very easy, don&#39;t think that only providing feedback is sufficient, it takes time to maintain and improve aif and archiso as well and contributions in that department are still very welcome.
I don&#39;t think we&#39;ll get to the &lt;a href=&#34;http://www.archlinux.org/news/200902-iso-release/&#34;&gt;original plan&lt;/a&gt; of official archiso releases for each stable kernel version, that seems like a lot of work despite all the above.&lt;/p&gt;

&lt;p&gt;As for what is new: again too much to list, here is a &lt;a href=&#34;http://releng.archlinux.org/isos/Changelog&#34;&gt;changelog&lt;/a&gt; but I stopped updating it at some point.  I guess the most visible interesting stuff is friendlier package dialogs (with package descriptions), support for nilfs, btrfs and syslinux (thanks &lt;a href=&#34;http://pyther.net/&#34;&gt;Matthew Gyurgyik&lt;/a&gt;), and an issues reporting tool.
Under the hood we refactored quite a bit, mostly blockdevice related stuff, config generation and the &#34;execution plan&#34; (like, how each function calls each other and how failures are tracked) in AIF has been simplified considerably.&lt;/p&gt;

&lt;!-- I used to be pedantic about details like &#34;all packages installed in the live environment must be available in the official core/extra repositories but i might become a bit less strict.  or maybe not, it&#39;s not hard to switch to official packages. --&gt;
</description>
      
    </item>
    
    <item>
      <title>Can we build a simple, cross-distribution installation framework?</title>
      <link>https://dieter.plaetinck.be/posts/can_we_build_a_simple_cross-distribution_installation_framework/</link>
      <pubDate>Sun, 06 Feb 2011 23:46:18 -0400</pubDate>
      
      
      <guid>can_we_build_a_simple_cross-distribution_installation_framework</guid>
      
      
      <description>Today at &lt;a href=&#34;http://www.fosdem.org/2011/&#34;&gt;Fosdem 2011&lt;/a&gt; I did my talk &lt;a href=&#34;http://fosdem.org/2011/schedule/event/distro_crossinstall&#34;&gt;Can we build a simple, cross-distribution installation framework?&lt;/a&gt;
Basically, using the &lt;a href=&#34;http://www.archlinux.org/&#34;&gt;Arch&lt;/a&gt; Installation Framework as a starting point, along with the notion that most of the code is actually not Arch-specific I adressed other distros to check
if there was any interest in sharing workload on the distribution-agnostic aspects of the framework. If other distros with a similar philosophy of little-abstractions/KISS would join, we would all reap the benefits of a simple, yet quite featureful installer.
There was some interest, so we&#39;ll see what happens.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://dieter.plaetinck.be/files/lif.pdf&#34;&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.youtube.com/watch?v=83xBdlbGHdI&#34;&gt;video&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
      
    </item>
    
  </channel>
</rss>
