<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:planet="http://planet.intertwingly.net/" xmlns:indexing="urn:atom-extension:indexing" indexing:index="no"><access:restriction xmlns:access="http://www.bloglines.com/about/specs/fac-1.0" relationship="deny"/>
  <title>Gentoo Universe</title>
  <updated>2012-02-10T05:04:49Z</updated>
  <generator uri="http://intertwingly.net/code/venus/">Venus</generator>
  <author>
    <name>Welcome to &lt;b&gt;Gentoo Universe&lt;/b&gt;, an aggregation of weblog articles on all topics written by Gentoo developers. For a more refined aggregation of Gentoo-related topics only, you might be interested in &lt;a href="http://planet.gentoo.org/"&gt;Planet Gentoo&lt;/a&gt;.</name>
    <email>planet@gentoo.org</email>
  </author>
  <id>http://planet.gentoo.org/universe/atom.xml</id>
  <link href="http://planet.gentoo.org/universe/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://planet.gentoo.org/universe/" rel="alternate"/>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/scarabeus/?p=474</id>
    <link href="http://blogs.gentoo.org/scarabeus/2012/02/08/life-gentoo-and-all-the-funny-things/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Life, Gentoo, and all the funny things</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Sitrep I’ve been quiet lately due to the stream of changes around me. So shortly I am no longer only user of my desktop nor the major user of it. Thanks to that and issues that Gentoo showed while used … <a href="http://blogs.gentoo.org/scarabeus/2012/02/08/life-gentoo-and-all-the-funny-things/">Continue reading <span class="meta-nav">→</span></a></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><h2>Sitrep</h2>
<p>I’ve been quiet lately due to the stream of changes around me. So shortly I am no longer only user of my desktop nor the major user of it. Thanks to that and issues that Gentoo showed while used by others I simply was unable to afford doing 24/7 tech support for issues with it main disk was sweeped with <a href="http://dev.gentooexperimental.org/~scarabeus/scrots/scrot.png">windows 7</a> and gentoo was moved to old 250 GB hdd that was long due after its survival date. This disk sadly died, so my remaining Gentoo install is HTPC which has no power to actually build libreoffice in any timely manner (what can one expect from Zacate platform).</p>
<p>Given to that I retired from office team in Gentoo and expected others to enjoy the building the beast. Which should not be that hard as I still work on it as upstream, I just don’t have the Gentoo part. As you can see <a href="http://archives.gentoo.org/gentoo-dev/msg_81bc25ac27c41a767d84e354132e3ad6.xml">the mail</a> I was quite wrong as there is nobody actually willing to pick this thing up.</p>
<p>So I need new HDD and given to nowday prices for this components I really don’t want to buy it myself, so anyone wants to donate me some small ssd (30GB or larger as gentoo install + debug symbols take around 20 here [ggdb is huge])? On the other hand as council members <a href="https://bugs.gentoo.org/show_bug.cgi?id=394533#c9">behave really warmly</a> these days (I would not care if normal dev said something like this but Markos is one of 7 elected ones picked by everyone) I think I should just ignore Gentoo and go ahead look around for some nicer distro…</p>
<p>Now back to interesting stuff.</p>
<h2>libreoffice 3.5 release</h2>
<p>3.5 will contain the lot of shiny stuff. Current 3.5.0.3 has fixed nsplugin and various other tiny issues like lpsolver and so on.<br/>
It still contains lot of tiny bugs everyone can see here and there, but they are <a href="http://cgit.freedesktop.org/libreoffice/core/log/?h=libreoffice-3-5">getting fixed</a> as we go so 3.5.1 or 3.5.2 will be ready for corporate environments again.</p>
<h2>libreoffice trunk</h2>
<p>There is steady stream of patches going into master branch at git.fdo and one of most notable thing is that we no longer use set_soenv perl script and most of the things are converted to gbuild (less paralel make issues, more compilance to MAKEOPTS). Other than that everything is same shiny like in 3.5 so no big difference on usability yet.</p>
<h2>VLC translations</h2>
<p>In mid-january it was brought to my attention that I am still listed as the one responsible for czech translation at VLC despite translating few strings in 2009. So I started complete overhaul using the KDE translation memory to improve it and remove all the wrong translations (you would not believe how much wrongly translated strings i found so far [I am at 50% of reviewing the current state]). So hopefully I will get this mostly done for 2.0 release so even Czech people can enjoy nice and translated media player.</p>
<p>The current status:</p>
<pre>scarabeus@bugaboo: ~/l10n $ LC_ALL=C msgfmt --statistics vlc_new_cs.po
1766 translated messages, 4120 untranslated messages.
scarabeus@bugaboo: ~/l10n $ LC_ALL=C msgfmt --statistics vlc_cs.po
2140 translated messages, 1942 fuzzy translations, 1804 untranslated messages.</pre>
<h2>Gaming and other stuff</h2>
<p>Anyone wants to play Battlefiled 3 or Counterstrike (actually anything you seen on the screenshot above :P)?</p>
<h2>KDE release party in Prague</h2>
<p>There will be release party for the above stuff in Prague on 24.2. at SUSE Linux offices and I will be giving some talk about KDE and LO (at least Tampakrap convinced me I should) so if you want to meet me (and other more cool KDE hackers) you should show up.</p>
<h2>Update</h2>
<p>As few people contacted me already I think i would like to buy one of these (<a href="http://www.alza.cz/ocz-agility-3-series-120gb-d237876.htm">one</a>, <a href="http://www.alza.cz/ocz-vertex-3-series-120gb-d229502.htm">two</a>) or their smaller variants. If you want to realculate the price for Euros/USD divide by 25/17 respectively.</p>
<p>So if you want to donate feel free to sent money on paypal  or mail me if you would rather want IBAN.<br/>
I will post results as another blog at point when I have enough money or in 30 days whatever will be sooner.</p></div>
    </content>
    <updated>2012-02-08T12:38:03Z</updated>
    <category term="Gentoo Stuff"/>
    <author>
      <name>scarabeus</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/scarabeus</id>
      <link href="http://blogs.gentoo.org/scarabeus/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/scarabeus" rel="alternate" type="text/html"/>
      <subtitle>Random stuff you probably never wanted to hear about</subtitle>
      <title>Scarabeus' blag</title>
      <updated>2012-02-08T18:05:24Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5501</id>
    <link href="http://blog.flameeyes.eu/2012/02/07/fosdem" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">FOSDEM!</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p><em>Those knowing me from my blog for a long time will probably be .. amazed to know that I’m typing this while on an American Airlines flight over the <span class="caps">USA</span> … I left from Brussels with Luca directed to Los Angeles, but that’s a story for another day.</em></p>
<p>I’m happy I’ve been able to be at <a href="http://www.fosdem.org/"><span class="caps">FOSDEM</span></a> this year — and I hope I’ll be at the one next year sa well! I almost didn’t make it (or to be precise I almost decided to fly back to Venice <span class="caps">ASAP</span>) once my flight was diverted through Luxemburg, instead of landing to the Brussels National airport, due to weather conditions, but after a three hours bus ride, and a very welcome (although not really comforting) taxi ride with Luca and Josh, I was able to be at the beer event as well.</p>
<p><em>Funny tidbit: when I departed I took my hat with me, as I knew it was cold.. I got it just before the new year’s eve in “a new shop” that opened at the mall near me. Most of my friends and acquaintances found it funny and strange, so I was intending to use it as a way to be easily spotted … I did not consider that Celio (the “new shop”) is based in France, and seems to be well established in Belgium as well, even if it’s really just arrived in Italy… I have seen that most of the hats in Brussels, especially among the locals outside of <span class="caps">FOSDEM</span>, were not much different from it..</em></p>
<p>Honestly I haven’t been able to assist to many talks, although there was one I couldn’t miss, from the CentOS guys, about their efforts at applying continuous integration on the distribution; with my interest in the <a href="http://www.flameeyes.eu/tinderbox">tinderbox</a> it was natural for me to be interested in their method as well. While they didn’t solve the <span class="caps">API</span>/<span class="caps">ABI</span> compatibility checks in a more complete way than us, like I was hoping, they did give me an idea for the chance to implement a <code>pkg_test()</code> function, which would run post-installation tests, designed to be used only on tinderbox-like builds, and not user (nor developer) installs.</p>
<p>I was happy I finally met Fabio, Donnie, Sejo and the many other Gentoo developers (and ex-developers as well); I was also able to get back in touch with Jo (directhex) from the Mono team, and to greet famous developers like Charles from JRuby and Michael Meeks (now from LibreOffice), who was the one introducing me to the magnificient and scary work of <span class="caps">ELF</span> symbols’ collisions, and thus the main motivator (unbeknown to him!) for me to write <a href="http://www.flameeyes.eu/projects/ruby-elf">Ruby-Elf</a> together with the symbol collision script. And of course, I <em>finally</em> met the <span class="caps">VLC</span> developers, and I promised I’ll do my best to be in Paris at the next DevDays.</p>
<p>Unfortunately Hans couldn’t be there (and I hope to hear from him soon), so me and Petteri took over his talk — if you look up the video, please do not laugh too hard; I’m not used to speak in public and I think it was something like my third public talk in my whole life, and the first in English. Maybe I’ll prepare something more complete for next year, it might be interesting. In that case I hope Charles will be able to assist as it’ll certainly talk about JRuby!</p>
<p>For those who wondered why I wasn’t at the keysigning event; beside the weather, the printable list of keys has arrived on thursday when I was just tidying up a few customers’ tasks and I ended up not having the time to actually print it out.. this was made worse by changing my plan the very last day to get to LA instead of going straight back to Venice.</p>
<p>If you followed <a href="http://www.twitter.com/flameeyes">my twitter stream</a> during the event you know already I’m very opinionanted about one of the talks I assisted… but that’s yet another story for yet another day, I’d rather not waste time writing about it here.</p>
<p>Anyway, just wanted to say I’m very happy to have been there, very happy to have met developers and users – and I’m sorry I’m not naming everyone here, it would be a very long list! I hope to be around more often for sure.</p>
<p>P.S.: if anybody who’s reading this has seen a clumsy guy with a black man-purse falling down the stairs within the AW building on Saturday morning.. that was me. Ouch! I hurt myself, but luckily nothing extremely serious.</p></div>
    </content>
    <updated>2012-02-07T22:35:44Z</updated>
    <published>2012-02-07T22:35:44Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <category scheme="http://blog.flameeyes.eu/tag/fosdem" term="FOSDEM"/>
    <category scheme="http://blog.flameeyes.eu/tag/conferences" term="Conferences"/>
    <category scheme="http://blog.flameeyes.eu/tag/fun" term="Fun"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://lxnay.wordpress.com/?p=430</id>
    <link href="http://lxnay.wordpress.com/2012/02/07/hitchhiking-on-beagleboard-xm-and-pandaboard/" rel="alternate" type="text/html"/>
    <title>Hitchhiking on BeagleBoard xM and PandaBoard</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">During the FOSDEM weekend, I’ve been also able to write down some wiki notes about getting Sabayon (and Gentoo) working on the BeagleBoard xM and PandaBoard. You may be interested in reading the Hitchhikers guides for these two boards (but don’t get excited too much, our chroots are currently hardfp, this means no 3D until [...]<img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=lxnay.wordpress.com&amp;blog=14999083&amp;post=430&amp;subd=lxnay&amp;ref=&amp;feed=1" width="1"/></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>During the <strong>FOSDEM</strong> weekend, I’ve been also able to write down some wiki notes about getting <strong>Sabayon</strong> (and <strong>Gentoo</strong>) working on the <strong>BeagleBoard</strong> <strong>xM</strong> and <strong>PandaBoard</strong>. You may be interested in reading the Hitchhikers guides for these two boards (but don’t get excited too much, our chroots are currently hardfp, this means no 3D until Imagination/TI/whatever don’t release the hardfp version of their OpenGL libraries — or unless I make a softfp chroot). Considering that even Ubuntu is switching to hardfp, I really feel optimistic about it.</p>
<ul>
<li><a href="http://wiki.sabayon.org/index.php?title=Hitchhikers_Guide_to_the_BeagleBoard_xM">Hitchhikers Guide to the BeagleBoard xM</a></li>
<li><a href="http://wiki.sabayon.org/index.php?title=Hitchhikers_Guide_to_the_PandaBoard">Hitchhikers Guide to the PandaBoard</a></li>
</ul>
<p>Currently, you can find the <strong>BeagleBoard xM</strong> image on our ISO mirrors (under the “daily” directory), while the <strong>PandaBoard</strong> one will appear next Sunday. Both ship with the graphic stack, using omapfb (sigh), <strong>LXDE</strong> and <strong>Midori</strong> as Web Browser. <strong>NetworkManager</strong> is there as well. As you can imagine, there is still a lot of work to do (mainly making code compile, did I say <strong>Chromium</strong>?). Now I’m going to focus on the <strong>Efika MX</strong> a bit, it really looks to be orders of magnitude faster than the PandaBoard (woot!).</p>
<p>Enjoy arm and say thanks to <a href="http://www.tigal.com">Tigal</a> for having sent me the boards.</p>
<br/>  <a href="http://feeds.wordpress.com/1.0/gocomments/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/godelicious/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/gostumble/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/godigg/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lxnay.wordpress.com/430/"/></a> <a href="http://feeds.wordpress.com/1.0/goreddit/lxnay.wordpress.com/430/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lxnay.wordpress.com/430/"/></a> <img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=lxnay.wordpress.com&amp;blog=14999083&amp;post=430&amp;subd=lxnay&amp;ref=&amp;feed=1" width="1"/></div>
    </content>
    <updated>2012-02-07T10:34:22Z</updated>
    <category term="Gentoo"/>
    <category term="Sabayon"/>
    <author>
      <name>lxnay</name>
    </author>
    <source>
      <id>http://lxnay.wordpress.com</id>
      <logo>http://s2.wp.com/i/buttonw-com.png</logo>
      <link href="http://lxnay.wordpress.com/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://lxnay.wordpress.com" rel="alternate" type="text/html"/>
      <link href="http://lxnay.wordpress.com/osd.xml" rel="search" title="On The Other Hand" type="application/opensearchdescription+xml"/>
      <link href="http://lxnay.wordpress.com/?pushpress=hub" rel="hub" type="text/html"/>
      <subtitle>Becauze the otehr-hand mattres zZz</subtitle>
      <title>On The Other Hand</title>
      <updated>2012-02-07T16:07:52Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://michal.hrusecky.net/?p=1025</id>
    <link href="http://michal.hrusecky.net/2012/02/how-did-i-enjoyed-fosdem-2012/" rel="alternate" type="text/html"/>
    <title>How did I enjoyed FOSDEM 2012?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">As every year, FOSDEM was great! I spend some time at our stand talking to the people, telling them how great openSUSE is. I visited several interesting talks and met a lot of people, quite some of them I no longer remember (sorry), but I took some business cards and notes from some interesting talks. … <p/><p><a class="more-link block-button" href="http://michal.hrusecky.net/2012/02/how-did-i-enjoyed-fosdem-2012/">Continue reading »</a></p></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>As every year, FOSDEM was great! I spend some time at our stand talking to the people, telling them how great openSUSE is. I visited several interesting talks and met a lot of people, quite some of them I no longer remember (sorry), but I took some business cards and <a href="https://github.com/miska/Conference-Notes" target="_blank" title="My notes">notes</a> from some interesting talks. Some talks I haven’t got enough space to sit and type, some were too interesting to take a notes <img alt=":-D" class="wp-smiley" src="http://michal.hrusecky.net/wp-includes/images/smilies/icon_biggrin.gif"/><br/>
If I try to summarize most interesting stuff, there is a lot of going on toward standardized ARM platform, things are slowly settling down and drivers are slowly getting where we need them. And many people are interested in ARMs. Hurray! Oh, and btw. I had a talk there about <a href="http://michal.hrusecky.net/wp-content/uploads/chameleon.pdf">openSUSE on ARM</a> <img alt=";-)" class="wp-smiley" src="http://michal.hrusecky.net/wp-includes/images/smilies/icon_wink.gif"/><br/>
I also learned a little bit about TCP MultiPath. Sounded quite interesting. Providing classic socket API and using classic TCP streams to make sure everything works on already existing applications/infrastructure and creating new awesome features at the same time. Great lightning talk.<br/>
And there was also talk and some discussion how to get average people more interested and involved. Sounded like a good plan and let’s see what will happen in few months.<br/>
Overall, I had a great time on FOSDEM and missed most of it in previous paragraph. But as after every FOSDEM, I’m full of ideas and I feel really great to be part of the open source world!<br/>

		&amp;kind&amp;hl	
	</p><div class="aligncenter" id="slideshow_4f3105ff2dd61" style="height: 400px; width: 400px;">Loading...</div>
	<p/></div>
    </content>
    <updated>2012-02-07T10:22:39Z</updated>
    <category term="English"/>
    <category term="openSUSE"/>
    <category term="arm"/>
    <category term="community"/>
    <category term="conference"/>
    <category term="network"/>
    <category term="software"/>
    <author>
      <name>Michal Hrušecký</name>
    </author>
    <source>
      <id>http://michal.hrusecky.net</id>
      <link href="http://michal.hrusecky.net/category/english/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://michal.hrusecky.net" rel="alternate" type="text/html"/>
      <subtitle>...about me, Linux and OpenSource</subtitle>
      <title>Michal Hrušecký » English » Michal Hrušecký</title>
      <updated>2012-02-07T11:07:51Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://lxnay.wordpress.com/?p=424</id>
    <link href="http://lxnay.wordpress.com/2012/02/07/back-from-fosdem12/" rel="alternate" type="text/html"/>
    <title>Back from FOSDEM12</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">So, it’s beeen a quite exciting weekend at ULB in Bruxelles. I would really like to say thanks to all the people I’ve been talking with during these days. Hope you all had a good time there. It’s always nice to meet other devs IRL and share opinions on stuff. Besides this, many exciting things [...]<img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=lxnay.wordpress.com&amp;blog=14999083&amp;post=424&amp;subd=lxnay&amp;ref=&amp;feed=1" width="1"/></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>So, it’s beeen a quite exciting weekend at ULB in Bruxelles.</p>
<p>I would really like to say thanks to all the people I’ve been talking with during these days. Hope you all had a good time there. It’s always nice to meet other devs IRL and share opinions on stuff.</p>
<p>Besides this, many exciting things are around the corner during the next 10-15 days. I’m almost done writing about the BeagleBoard xM and PandaBoard on the Sabayon wiki (feel free to copycat the stuff to Gentoo wiki, no problems here). This means that I am eventually going to start messing with the <strong>Efika MX</strong> nettop, can’t wait can’t wait. People from <strong>Genesi USA</strong> are awesome, so is their hardware, no kidding.</p>
<p>And, last but not least, Sabayon <strong>8</strong>: I just need to find time to write the full release notes (tomorrow nite hopefully).</p>
<br/>  <a href="http://feeds.wordpress.com/1.0/gocomments/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/godelicious/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/gostumble/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/godigg/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lxnay.wordpress.com/424/"/></a> <a href="http://feeds.wordpress.com/1.0/goreddit/lxnay.wordpress.com/424/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lxnay.wordpress.com/424/"/></a> <img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=lxnay.wordpress.com&amp;blog=14999083&amp;post=424&amp;subd=lxnay&amp;ref=&amp;feed=1" width="1"/></div>
    </content>
    <updated>2012-02-07T00:25:21Z</updated>
    <category term="Gentoo"/>
    <category term="Sabayon"/>
    <author>
      <name>lxnay</name>
    </author>
    <source>
      <id>http://lxnay.wordpress.com</id>
      <logo>http://s2.wp.com/i/buttonw-com.png</logo>
      <link href="http://lxnay.wordpress.com/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://lxnay.wordpress.com" rel="alternate" type="text/html"/>
      <link href="http://lxnay.wordpress.com/osd.xml" rel="search" title="On The Other Hand" type="application/opensearchdescription+xml"/>
      <link href="http://lxnay.wordpress.com/?pushpress=hub" rel="hub" type="text/html"/>
      <subtitle>Becauze the otehr-hand mattres zZz</subtitle>
      <title>On The Other Hand</title>
      <updated>2012-02-07T16:07:52Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/tampakrap/?p=735</id>
    <link href="http://blogs.gentoo.org/tampakrap/kde-sc-4-8-release-party-in-prague-cz/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>KDE SC 4.8 Release Party in Prague, CZ</title>
    <summary>We’re happy to announce a KDE 4.8 Release Party in Prague,CZ! The party will take place on Friday, 24th of February, 17:00, at the SUSE Linux building (Map, KDE Community Wiki). There will be KDE and openSUSE swag available, KDE SC 4.8 live CDs, plus some short KDE related talks. We’re also gonna have some [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>We’re happy to announce a KDE 4.8 Release Party in Prague,CZ!</p>
<p>The party will take place on Friday, 24th of February, 17:00, at the SUSE Linux building (<a href="http://g.co/maps/fkfma">Map</a>, <a href="http://community.kde.org/Promo/Events/Release_Parties/4.8#Prague">KDE Community Wiki</a>). There will be KDE and openSUSE swag available, KDE SC 4.8 live CDs, plus some short KDE related talks. We’re also gonna have some drinks, a KDE Cake, and lots of fun!</p>
<p>PS In case you are a KDE contributor and would like to give a short talk about it, feel free to send a mail to <a href="mailto:tampakrap@gentoo.org#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">me</a> or Michal (for czech mails, michal [at] hrusecky [dot] net)</p>
<p>PS 2 Czech announcement and poster in <a href="http://michal.hrusecky.net/2012/02/kde-4-8-release-party-v-praze/" target="_blank">Michal’s blog post</a></p>
<p style="text-align: center;"><a href="http://blogs.gentoo.org/tampakrap/files/2012/02/KDE_SC_4_8_POSTER_SUSE.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img src="http://blogs.gentoo.org/tampakrap/files/2012/02/KDE_SC_4_8_POSTER_SUSE-213x300.png"/></a></p></div>
    </content>
    <updated>2012-02-06T07:10:15Z</updated>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="Planet Hellug"/>
    <category term="Planet KDE"/>
    <category term="Planet openSUSE"/>
    <category term="event"/>
    <category term="gentoo"/>
    <category term="kde"/>
    <category term="opensuse"/>
    <category term="prague"/>
    <category term="release party"/>
    <author>
      <name>tampakrap</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/tampakrap</id>
      <link href="http://blogs.gentoo.org/tampakrap/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/tampakrap" rel="alternate" type="text/html"/>
      <subtitle>cache rulez everything around me</subtitle>
      <title>Straight from tha bloK</title>
      <updated>2012-02-06T22:07:58Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/alexxy/2012/02/05/git-commit-signing-in-kde-overlay/</id>
    <link href="http://blogs.gentoo.org/alexxy/2012/02/05/git-commit-signing-in-kde-overlay/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Git commit signing in kde overlay</title>
    <summary>Recently with 1.7.9 release git gets support for git commit signing. This was one of the last show stoppers to migrate gentoo-x86 tree from cvs to git. In recent portage versions like 2.1.10.45 and 2.2.0_alpha85 support for git gpg signed commits was also added. So in kde overlay we decided to test with feature with thin manifests. New [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Recently with 1.7.9 release git gets support for<a href="http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/RelNotes/1.7.9.txt;h=95320aad5dd2414efeacbc088b34e45c4ac51bbf;hb=828ea97de486c1693d6e4f2c7347acb50235a85d"> git commit signing</a>. This was one of the last show stoppers to migrate gentoo-x86 tree from cvs to git. In recent portage versions like 2.1.10.45 and 2.2.0_alpha85 support for git gpg signed commits was also added. So in kde overlay we decided to test with feature with thin manifests.</p>
<p>New repoman can use git gpg signed commits if you do the following thing</p>
<ol>
<li>Enable special tag in metadata/layout.conf<br/>
<code>sign-commits = true</code></li>
<li>Install git &gt;=1.7.9</li>
<li>Configure your gpg sign key for git via<br/>
<code>git config --global user.signingkey $KEYID</code></li>
</ol>
<p>After first commit you can chek that gpg signature was added to special field in commit via<br/>
<code><br/>
git log --show-signature<br/>
</code><br/>
It will look like this<br/>
<code/></p>
<p>commit 9b3cafc7efb2c17b0f2baffae530196014967921<br/>
gpg: enabled debug flags: memstat<br/>
gpg: Signature made Sun Feb 5 21:06:06 2012 MSK using RSA key ID F82F92E6<br/>
gpg: Good signature from “Alexey Shvetsov ”<br/>
gpg: aka “Alexey ‘alexxy’ Shvetsov ”<br/>
gpg: aka “Alexey ‘alexxy’ Shvetsov ”<br/>
gpg: aka “Alexey Shvetsov ”<br/>
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0<br/>
outmix=0 getlvl1=0/0 getlvl2=0/0<br/>
secmem usage: 0/32768 bytes in 0 blocks<br/>
Author: Alexey Shvetsov<br/>
Date: Sun Feb 5 21:05:48 2012 +0400</p>
<p>[metadata] Enable git signed commits by default</p>
<p>Signed-off-by: Alexey Shvetsov</p></div>
    </content>
    <updated>2012-02-05T13:29:29Z</updated>
    <category term="gentoo"/>
    <category term="kde"/>
    <author>
      <name>Alexey Shvetsov</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/alexxy</id>
      <link href="http://blogs.gentoo.org/alexxy/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/alexxy" rel="alternate" type="text/html"/>
      <subtitle>Just another Gentoo Blogs site</subtitle>
      <title>Alexey Shvetsov</title>
      <updated>2012-02-05T18:04:02Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-701969077517001201.post-6176055940992783485</id>
    <link href="http://bheekly.blogspot.com/feeds/6176055940992783485/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/>
    <link href="http://www.blogger.com/comment.g?blogID=701969077517001201&amp;postID=6176055940992783485&amp;isPopup=true" rel="replies" title="0 Comments" type="text/html"/>
    <link href="http://www.blogger.com/feeds/701969077517001201/posts/default/6176055940992783485" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/701969077517001201/posts/default/6176055940992783485" rel="self" type="application/atom+xml"/>
    <link href="http://bheekly.blogspot.com/2012/02/unintended-gem-about-usability.html" rel="alternate" title="An unintended gem about usability" type="text/html"/>
    <title>An unintended gem about usability</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><br/><blockquote class="tr_bq">&lt;UU&gt; Somedays, I think why can't we have computers which just work.<br/>&lt;UU&gt; But then I remember that I am a Computer Scientist.<br/>&lt;UU&gt; So, yeah, I guess I understand why.<br/>&lt;Nirbheek&gt; :D</blockquote><br/><i>Quite related to GNOME, really.</i><div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/701969077517001201-6176055940992783485?l=bheekly.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-02-03T22:52:27Z</updated>
    <published>2012-02-03T22:35:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="usability"/>
    <category scheme="http://www.blogger.com/atom/ns#" term="gnome"/>
    <author>
      <name>nirbheek</name>
      <email>noreply@blogger.com</email>
      <uri>http://www.blogger.com/profile/05472526900877533156</uri>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-701969077517001201</id>
      <category term="rapidfire"/>
      <category term="gsoc"/>
      <category term="gnome3"/>
      <category term="Pearl Jam"/>
      <category term="navya"/>
      <category term="movies"/>
      <category term="gentoo"/>
      <category term="books"/>
      <category term="/."/>
      <category term="pkgcore"/>
      <category term="baaaah"/>
      <category term="packagekit"/>
      <category term="SSCVC"/>
      <category term="systemd"/>
      <category term="art"/>
      <category term="gratis"/>
      <category term="baselayout"/>
      <category term="dbus"/>
      <category term="climate"/>
      <category term="creationism"/>
      <category term="gnome"/>
      <category term="4chan"/>
      <category term="foresight"/>
      <category term="firefox"/>
      <category term="ntgwn"/>
      <category term="dailycrap"/>
      <category term="xkcd"/>
      <category term="plymouth"/>
      <category term="thoughts"/>
      <category term="portal"/>
      <category term="portage-talk"/>
      <category term="WTF"/>
      <category term="linuxchix"/>
      <category term="physics"/>
      <category term="midsems"/>
      <category term="beauty"/>
      <category term="code"/>
      <category term="usability"/>
      <category term="science"/>
      <category term="Beagle"/>
      <category term="openrc"/>
      <category term="portage"/>
      <category term="FOSSKriti"/>
      <category term="raghudixit"/>
      <category term="law"/>
      <category term="awesome"/>
      <category term="politics"/>
      <category term="libre"/>
      <category term="music"/>
      <category term="FreeBSD"/>
      <category term="funstuff"/>
      <category term="&quot;news&quot;"/>
      <category term="freed.in"/>
      <category term="MCIS"/>
      <category term="literature"/>
      <category term="OpenSolaris"/>
      <category term="blah"/>
      <category term="AutotuA"/>
      <category term="Linux"/>
      <category term="wit"/>
      <category term="foss.in"/>
      <category term="religion"/>
      <category term="webcomics"/>
      <category term="*BSD"/>
      <category term="anime"/>
      <category term="tehinterweb"/>
      <category term="gentoo btrfs filesystems"/>
      <category term="mozilla"/>
      <category term="Ubuntu"/>
      <category term="fail"/>
      <category term="freenode"/>
      <category term="freedesktop"/>
      <category term="Techkriti"/>
      <category term="tehsuck"/>
      <category term="IITK"/>
      <author>
        <name>nirbheek</name>
        <email>noreply@blogger.com</email>
        <uri>http://www.blogger.com/profile/05472526900877533156</uri>
      </author>
      <link href="http://bheekly.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/701969077517001201/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://bheekly.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <link href="http://www.blogger.com/feeds/701969077517001201/posts/default?start-index=26&amp;max-results=25" rel="next" type="application/atom+xml"/>
      <title>Bheekling's Rantings</title>
      <updated>2012-02-03T22:52:27Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.jolexa.net/?p=919</id>
    <link href="http://blog.jolexa.net/2012/02/03/gentoo-prefix-a-look-at-the-number-of-packages/" rel="alternate" type="text/html"/>
    <title>Gentoo Prefix: A look at the number of packages</title>
    <summary>Gentoo Prefix is still alive and going strong. In my opinion, Gentoo Prefix remains a strong point of Gentoo Linux and really establishes that Gentoo Linux is a metadistribution. In this post I want to focus on the numbers. The number of packages in the Gentoo Prefix tree, specifically. But first, a history lesson. It [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="http://www.gentoo.org/proj/en/gentoo-alt/prefix/">Gentoo Prefix</a> is still alive and going strong. In my opinion, Gentoo Prefix remains a strong point of Gentoo Linux and really establishes that Gentoo Linux <strong>is</strong> a <a href="http://goo.gl/px3KW">metadistribution</a>. In this post I want to focus on the numbers. The number of packages in the Gentoo Prefix tree, specifically. But first, a history lesson. It wasn’t until EAPI3 in Gentoo that “allowed” Gentoo Prefix variables into the main Gentoo Linux tree. That was in late 2011, but Gentoo Prefix existed much before then, all the way back to <a href="http://stats.prefix.freens.org/keywords-packages.png">2006</a> (at least). Before EAPI3, the prefix team made slight modifications to ebuilds and placed them in a <a href="http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay">repo</a> and called it the tree of packages for Gentoo Prefix. This worked fine, but we had growing pains. The major issue was that we were getting too successful to manage the increased contributions from users. In other words, as the number of “forked” packages grew, the amount of maintenance time increased greatly – this is due to the fact that it is a chore to keep our forks synced. At least, a large chore for a small team. This is why we looked for help and adoption from the other pool of 200 Gentoo Developers, hence EAPI3 and beyond. Since supporting Gentoo Prefix is not a big use of overall developer time, this has gone over quite well in my opinion – yes, there are some pain points at times I do realize. Enough history, here are the numbers:</p>
<ul>
<li>Number of packages in Gentoo Linux: <strong>15554</strong> packages in 154 categories.</li>
<li>Number of total* packages in Gentoo Prefix: 9483 packages in 154 categories.</li>
<li>Number of KEYWORDED packages in Gentoo Prefix: About <strong>3000</strong> for the most popular arch</li>
<li>Number of packages still NOT in the main Gentoo Linux tree: 369 packages</li>
</ul>
<p>* The total packages in the tree also contains non-keyworded packages because that just makes life simple. Once packages started migrating to the main tree, I helped think of this “<a href="http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/whitelist.txt">whitelist</a>” concept. The short version of the whitelist is that if a package is listed in that text file, it gets included in the Gentoo Prefix tree as a direct copy of the version in the Gentoo Linux tree. The presense of the package in the old repo means that it is used instead. <em>Eventually</em>, this concept will go away and we will overlay the Gentoo Linux tree directly.</p>
<p>So why is it taking so long to migrate ALL packages to the Gentoo Linux tree? Well, that is where the rubber meets the road and we get into roadblocks. A roadblock for us could be a number of things, such as a disagreement with the Gentoo Linux maintainer, some patches existing that we don’t feel are a good fit for Gentoo Linux, or even us being lazy and not submitting stuff to upstream. We also don’t want to push invasive changes to Gentoo Linux for critical packages, like the toolchain for example.</p>
<p>It has long since been our agenda to not add anymore packages to the old repo and going forward only adding new stuff to Gentoo Linux directly. I hope we can make a dent in those remaining 369 in 2012!</p></div>
    </content>
    <updated>2012-02-03T16:48:36Z</updated>
    <category term="gentoo prefix"/>
    <author>
      <name>Jeremy Olexa</name>
    </author>
    <source>
      <id>http://blog.jolexa.net</id>
      <link href="http://blog.jolexa.net/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blog.jolexa.net" rel="alternate" type="text/html"/>
      <subtitle>Random thoughts and rants...mostly Linux</subtitle>
      <title>Jeremy's Weblog</title>
      <updated>2012-02-03T17:04:02Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/titanofold/?p=148</id>
    <link href="http://blogs.gentoo.org/titanofold/2012/02/02/do-you-use-twiki/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Do You Use TWiki?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">If you do, maybe you want to consider proxy-maintaining it as it now on its way out. Upstream has a much newer version available, and we in the Proxy Maintainers team will be glad to steer you in the right … <a href="http://blogs.gentoo.org/titanofold/2012/02/02/do-you-use-twiki/">Continue reading <span class="meta-nav">→</span></a></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>If you do, maybe you want to consider proxy-maintaining it as it now on <a href="https://bugs.gentoo.org/show_bug.cgi?id=333265" title="Removal: www-apps/twiki">its way out</a>. Upstream has a much newer version available, and we in the <a href="http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml" title="Gentoo Proxy Maintaining Team">Proxy Maintainers</a> team will be glad to steer you in the right direction when you need the help.</p>
<p>Just send us an email.</p></div>
    </content>
    <updated>2012-02-02T22:52:13Z</updated>
    <category term="Gentoo"/>
    <category term="Proxy Maintaining"/>
    <category term="Universe"/>
    <author>
      <name>titanofold</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/titanofold</id>
      <link href="http://blogs.gentoo.org/titanofold/category/universe/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/titanofold" rel="alternate" type="text/html"/>
      <subtitle>Just another Gentoo Blogs site</subtitle>
      <title>titanofold » Universe</title>
      <updated>2012-02-02T23:05:10Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-7849507270164967036.post-3296623247928947521</id>
    <link href="http://dilfridge.blogspot.com/feeds/3296623247928947521/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/02/what-about-my-precious-xpdf.html#comment-form" rel="replies" title="3 Comments" type="text/html"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/3296623247928947521" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/3296623247928947521" rel="self" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/02/what-about-my-precious-xpdf.html" rel="alternate" title="What about my precious Xpdf ?!?!?" type="text/html"/>
    <title>What about my precious Xpdf ?!?!?</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">I keep getting e-mails asking me why app-text/xpdf is <a href="http://archives.gentoo.org/gentoo-dev-announce/msg_9c38727a7d692a637c57e74c1e5d0b0c.xml" target="_blank">masked for removal from the portage tree</a>. It's getting too much to reply individually, so let me sum up the situation here in a blog post.<br/><blockquote class="tr_bq"><span style="font-size: x-small;"># Andreas K. Hüttel &lt;dilfridge@gentoo.org&gt; (27 Jan 2012)<br/># Has developed into an unmaintainable mess, and everyone who<br/># knows about it is either retired or missing in action. <br/># Several minor bugs and one ugly security issues (#386271).<br/># Masked for removal because of lack of maintainer.<br/># Please try app-text/epdfview as light-weight replacement.<br/>app-text/xpdf</span></blockquote>Xpdf is a package with a long history, and in a way a strange remnant of bygone times. Since PDF rendering is a function that many different programs could use, some years ago the <a href="http://poppler.freedesktop.org/" target="_blank">Poppler library</a> was forked from the Xpdf codebase. By now, Poppler is a much more active project, and used by dozens of packages in the Gentoo portage tree, all the way from LibreOffice and PDFTeX to Calligra, GIMP, and e.g. Okular or Evince. Being the more active project is important in this case, because PDF files are frequently shared and distributed and PDF rendering is thus a security-relevant task.<br/>The <a href="http://www.foolabs.com/xpdf/" target="_blank">original Xpdf</a> remained independent of Poppler, not using the library - with the effect that every now and then security bugs kept popping up. Some time ago, some Gentoo developers started modifying and patching Xpdf to use the Poppler library. What resulted was the complicated construct that right now noone here is willing to maintain anymore. (Otherwise some Gentoo developer would have contacted me in the meantime.) Implementing a version bump to a more recent Xpdf version is a non-trivial task because all the Gentoo-specific patches have to be reviewed and if necessary rewritten.<br/>Thus, app-text/xpdf needs to go the way of the dinosaur. Two alternatives exist, but both do not seem realistic at the moment:<br/>1) We could go back to the original, unpatched Xpdf from upstream. I'm not going to do it, and I doubt anyone else of the Gentoo devs will.<br/>2) Rogério Brito has started maintaining a <a href="https://github.com/rbrito/xpdf-poppler" target="_blank">fork of Xpdf at Github</a>, which uses the Poppler library. However, there is no released version yet, and as he told me myself, he's rather busy in real life right now...<br/>In the meantime, please try one of the following packages:<br/><ul><li><a href="http://packages.gentoo.org/package/app-text/zathura" target="_blank">app-text/zathura</a> (based on poppler &amp; gtk+)</li><li><a href="http://packages.gentoo.org/package/app-text/apvlv" target="_blank">app-text/apvlv</a> (based on poppler &amp; gtk+)</li><li><a href="http://packages.gentoo.org/package/app-text/epdfview" target="_blank">app-text/epdfview</a> (based on poppler &amp; gtk+, ~unmaintained)</li><li><a href="http://packages.gentoo.org/package/app-text/mupdf" target="_blank">app-text/mupdf</a></li><li><a href="http://packages.gentoo.org/package/app-text/gv" target="_blank">app-text/gv</a> (based on ghostscript) </li><li><a href="http://packages.gentoo.org/package/app-text/evince" target="_blank">app-text/evince</a> (based on poppler, Gnome application)</li><li><a href="http://packages.gentoo.org/package/kde-base/okular" target="_blank">kde-base/okular</a> (based on poppler, KDE application)</li><li><a href="http://packages.gentoo.org/package/app-text/acroread" target="_blank">app-text/acroread</a> (yes I know...)</li></ul>Ironically, the first mail reply to the last-riting of xpdf was from one of our security team members, promising me a beer the next time we meet in person. Only afterwards the complaints started.<div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/7849507270164967036-3296623247928947521?l=dilfridge.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-02-02T22:33:09Z</updated>
    <published>2012-02-02T22:18:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/>
    <author>
      <name>Andreas</name>
      <email>noreply@blogger.com</email>
      <uri>http://www.blogger.com/profile/12314847423280010909</uri>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-7849507270164967036</id>
      <category term="arm"/>
      <category term="graphene"/>
      <category term="astronomy"/>
      <category term="gpib"/>
      <category term="sysadmin"/>
      <category term="books"/>
      <category term="gentoo"/>
      <category term="ostpforte"/>
      <category term="maths"/>
      <category term="scifi"/>
      <category term="humour"/>
      <category term="france"/>
      <category term="art"/>
      <category term="cups"/>
      <category term="digikam"/>
      <category term="photos"/>
      <category term="spain"/>
      <category term="romanesque"/>
      <category term="nobelprize"/>
      <category term="stupidity"/>
      <category term="kde"/>
      <category term="err-what?"/>
      <category term="meta"/>
      <category term="archaeology"/>
      <category term="phdcomics"/>
      <category term="italy"/>
      <category term="food"/>
      <category term="comp-sci"/>
      <category term="regensburg"/>
      <category term="physics"/>
      <category term="nanotubes"/>
      <category term="architecture"/>
      <category term="work"/>
      <category term="travelling"/>
      <category term="research-group"/>
      <author>
        <name>Andreas</name>
        <email>noreply@blogger.com</email>
        <uri>http://www.blogger.com/profile/12314847423280010909</uri>
      </author>
      <link href="http://dilfridge.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://dilfridge.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default?start-index=26&amp;max-results=25" rel="next" type="application/atom+xml"/>
      <title>the dilfridge blog</title>
      <updated>2012-02-06T00:52:09Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://www.kroah.com/log/diary/2012_01_31.html</id>
    <link href="http://www.kroah.com/log/diary/2012_01_31.html" rel="alternate" type="text/html"/>
    <title>Time to update your email address book</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><tt>
<a href="https://lkml.org/lkml/2012/1/31/505">sed -i 's/gregkh@suse.de/gregkh@linuxfoundation.org/g' .addressbook</a>
</tt></p></div>
    </summary>
    <updated>2012-02-01T05:08:00Z</updated>
    <source>
      <id>http://www.kroah.com/log</id>
      <author>
        <name>Greg KH</name>
      </author>
      <link href="http://www.kroah.com/log" rel="alternate" type="text/html"/>
      <link href="http://www.kroah.com/log/index.rss" rel="self" type="application/rss+xml"/>
      <subtitle>Greg K-H's stuff.</subtitle>
      <title>linux kernel monkey log</title>
      <updated>2012-02-01T06:04:30Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5500</id>
    <link href="http://blog.flameeyes.eu/2012/02/01/the-importance-of-http-request-fingerprinting" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">The importance of HTTP request fingerprinting</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>I started looking at <a href="https://www.modsecurity.org/">ModSecurity</a> when I wanted to implement a <a href="http://blog.flameeyes.eu/2008/11/25/blocking-old-user-agents">Uesr-Agent based antispam method</a> which has proven time and time again <a href="http://blog.flameeyes.eu/2009/02/16/my-idea-works-filtering-by-user-agent-that-is">working quite well</a> to the point I started <a href="http://www.flameeyes.eu/projects/modsec">publishing the ruleset</a> which takes care not only of working as an antispam method, as well as a way to avoid tons of bad crawlers from finding my email addresses and so on.</p>
<p>When I first proposed this kind of filtering I received quite a few complains, that the <span class="caps">HTTP</span> protocol didn’t define the User-Agent in such a way, but thanks first to EFF’s <a href="https://panopticlick.eff.org/">Panopticlick</a> – demonstrating clearly that the “anonymised” requests are not as anonymous as their perpetrators would expect them to be – and most recently <a href="http://blog.spiderlabs.com/2012/01/hoic-ddos-analysis-and-detection.html">SpiderLabs’s work</a> I am now fully certain that I took the right road.</p>
<p>I’ve spent a bit more work on the rules this week, to make them further resilient to fake the requests such as those coming from scriptkiddies’ tools such as the <span class="caps">HOIC</span> tool described in the SpiderLabs’s blog post linked above. One of the most interesting detection I came up with is for real Chrome requests: while it seems to me like Google itself does not leverage it, Chrome as of version 18 is still implementing their own proposed <a href="http://www.blogs.zeenor.com/wp-content/uploads/2011/01/Shared_Dictionary_Compression_over_HTTP.pdf">Shared Dictionary Compression for <span class="caps">HTTP</span></a> even though I don’t think it’ll ever be used in the real world. Being the only browser actually requesting such an encoding, I can easily assume a connection between the two — this was only disattended by Epiphany, which in its most recent versions declares to be Chrome… which means you then have a browser claiming to be another (Chrome), which in turn claims to be a third (Safari), which uses an engine (<span class="caps">KHTML</span>) claiming to be the same as another (Gecko), all the while declaring it’s all compatible with Mozilla/5.0.</p>
<p>One issue I found while doing this work had to do with Android. For both versions 2 and 3 (is somebody really hoping to use Android 1?), the (default, <span class="caps">AOSP</span>) browser sends a full-fledged <span class="caps">HTTP</span> request, which among other things include an <code>Accept</code> header. This is what every browser I ever tried does, to the point that ModSecurity’s own Core Rule Set assigns negative points to requests coming without one; in my ruleset it’s further tightened by checking whether the request is purportedly from a known browser, and if so rejecting it if it doesn’t include that header; this worked up to now — note that requests coming through a Proxy, making that explicit through a <code>Via</code> header, are not validated against these checks simply because many proxies are known to muck with the headers.</p>
<p>Anyway as I was saying this is disattended badly by Android 4 (up to 4.0.3, and CyanogenMod as well); it might have started as a way to minimise the bandwidth usage, but for whatever reason in this version, the <span class="caps">AOSP</span> browser does not send an <code>Accept</code> reader at all — actually it seems like it dropped most of the headers that it was sending before and that are not strictly necessary for the server to process the request. I could have sworn that <code>Accept</code> <em>was</em> mandatory for the <span class="caps">HTTP</span> protocol, but it seems that either I was totally mistaken, or it was only noted in some recommendation that never made it to the standard. The ruleset now exonerates Android 4 from that particular test, but I’m not really too happy about it.</p>
<p>But that’s definitely not the only thing that is out of place with Android. Indeed, if you take an <span class="caps">HTC</span> Android device, the browser you open is not the <span class="caps">AOSP</span> one, but it’s HTC’s own implementation. This version … does not fully declare itself as an Android device, using a browser compatible with Mobile Safari. Instead, what it reports itself as is a complete Safari, and not in the way that Chrome does it, but by pretending it’s Mac OS X 10.6.3 running on an Intel Mac. Honestly, that’s <em>way</em> crazy to do.</p>
<p>There are a few more things that I hope to be able to handle in my ruleset to make it even tighter, without adding substantial false positives. This means not only fewer spam comments, but also fewer crawlers finding our email addresses, and fewer risks associated with Denial of Service attacks, distributed or not.</p>
<p>If you would like to help with the ruleset, you can <a href="https://flattr.com/thing/128608/Flameeyess-Ruleset-for-ModSecurity">find it on Flattr</a> where it’s depressingly stopping at only two clicks. If you would like to <em>use</em> the ruleset, you can <a href="http://github.com/Flameeyes/modsec-flameeyes">find it on GitHub</a> and you can use it for free, obviously.</p></div>
    </content>
    <updated>2012-01-31T23:57:26Z</updated>
    <published>2012-01-31T23:57:26Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/modsecurity" term="mod_security for Apache"/>
    <category scheme="http://blog.flameeyes.eu/tag/browsers" term="Browsers"/>
    <category scheme="http://blog.flameeyes.eu/tag/useragent" term="UserAgent"/>
    <category scheme="http://blog.flameeyes.eu/tag/android" term="Android"/>
    <category scheme="http://blog.flameeyes.eu/tag/chrome" term="Chrome"/>
    <category scheme="http://blog.flameeyes.eu/tag/sdch" term="SDCH"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/tampakrap/?p=726</id>
    <link href="http://blogs.gentoo.org/tampakrap/qting-edge-overlay-moved-to-qt/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>qting-edge overlay moved to qt</title>
    <summary>As discussed in the last Gentoo Qt meeting, we moved our overlay from gitorious to git.overlays.gentoo.org. This is going to be the final move, I promise Along with that, we decided to change the overlay from qting-edge to just qt. Layman list is alreay updated, so if you still have the old one, you should [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>As discussed in the last Gentoo Qt meeting, we moved our overlay from gitorious to git.overlays.gentoo.org. This is going to be the final move, I promise <img alt=":)" class="wp-smiley" src="http://blogs.gentoo.org/tampakrap/wp-includes/images/smilies/icon_smile.gif"/> </p>
<p>Along with that, we decided to change the overlay from qting-edge to just qt. Layman list is alreay updated, so if you still have the old one, you should remove it and add the new one:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: monospace;"><span style="color: #666666; font-style: italic;"># layman -f</span>
<span style="color: #666666; font-style: italic;"># layman -d qting-edge</span>
<span style="color: #666666; font-style: italic;"># layman -a qt</span></pre></div></div>

<p>Keep in mind that this overlay contains mostly live ebuilds of Qt (branches 4.7 and master), so make sure that you really need it before blindly adding it (the same applies for the kde overlay). Enjoy!</p></div>
    </content>
    <updated>2012-01-31T22:24:16Z</updated>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="Planet Hellug"/>
    <category term="Planet KDE"/>
    <category term="gentoo"/>
    <category term="qt"/>
    <author>
      <name>tampakrap</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/tampakrap</id>
      <link href="http://blogs.gentoo.org/tampakrap/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/tampakrap" rel="alternate" type="text/html"/>
      <subtitle>cache rulez everything around me</subtitle>
      <title>Straight from tha bloK</title>
      <updated>2012-02-06T22:07:58Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/tampakrap/?p=724</id>
    <link href="http://blogs.gentoo.org/tampakrap/gentoo-qt-team-january-2012-meeting/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Gentoo Qt Team January 2012 meeting</title>
    <summary>1. Roll call johu, hwoarang, pesa, tampakrap, wired 2. Qt 4.8 * cairo fails to build, patched ebuild available in qting-edge, #380013 Cairo build issue is fixed in qting-edge overlay, will be moved together with Qt 4.8.0 to tree. * qt now defaults to the raster graphicssystem, we should remove raster USE flag, #398283 Wired [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><b>1. Roll call</b></p>
<p>johu, hwoarang, pesa, tampakrap, wired</p>
<p><b>2. Qt 4.8</b></p>
<p><i>* cairo fails to build, patched ebuild available in qting-edge, #<a href="https://bugs.gentoo.org/show_bug.cgi?id=380013">380013</a></i></p>
<p>Cairo build issue is fixed in qting-edge overlay, will be moved together with Qt 4.8.0 to tree.</p>
<p><i>* qt now defaults to the raster graphicssystem, we should remove raster USE flag, #<a href="https://bugs.gentoo.org/show_bug.cgi?id=398283">398283</a></i></p>
<p>Wired created a eselect module to choose the Qt graphicsystem. Raster is default, other selectable are opengl, openvg and native. Raster use flag is not needed anymore, qt-gui depends on the new eselect module.</p>
<p><i>* do we really want to keep qpa USE flag?</i></p>
<p>qpa and c++0x will be masked in tree.</p>
<p><i>* are we going to fix #<a href="https://bugs.gentoo.org/show_bug.cgi?id=363939">363939</a> for 4.8?</i></p>
<p>Wired fixed this bug in qt 4.8.0. Qt 4.8 will be moved to tree on next weekend. Dilfridge prepares kde-base/kstyles-4.7.4 to be rebuild together with Qt 4.8.0 to prevent crashes in KDE apps with Oxygen style.</p>
<p><b>3. Minor arches and Qt &gt;= 4.7</b></p>
<p>Upstream supports official amd64, arm and x86, but other arches also considered in configure script. Keep stable keywords for minor arches in Qt 4.6. Wait for minor arches arm, ppc, ppc64 in current stabilization in Qt 4.7.4. Drop sparc keywords in Qt 4.8.0.</p>
<p><b>4. Overlay migration to git.overlays.gentoo.org</b></p>
<p>Tampakrap will set up overlay on git.overlays.gentoo.org on next weekend. The new overlay will be renamed to qt instead of qting-edge.</p>
<p><b>5. Open bugs</b></p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=398885">398885</a> qdoc3 broken on arm</i></p>
<p>We will ask the reporter if it works when he builds manually by providing him a configure command to make sure he tries the proper build.</p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=394533">394533</a> Libreoffice crashes in qt on exit</i></p>
<p>Can’t be reproduced with Libreoffice 3.5.0.1, seems to be resolved by upstream.</p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=392433">392433</a> desktop file name issues</i></p>
<p>Will be fixed in Qt 4.8.0, so that qt-gui and qt-assistant no longer pass absolute paths to make_desktop_entry().</p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=388551">388551</a> qt-gui[gtkstyle] should depend on gnome-base/libgnomeui-2</i></p>
<p>We will add a elog message in qt-gui[gtkstyle] saying that for things to work you either need libgnomeui or that variable set properly in your env.</p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=382559">382559</a> qt_mkspecs_dir() returns bad spec directory</i></p>
<p>The bug will be marked as RESOLVED WORKSFORME, because we can’t reproduce it. Additionally we change the eclass not to use LIBDIR in favor of get_libdir() after Qt 4.8 hits the portage tree.</p>
<p><i>* #<a href="https://bugs.gentoo.org/show_bug.cgi?id=359391">359391</a> qt4-build.eclass should check for —buildpkgonly before downgrade sanity check</i></p>
<p>Resolution will be RESOLVED WONTFIX. Sanity check is there for a reason. It’s not a matter of source or binary downgrade.</p></div>
    </content>
    <updated>2012-01-31T19:18:53Z</updated>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="Planet Hellug"/>
    <category term="Planet KDE"/>
    <category term="gentoo"/>
    <category term="meeting"/>
    <category term="qt"/>
    <author>
      <name>tampakrap</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/tampakrap</id>
      <link href="http://blogs.gentoo.org/tampakrap/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/tampakrap" rel="alternate" type="text/html"/>
      <subtitle>cache rulez everything around me</subtitle>
      <title>Straight from tha bloK</title>
      <updated>2012-02-06T22:07:58Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://hwoarang.silverarrow.org/?p=1048</id>
    <link href="http://hwoarang.silverarrow.org/2012/01/29/heads-up-how-to-set-your-default-graphics-engine-in-qt-4-8-0/" rel="alternate" type="text/html"/>
    <title>Heads up: How to set your default graphics engine in Qt-4.8.0</title>
    <summary>Since one hour ago, Qt-4.8.0 is in Gentoo portage tree. New major release so lots of new (or broken) stuff. The most important feature in this release is the integration of a new eselect module. This module will allow you to set your default graphics engine without the need to recompile Qt (x11-libs/qt-gui to be [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Since one hour ago, Qt-4.8.0 is in Gentoo portage tree. New major release so lots of new (or broken) stuff. The most important feature in this release is the integration of a new eselect module. This module will allow you to set your default graphics engine without the need to recompile Qt (x11-libs/qt-gui to be precise) from scratch. So, provided you have qt-gui-4.8.0 installed, you should be able to use the eselect module as follows:</p>
<pre>hwoarang@mystical ~$ eselect qtgraphicssystem list</pre>
<pre>Available Qt Graphics Systems:
 [1] native
 [2] opengl
 [3] raster *</pre>
<p>(note: if you have x11-libs/qt-openvg installed, one more option should be available)</p>
<p>Simply select your graphics system of preference, and then logout and login again.</p>
<pre>hwoarang@mystical ~$ eselect qtgraphicssystem set 2
Setting opengl as your active Qt Graphics System... done
Please logout for changes to take effect.</pre>
<p>Thanks to <a href="http://www.linuxized.com/">Alex(wired)</a> for the eselect module implementation.<br/>
Enjoy ;-)</p>
<p> </p>
<p> </p></div>
    </content>
    <updated>2012-01-29T19:46:40Z</updated>
    <category term="Gentoo"/>
    <category term="qt"/>
    <author>
      <name>Markos</name>
    </author>
    <source>
      <id>http://hwoarang.silverarrow.org</id>
      <link href="http://hwoarang.silverarrow.org/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://hwoarang.silverarrow.org" rel="alternate" type="text/html"/>
      <subtitle>Open Source - Open Knowledge</subtitle>
      <title>Yet another open source blog ;-)</title>
      <updated>2012-01-29T20:04:30Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.siphos.be/?p=549</id>
    <link href="http://blog.siphos.be/2012/01/this-months-stabilization-done-more-to-come/" rel="alternate" type="text/html"/>
    <title>This months’ stabilization done, more to come</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">A small notification to tell you that the SELinux policies that were pushed to the main tree 30 days (or more) ago have now been stabilized (none of them introduced problems, although some of them have other bugs still open … <a href="http://blog.siphos.be/2012/01/this-months-stabilization-done-more-to-come/">Continue reading <span class="meta-nav">→</span></a></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>
A small notification to tell you that the SELinux policies that were pushed to the main tree 30 days (or more) ago have now been stabilized (none of them introduced problems, although some of them have other bugs still open which are either fixed in ~arch or will be fixed in the hardened-dev overlay soon). I’ll be working on pushing an additional set of changes to hardened-dev overlay today as it includes fixes for openrc that are quite important, and might even push this to the tree faster than usual.
</p>
<p>
The reference policy is also working on a new release, so the moment it is released we will be picking that up as well (give or take a month, since my availability will be a bit less the next month).</p></div>
    </content>
    <updated>2012-01-29T11:33:40Z</updated>
    <category term="Hardened"/>
    <author>
      <name>swift</name>
    </author>
    <source>
      <id>http://blog.siphos.be</id>
      <link href="http://blog.siphos.be/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blog.siphos.be" rel="alternate" type="text/html"/>
      <subtitle>Sven Vermeulen's web log</subtitle>
      <title>Simplicity is a form of art...</title>
      <updated>2012-01-29T12:04:36Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://linuxcrazy.com/112 at http://linuxcrazy.com</id>
    <link href="http://linuxcrazy.com/?q=node/112" rel="alternate" type="text/html"/>
    <link href="http://linuxcrazy.com/podcasts/LC-95.ogg" rel="enclosure"/>
    <title>Podcast 95 Gentoo LiveDVD 12.0</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><b>In this podcast, create a best off cd with soundconverter and gnomebaker. The new Gentoo LiveDVD with persistance. The Northeast Linux Fest  Saturday March 17, 2012, Worcester MA. Samsung ML3312 and Linux plus an Interview with Milan Kazarka.</b></p>
<p><b>Links</b></p>
<p><i>Northeast Linux Fest | Saturday March 17, 2012.</i><br/>
<a href="http://www.northeastlinuxfest.org/" title="http://www.northeastlinuxfest.org/">http://www.northeastlinuxfest.org/</a><br/>
<br/>
<i>Gnome Shell Extensions</i><br/>
<a href="https://extensions.gnome.org/" title="https://extensions.gnome.org/">https://extensions.gnome.org/</a><br/>
<br/>
<i>Gentoo 12.0 LiveDVD</i><br/>
<a href="http://www.gentoo.org/news/20120102-livedvd.xml" title="http://www.gentoo.org/news/20120102-livedvd.xml">http://www.gentoo.org/news/20120102-livedvd.xml</a><br/>
<br/>
<i>Samsung ML-3312ND</i><br/>
<a href="http://www.samsung.com/us/support/downloads/ML-3312ND/XAA" title="http://www.samsung.com/us/support/downloads/ML-3312ND/XAA">http://www.samsung.com/us/support/downloads/ML-3312ND/XAA</a><br/>
<a href="http://gpo.zugaina.org/net-print/samsung-unified-linux-driver" title="http://gpo.zugaina.org/net-print/samsung-unified-linux-driver">http://gpo.zugaina.org/net-print/samsung-unified-linux-driver</a><br/>
<br/>
<i>Interview with Milan Kazarka</i><br/>
<a href="http://www.gentoo.org/news/20120119-milan-interview-announcement.xml" title="http://www.gentoo.org/news/20120119-milan-interview-announcement.xml">http://www.gentoo.org/news/20120119-milan-interview-announcement.xml</a><br/>
<br/>
<b>Download</b></p>
<p><a href="http://linuxcrazy.com/podcasts/LC-95.ogg"> <img alt="ogg" height="58" src="http://linuxcrazy.com/ogg.png" width="60"/> </a></p></div>
    </summary>
    <updated>2012-01-28T22:46:25Z</updated>
    <category scheme="http://linuxcrazy.com/?q=taxonomy/term/3" term="Podcast"/>
    <author>
      <name>comprookie2000</name>
    </author>
    <source>
      <id>http://linuxcrazy.com</id>
      <link href="http://linuxcrazy.com" rel="alternate" type="text/html"/>
      <link href="http://linuxcrazy.com/?q=rss.xml" rel="self" type="application/rss+xml"/>
      <title>LinuxCrazy - Crazy about Linux ...</title>
      <updated>2012-01-29T02:04:04Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5499</id>
    <link href="http://blog.flameeyes.eu/2012/01/27/okay-so-dell-wasn-t-that-much-a-mistake" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">Okay, so Dell wasn't that much a mistake...</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>You might remember that a couple of years ago I <a href="http://blog.flameeyes.eu/2010/06/09/dell-was-a-definite-mistake-and-an-expensive-one">ranted about my choice of a Dell laptop</a> — I have not found the time until now to write a full retraction of that post, but you might have guessed that I’m not <em>that</em> bothered by the laptop anymore.</p>
<p>Indeed, after a few rough months, the laptop is working quite nicely nowadays; not only the issues with <span class="caps">PME</span> I reported were solved a version of the kernel in or two, but also nowadays gentoo-sources have a (patched) experimental driver for the touchpad that <em>lets me disable it exactly like I wish to</em>. After a firmware upgrade (which is unfortunately only available for Windows, but it’s a small price to pay), both the contactful and the contactless smartcard reader interfaces work fine, the SD card reader works nicely with modern kernel, and so does the soundcard (both speakers and microphones). Even the <span class="caps">HSDPA</span> modem (that I bought last year, separately, and was quite easy to set up!) works fine on Linux, even though I haven’t found a way to set up the <span class="caps">GPS</span>, or to read/send <span class="caps">SMS</span>, not that I care about the latter.</p>
<p>Indeed I haven’t run Windows in there for quite a bit, especially since last time I tried to repartition it I couldn’t get grub2 and Windows 7 to play well together, so I just let it “rotting” for the moment, and I’m now honestly considering whether I want to keep Windows 7 in there – it has a few uses for me at customers’, other than updating <span class="caps">BIOS</span> and various devices’ firmware – or just install an <span class="caps">SSD</span> and be done with it. Third option would be to find an <span class="caps">HDD</span>-in-Optical-Bay adapter and get an <span class="caps">SSD</span> for Linux and a (pluggable) <span class="caps">HDD</span> for Windows 7.</p>
<p>Anyway, after all this I’m pretty happy with Dell, to the point that I both started suggesting it for my customers, and got a few more things from them (namely a Vostro 3750 laptop to use for Windows development, and an U2711 monitor). Why did I change my mind so completely? Mostly because I have seen how other vendors seem to make it more and more inconvenient to use them for anything but looking at facebook.</p>
<p>Take HP: I had to downgrade a laptop for a customer last week, from Vista to XP. It was not the first time I did that, and not the first time I had to do so to an HP laptop.. but this time it got even worse than usual. Let’s ignore the fact that HP pretends that a ton of their “softpaq” packages only work on Vista (while they contain the XP drivers as well); at the end of the day, the <span class="caps">BIOS</span> is enforcing some stupid policy on the <span class="caps">HDA</span>-based soundcard… I was able to get it running by using the <code>devcon.exe</code> command from Microsoft and making it reset the <span class="caps">PCI</span> ID of the soundcard at each Windows startup, which makes it work nicely.</p>
<p>Or take Gigabyte, which usually has a decent support for Linux: yesterday I built a computer for a friend of mine, with a Gigabyte GA-970A-UD3 motherboard; he’s running Windows 7 there, but as usual I wanted to write down the list of components and settings with <code>lshw</code>, so I plugged in my usual SysRescueCD thumbdrive and … it didn’t boot. The same goes for the CD-Rom version; FreeDOS and Windows 7 boot cleanly, so my first guess is that there is something wrong, or at least different, in the way Syslinux boots. Contrarily to the kind of replies I received on twitter, I don’t think that Gigabyte is “not supporting Linux” given that they do list Linux support on their website for this board, more likely there is something funky with SysLinux.</p>
<p>But today’s hall of shame entry is quite enraging: Packard Bell (which has been bought by Acer a few years back) has a netbook line that is called “dot”; an acquaintance of mine received a “dot S” device that is actually a DOT_SE3/W-100IT, which comes with 1GB of <span class="caps">RAM</span>, and he asked me if I could get more <span class="caps">RAM</span> on it. Sure usually I can — in this case the maximum available is 2GB. He brought the device to me and I tried to find how to open it…</p>
<p>There are no instructions, it’s hard to find anything; <a href="http://duckduckgo.com/">DuckDuckGo</a> does not find anything useful, while Google’s “did you mean?” feature made it impossible to find something related to SE3, with many more sources for SE2 and simple S instructions. It goes without saying that neither is anywhere near similar to this one. At the end of the day it seems like the only way you have to access the backside panel under which the memory is, is to disassemble almost the whole motherboard. Not going to.</p></div>
    </content>
    <updated>2012-01-27T15:59:47Z</updated>
    <published>2012-01-27T15:59:47Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category scheme="http://blog.flameeyes.eu/tag/dell" term="Dell"/>
    <category scheme="http://blog.flameeyes.eu/tag/packardbell" term="PackardBell"/>
    <category scheme="http://blog.flameeyes.eu/tag/hp" term="HP"/>
    <category scheme="http://blog.flameeyes.eu/tag/gigabyte" term="Gigabyte"/>
    <category scheme="http://blog.flameeyes.eu/tag/computers" term="Computers"/>
    <category scheme="http://blog.flameeyes.eu/tag/netbook" term="Netbook"/>
    <category scheme="http://blog.flameeyes.eu/tag/upgrades" term="upgrades"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5498</id>
    <link href="http://blog.flameeyes.eu/2012/01/27/how-not-to-sell-me-something-why-i-won-t-be-maintaining-yubikey-software-directly-in-gentoo" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">How not to sell me something — Why I won't be maintaining Yubikey software directly in Gentoo</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>You probably remember <a href="http://blog.flameeyes.eu/2012/01/25/the-web-application-security-culture">my previous notes</a> about Wordpress, <span class="caps">FTP</span> and the problem with security. At the end after a (boring) set up session I was able to get vsftpd provide <span class="caps">FTPS</span> service, which should be usable both by Wordpress and by Dreamweaver, so that my friend the webmaster can upload through it directly.</p>
<p>This is important because as it happens I have another prospective customer who’s going to run Wordpress, and <span class="caps">FTPS</span> now start to look more interesting than <span class="caps">SSH</span>, as it doesn’t require me to give shell access to the server either.</p>
<p>Unfortunately I’m a bit worried (maybe more than I should be) for the use of standard passwords rather than certificates or keypairs for authentication. Which meant I went tried to think of other alternatives.. of which there are mostly two: <a href="https://code.google.com/p/google-authenticator/">Google Authenticator</a> and <a href="https://www.yubico.com/">YubiKey</a> .</p>
<p>The latter I knew by name already because I proxy-maintain the required software for Brant, and I know it’s outdated already and would require a new maintainer who can deal with those packages – I already <a href="http://blog.flameeyes.eu/2010/12/26/supporting-hardware-device-drivers">posted about hardware-related maintenance</a> for what it’s worth – so it was my first choice: while it meant I had to spend some money, it would have solved my problem <em>and</em> improved Gentoo, even if just for a tiny bit. The price for YubiKey devices is also low enough that, if I felt like providing more <span class="caps">FTPS</span> access to customers, I could simply bill it to them without many complaints.</p>
<p>So I went on the manufacturer’s (Yubico’s) website and tried to buy two of them (one for me to test and set up, and one to give my friend to access the server); despite publishing the prices in dollars, they sell through Sweden and UK, which means they are part of EU’s <span class="caps">VAT</span> area, and me being a registered business within EU, I should receive a reverse-charge invoice by stating my own <span class="caps">VAT</span> ID… never had much of a problem with it, as many of my suppliers are sparse through Europe, I registered for the “foreign-enabled” registry right when I opened business — don’t ask me why Italian (and Spanish as far as I can tell) business owners are not enabled by default to have intra-union suppliers.</p>
<p>Now trouble starts: since, as I just noted, not all <span class="caps">VAT</span> IDs are valid to use for intra-union trade, there has to be a way to ensure you’re dealing with an acceptable party. This is implemented through <a href="http://en.wikipedia.org/wiki/VAT_Information_Exchange_System"><span class="caps">VIES</span></a> the <em><span class="caps">VAT</span> Information Exchange System</em> which, for what concerns Italian businesses, only tells you a boolean result of valid/invalid (and not the full registration data that most other states seem to provide). I knew <span class="caps">VIES</span> from a previous business agreement, but I never cared <em>much</em>. Turns out though that most e-Shops I encountered validate the <span class="caps">VAT</span> ID after order completed ­— or in the case of Amazon it seems like they check their internal database as well as <span class="caps">VIES</span>.</p>
<p>Yubico instead validates the request through <span class="caps">VIES</span> at the time of registration:</p>
<blockquote><p><br/>
<span class="caps">VAT</span> Number could not be validated with <span class="caps">VIES</span> at this time. This typically happens when the service is under maintenance. Please retry after some time. For urgent orders, please contact order@yubico.com</p></blockquote>
<p>Considering that the <span class="caps">VIES</span> website has a long disclaimer (which I can’t quote here for reasons that will be clear in a moment) stating that they do not guarantee the availability of the service at any time, and only seem to guarantee the validity of the data to the extent that the law ask them to (which probably means “as long as the states’ own databases are correct”), relying on such a service for registration is .. <em>bad</em>.</p>
<p>The <span class="caps">VIES</span> website is indeed down since at least 11am today (over four hours ago as I write this); for a moment they also gave me an interesting page (which I forgot to save), telling me that there were too many requests’ failures from “my IP address” … listing an IP address in the 212/8 range — my actual IP address is in the 94/8 range.</p>
<p>What’s the end result here? I’ll probably waste some more time trying to get Google Authenticator; Yubico basically lost a customer and a (possible) contributor by <a href="http://blog.flameeyes.eu/2011/03/23/don-t-try-being-smarter-than-me-you-aren-t-you-re-just-a-website">trying and failing to be smarter</a> and won’t have a dedicated maintainer in Gentoo in the near future. It’s sad, because it seems to be easily the most cost- and time-effective solution out there (Google Authenticator is free, but it requires a greater investment of time, and time is money as we all should know).</p></div>
    </content>
    <updated>2012-01-27T13:20:07Z</updated>
    <published>2012-01-27T13:20:07Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <category scheme="http://blog.flameeyes.eu/tag/googleauthenticator" term="GoogleAuthenticator"/>
    <category scheme="http://blog.flameeyes.eu/tag/authentication" term="Authentication"/>
    <category scheme="http://blog.flameeyes.eu/tag/ftps" term="FTPS"/>
    <category scheme="http://blog.flameeyes.eu/tag/webapps" term="Webapps"/>
    <category scheme="http://blog.flameeyes.eu/tag/yubikey" term="YubiKey"/>
    <category scheme="http://blog.flameeyes.eu/tag/yubico" term="Yubico"/>
    <category scheme="http://blog.flameeyes.eu/tag/taxes" term="Taxes"/>
    <category scheme="http://blog.flameeyes.eu/tag/vat" term="VAT"/>
    <category scheme="http://blog.flameeyes.eu/tag/europe" term="Europe"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5497</id>
    <link href="http://blog.flameeyes.eu/2012/01/25/the-web-application-security-culture" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">The web application security culture</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p><em>Okay, I love to rant, so what?</em></p>
<p>Just the other day I have <a href="http://blog.flameeyes.eu/2012/01/22/apache-passenger-rails-log-shmock">complained about Rails’s suggestion for world-writable logs</a> and solved it by <a href="http://blog.flameeyes.eu/2012/01/24/from-rails-to-syslog-or-how-i-learned-to-stop-worrying-and-ditch-production-log">making it use syslog</a> and now I’m in front of another situation that makes me think that people <em>still</em> don’t know how to stop themselves from creating software that is pretty much insecure by design.</p>
<p>So what’s up? For a customer of mine I ended up having to install a full <acronym title="Linux Apache MySQL PHP"><span class="caps">LAMP</span></acronym> stack, rather than my usual <acronym title="Linux Apache PostgreSQL Rails"><span class="caps">LAPR</span></acronym>. In particular, this is for a website that will have to run Wordpress. Thankfully, I have ModSecurity to help me out, especially since not even two hours after actually setting up the instance, <a href="http://blog.spiderlabs.com/2012/01/twsl2012-002-multiple-vulnerabilities-in-wordpress.html">Spiderlabs announced two more security issues</a> including an extract of their commercial rules.</p>
<p>Anyway, the Wordpress instance will have to be managed/administered by a friend of mine, who has already had some trouble before with a different hoster, where the whole Wordpress instance was injected with tons of malware, so was quite keen on letting me harden the security as much as I could… the problem here is that it seems like there’s not much that I can!</p>
<p>The first problem is that I don’t have a clean way to convert the admin section to forced <span class="caps">SSL</span>: not only <code>wp-login.php</code> is outside of the admin subdirectory, but most of Wordpress seem to use fully qualified, absolute URIs rather than relative URLs — such as the ones I’m used with Rails, which in the case both of Typo and Radiant let me restrict the <code>admin/</code> directory to <span class="caps">SSL</span> quite easily. Why is that so important to me? Because I would have used an admin <span class="caps">URL</span> <em>outside</em> of the website’s domain for <span class="caps">SSL</span>: I don’t own a certificate for the website’s domain, which is not mine, nor I want to add it to the list of aliases of my own box. Oh well for now they’ll live with the “invalid certificate” warning.</p>
<p>Next stop is updating the webapp itself; I was sure at that point that “updating the webapp” meant letting the web server write to the wordpress deployment directory… yes, but that’s just <em>part</em> of it. As it happens, plugins are updated via <span class="caps">FTP</span>, like my friend told me.. but not in the sense of “downloaded from an <span class="caps">FTP</span> website and written to the filesystem” but the other way around: you have to tell Wordpress how to access its own deployment via <span class="caps">FTP</span>. In a clear-text web form. Admittedly, it supports <span class="caps">FTPS</span>, but it’s still not very funny.</p>
<p>I’m unsure if it was a good idea on my part to accept hosting Wordpress: we’re talking about installing MySQL, <span class="caps">PHP</span>, vsftpd and enabling one more service on the box (vsftp) <em>just</em> to get a blogging platform. Comparatively, Rails look like a lightweight approach.</p></div>
    </content>
    <updated>2012-01-25T18:47:48Z</updated>
    <published>2012-01-25T18:47:48Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/wordpress" term="Wordpress"/>
    <category scheme="http://blog.flameeyes.eu/tag/ftp" term="FTP"/>
    <category scheme="http://blog.flameeyes.eu/tag/vsftp" term="vsftp"/>
    <category scheme="http://blog.flameeyes.eu/tag/webapps" term="Webapps"/>
    <category scheme="http://blog.flameeyes.eu/tag/modsecurity" term="mod_security for Apache"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.jolexa.net/?p=909</id>
    <link href="http://blog.jolexa.net/2012/01/24/solaris-11-where-is-usrucblib-quick-tips-to-install-ucb-package/" rel="alternate" type="text/html"/>
    <title>Solaris 11: Where is /usr/ucblib? Quick tips to install ‘ucb’ package</title>
    <summary>Well… I finally figured out that the ucb package isn’t installed on Solaris 11 by default (resource). Unfortunately, the Oracle docs are confusing to follow. Here is a cheatsheet for installing the ucb package on your shiny Solaris 11 install. Figure out the IPS installer, read man pages, get frustrated at lack of detail, run [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Well… I finally figured out that the ucb package isn’t installed on Solaris 11 by default (<a href="http://www.scalingbits.com/node/186">resource</a>). Unfortunately, the <em>Oracle</em> docs are confusing to follow. Here is a cheatsheet for installing the ucb package on your shiny Solaris 11 install.</p>
<ol>
<ol>
<li>Figure out the IPS installer, read man pages, get frustrated at lack of detail, run to Google.</li>
<li>Find the package you want on <a href="http://pkg.oracle.com/">http://pkg.oracle.com/</a>, in this case <em>compatibility/ucb</em></li>
<li>Add the <em>publisher</em> link to your config, by the way, this link is not documented that I can find so I had to guess and check. A publisher is a package list of sorts, I guess.<br/>
<code># pkg set-publisher -G '*' -M '*' -g http://pkg.oracle.com/solaris/release solaris</code></li>
<li>Install the package, <code># pkg install compatibility/ucb</code></li>
</ol>
</ol>
<blockquote><p># pkg install compatibility/ucb<br/>
Packages to install: 1<br/>
Create boot environment: No<br/>
Create backup boot environment: No</p>
<p>DOWNLOAD PKGS FILES XFER (MB)<br/>
Completed 1/1 80/80 0.4/0.4</p>
<p>PHASE ACTIONS<br/>
Install Phase 166/166</p>
<p>PHASE ITEMS<br/>
Package State Update Phase 1/1<br/>
Image State Update Phase 2/2</p></blockquote>
<ol>
<li>Behold, that you now have the compatibility libs for software that may need to use them</li>
</ol>
<p>Whew…now, you might wonder what is so hard about that. Well, traversing Oracle docs is the hard part.</p>
<p>Here are the docs that I had open in my browser, they may or <em>may not</em> help and I fully expect the links to break in the future because Oracle is good at that.</p>
<ul>
<li><a href="http://docs.oracle.com/cd/E23824_01/html/E21803/toc.html">Copying and Creating Oracle Solaris 11 Package Repositories</a></li>
<li><a href="http://pkg.oracle.com/solaris/release/en/index.shtml">Oracle Solaris 11 Package Repository</a></li>
<li><a href="http://www.oracle.com/technetwork/server-storage/solaris11/technologies/ips-323421.html">Oracle Solaris 11 Package Management with IPS</a></li>
<li><a href="http://docs.oracle.com/cd/E23824_01/html/E21796/pkg-1.html">Image Packaging System Man Pages</a></li>
</ul></div>
    </content>
    <updated>2012-01-24T20:40:41Z</updated>
    <category term="linux"/>
    <category term="solaris 11"/>
    <author>
      <name>Jeremy Olexa</name>
    </author>
    <source>
      <id>http://blog.jolexa.net</id>
      <link href="http://blog.jolexa.net/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blog.jolexa.net" rel="alternate" type="text/html"/>
      <subtitle>Random thoughts and rants...mostly Linux</subtitle>
      <title>Jeremy's Weblog</title>
      <updated>2012-02-03T17:04:01Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://www.mpagano.com/blog/?p=163</id>
    <link href="http://www.mpagano.com/blog/?p=163" rel="alternate" type="text/html"/>
    <title>Update: Linux Local Privilege Escalation via SUID</title>
    <summary>Seems the patch I committed for the fix was corrupted.  So, I am rebuilding and releasing kernels for 3.2 , 3.1 and 3.0. Thanks for wired for pointing this out.  I will be removing the ones from yesterday. The following kernels now contain the fix: gentoo-sources-3.2.1-r2 gentoo-sources-3.1.10-r1 gentoo-sources-3.0.17-r2  </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Seems the patch I committed for the fix was corrupted.  So, I am rebuilding and releasing kernels for 3.2 , 3.1 and 3.0.</p>
<p>Thanks for wired for pointing this out.  I will be removing the ones from yesterday.</p>
<p>The following kernels now contain the fix:</p>
<p>gentoo-sources-3.2.1-r2</p>
<p>gentoo-sources-3.1.10-r1</p>
<p>gentoo-sources-3.0.17-r2</p>
<p> </p></div>
    </content>
    <updated>2012-01-24T14:06:35Z</updated>
    <category term="Gentoo"/>
    <author>
      <name>admin</name>
    </author>
    <source>
      <id>http://www.mpagano.com/blog</id>
      <link href="http://www.mpagano.com/blog/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://www.mpagano.com/blog" rel="alternate" type="text/html"/>
      <subtitle>My Digital Contribution</subtitle>
      <title>Mike Pagano's Weblog</title>
      <updated>2012-01-24T16:04:59Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5496</id>
    <link href="http://blog.flameeyes.eu/2012/01/24/from-rails-to-syslog-or-how-i-learned-to-stop-worrying-and-ditch-production-log" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">From Rails to Syslog or: How I Learned to Stop Worrying and Ditch production.log</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>In my <a href="http://blog.flameeyes.eu/2012/01/22/apache-passenger-rails-log-shmock">previous installment</a> I ranted about. among other things, the way Rails suggests you to keep a world-writeable log file for the production environment. As I said at the end, I planned on looking at the <a href="https://rubygems.org/gems/syslogger">syslogger gem</a> and that was actually quite helpful.</p>
<p>The idea goes like this: by using syslogger you can tell Rails that the logs have to go through the syslog; in my case that means it goes to metalog, which then filters on the webapp names and pushes it to <code>/var/log/rails</code>, taking care of rotating the log as needed (either due to size or time — the former is quite useful to avoid that rogue bots cause a DoS, which happened to me when I was inexperienced with these technologies!). Of course, this only works on Unix, but that’s what I care about anyway.</p>
<p>Beside the placement of the logs, using <code>metalog</code> for me also means I can filter important messages and show them in the important messages’ log rather than being just limited to a hidden log file within the app’s own tree, and also means that I can mix in the messages of all the running applications, rather than having each report to a different file. If I were to use <code>syslog-ng</code> instead, I could easily make it send the logs via network to another box and aggregate all of them there… but I really don’t see the point (yet) for that, and the features that <code>metalog</code> comes with tramp easily the network support.</p>
<p>So how do you achieve this? It’s actually pretty easy. Obviously it starts with installing <code>dev-ruby/syslogger</code> (in Gentoo, through Portage, everywhere else, via gem); then you can configure this very easily on both Rails 2.3 and 3.x series (I have one server running Rails 2.3, the other 3.1… I have yet to set up Typo 6.x, but I’ll probably do that at some point in the near future, although unlikely before <span class="caps">FOSDEM</span>).</p>
<p>The trick is all in <code>config/environments/production.rb</code>, where you have to tell Rails to use a custom Logger; there is already an example, commented-out like that refers to the other gem, SyslogLogger, but you should change it to something like this</p>
<div class="CodeRay"><pre>  config.logger = Syslogger.new("yourappname")</pre></div>
<p>This way you can distinguish each application’s messages in the log. Then in the <code>metalog.conf</code> file you can have:</p>
<div class="CodeRay"><pre>Rails apps : 
  program_regex = "^(typo|radiant|yourappname)"
  logdir = "/var/log/rails"
  maxfiles = 5
  break = 1</pre></div>
<p>so that everything is then readable as <code>/var/log/rails/current</code>.</p>
<p>I’m not sure how much it impacts performance; I’d be surprised if it decreased them, as <code>metalog</code> also buffers the disk writes, but you never know until you check for sure; in general I still prefer if the (multiple) Rails processes send everything to <code>metalog</code> for my own convenience.</p>
<p>Interestingly, if you have a webapp that does not deal with on-disk files directly, but just with a database, by using syslogger you’re basically limiting the writing to the cache directories only, which is probably a positive note.</p></div>
    </content>
    <updated>2012-01-24T11:23:25Z</updated>
    <published>2012-01-24T11:23:25Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <category scheme="http://blog.flameeyes.eu/tag/rails" term="Rails"/>
    <category scheme="http://blog.flameeyes.eu/tag/ruby" term="Ruby"/>
    <category scheme="http://blog.flameeyes.eu/tag/syslog" term="Syslog"/>
    <category scheme="http://blog.flameeyes.eu/tag/metalog" term="Metalog"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://sdibb.wordpress.com/?p=1493</id>
    <link href="http://wonkabar.org/2012/01/24/working-with-teenagers-the-blog/" rel="alternate" type="text/html"/>
    <link href="http://wonkabar.org/2012/01/24/working-with-teenagers-the-blog/#comments" rel="replies" type="text/html"/>
    <link href="http://wonkabar.org/2012/01/24/working-with-teenagers-the-blog/feed/atom/" rel="replies" type="application/atom+xml"/>
    <title xml:lang="en">working with teenagers … the blog!</title>
    <summary type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml">Okay, so I decided to start yet. another. new. blog. It’s called “working with teenagers”. I’m reproducing … at least, in some fashion. I wonder if my parents are proud of me. Late at night, they can stay up and … <a href="http://wonkabar.org/2012/01/24/working-with-teenagers-the-blog/">Continue reading <span class="meta-nav">→</span></a><img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=wonkabar.org&amp;blog=19113962&amp;post=1493&amp;subd=sdibb&amp;ref=&amp;feed=1" width="1"/></div>
    </summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Okay, so I decided to start yet. another. new. blog.  It’s called <a href="http://workingwithteenagers.wordpress.com/">“working with teenagers”</a>.  I’m reproducing … at least, in some fashion.  I wonder if my parents are proud of me.  Late at night, they can stay up and say, “this is about as close to grandkids as we’ll get!  Pass me some Wheat Thins.”  Seems reasonable.</p>
<p>Really, though, since I’m going to school to, you know, do this full-time, I thought it’d be cool to archive my old posts about working with them, and just post stuff to it whenever I feel like it.  Like tonight, I just added another one, and I figured, “I should probably go to bed.  And also write a blog post and my other blog!”  And then my mind went blank after that.</p>
<p>In addition to the archives of stuff on here that you’ve already taken the time to memorize, I’ve added two new posts over there since then.  You’ll notice that I’ve refrained from shamelessly using my blog to do some cross-posting mojo to do some self-promotion … at least until tonight.  To make it seem like this blog post has actual content, I’ll throw in something slightly more interesting.</p>
<p>I found out recently that I really enjoy bowling.  Me and my cousin have been going for a few weekends in a row.  We’ve mastered the art of playing 4 games in a row for $10.  That’s not bad, considering it’s late Saturday nights.  Good times.  I’m actually getting better at (since it’s impossible to be worse).  The hardest part is getting people to ignore that I’m using an 8 pound ball because I’ll throw out my wrists if I use anything heavier.</p>
<p>Where was I going with all of this.  I remember I was playing Skyrim tonight (level 60, yo!), and I was fighting a dragon and trying to eat cheesy nacho goodness at the same time.  I kept having to pause my game so I could eat, and I thought to myself, “I can’t pause a nacho.”  Words to live by.</p>
<p>In other entertainment, I present to you, the best picture on the internet:</p>
<p><a href="http://sdibb.files.wordpress.com/2012/01/t3zox.jpg"><img alt="" class="aligncenter size-medium wp-image-1495" height="219" src="http://sdibb.files.wordpress.com/2012/01/t3zox.jpg?w=300&amp;h=219" title="the best picture on the internet" width="300"/></a></p>
<p>It’s totally legit.  They have their own domain and everything: <a href="http://thebestpictureontheinternet.com/">http://thebestpictureontheinternet.com/</a></p>
<p>I think it’s time to go to bed.</p>
<br/>  <a href="http://feeds.wordpress.com/1.0/gocomments/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/godelicious/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/gostumble/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/godigg/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sdibb.wordpress.com/1493/"/></a> <a href="http://feeds.wordpress.com/1.0/goreddit/sdibb.wordpress.com/1493/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sdibb.wordpress.com/1493/"/></a> <img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=wonkabar.org&amp;blog=19113962&amp;post=1493&amp;subd=sdibb&amp;ref=&amp;feed=1" width="1"/></div>
    </content>
    <updated>2012-01-24T07:44:25Z</updated>
    <published>2012-01-24T07:39:42Z</published>
    <category scheme="http://wonkabar.org" term="Psychology"/>
    <author>
      <name>beandog</name>
      <uri>http://wonkabar.org/</uri>
    </author>
    <source>
      <id>http://wonkabar.org/feed/atom/</id>
      <link href="http://wonkabar.org" rel="alternate" type="text/html"/>
      <link href="http://wonkabar.org/feed/atom/" rel="self" type="application/atom+xml"/>
      <link href="http://wonkabar.org/osd.xml" rel="search" title="wonkablog" type="application/opensearchdescription+xml"/>
      <link href="http://wordpress.com/opensearch.xml" rel="search" title="WordPress.com" type="application/opensearchdescription+xml"/>
      <link href="http://wonkabar.org/?pushpress=hub" rel="hub" type="text/html"/>
      <subtitle xml:lang="en">cornflakes, cartoons, dragons, linux, multimedia, psychology, teenagers</subtitle>
      <title xml:lang="en">wonkablog</title>
      <updated>2012-01-25T01:25:26Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://www.mpagano.com/blog/?p=160</id>
    <link href="http://www.mpagano.com/blog/?p=160" rel="alternate" type="text/html"/>
    <title>Gentoo Kernel release for Linux Local Privilege Escalation via SUID /proc/pid/mem</title>
    <summary>I just released gentoo-sources-3.2.1-r1 for Linux Local Privilege Escalation via SUID /proc/pid/mem . I plan on creating releases for additional kernels with this patch through the day. See the link for more info on the privilege escalation. The following kernel versions contain the patch: gentoo-sources-3.2.1-r1 gentoo-sources-3.1.10 gentoo-sources-3.0.17-r1  </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I just released gentoo-sources-3.2.1-r1 for <a href="http://lwn.net/Articles/476684/" title="Linux Local Privilege Escalation via SUID /proc/pid/mem ">Linux Local Privilege Escalation via SUID /proc/pid/mem</a> .</p>
<p>I plan on creating releases for additional kernels with this patch through the day.</p>
<p>See the link for more info on the privilege escalation.</p>
<p><strong>The following kernel versions contain the patch:</strong></p>
<p>gentoo-sources-3.2.1-r1</p>
<p>gentoo-sources-3.1.10</p>
<p>gentoo-sources-3.0.17-r1</p>
<p> </p></div>
    </content>
    <updated>2012-01-23T20:33:50Z</updated>
    <category term="Gentoo"/>
    <author>
      <name>admin</name>
    </author>
    <source>
      <id>http://www.mpagano.com/blog</id>
      <link href="http://www.mpagano.com/blog/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://www.mpagano.com/blog" rel="alternate" type="text/html"/>
      <subtitle>My Digital Contribution</subtitle>
      <title>Mike Pagano's Weblog</title>
      <updated>2012-01-24T16:04:59Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://barelysufficient.org/?p=695</id>
    <link href="http://feedproxy.google.com/~r/olemarkus/~3/YGACEwB7Auc/" rel="alternate" type="text/html"/>
    <title>High load websites: Scalable HTTP infrastructure</title>
    <summary>At Sportradar, we have several products where everything is hosted on our servers, but our customers embed the them into their websites. The result is that we concurrently handle the accumulated traffic of all our customers. On a typical Saturday this is a five-digit number of requests per second. In order to handle all this [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>At <a href="http://www.sportradar.com">Sportradar</a>, we have several products where everything is hosted on our servers, but our customers embed the them into their websites. The result is that we concurrently handle the accumulated traffic of all our customers. On a typical Saturday this is a five-digit number of requests per second. In order to handle all this traffic, and more importantly, making it easy to scale up to meet future traffic demands as we sell more products, we have spent quite a bit of time on researching what kind of service infrastructure works best with as little hardware as possible.</p>
<p><i>The stack I will describe here is <strong>not</strong> the same as we are using</i>. It is a simplification. Linux provides a lot of buttons to push and knobs to turn that affect performance. But these settings are typically very tied to the workload and very difficult to generalise. We have achieved an understanding, mostly by trial and error, about what works for us, but the same settings will probably not be useful to anyone else.</p>
<p>This article is only concerned about how requests move from your users to the web servers serving content. It does not deal with how to scale the web application itself. I will also not go into much detail about how to configure each of the services mentioned.</p>
<h2>Principles</h2>
<p>I have to say I am a big fan of the Unix philosophy of using small, specialised services. It is the primary reason I like to use web servers like nginx, which only handles one single task, and why I think using PHP FPM instead of Apache/Mod_PHP is a good idea. Just like with programming, keeping stuff compartmentalised makes debugging easier, it leads to single failing nodes affecting only single services, and it is a whole lot easier to scale where necessary.</p>
<p>All of the machine in this setup are virtualised using <a href="http://www.linux-kvm.org/page/Main_Page">Kernel Virtual Machine</a> (KVM), and managed by <a href="http://code.google.com/p/ganeti/">Ganeti</a>. The cool thing about using Ganeti is that it supports syncing disks to a secondary hypervisor using <a href="http://drbd.org">Distributed Replicated Block Device</a> (DRBD). If any of these nodes fail, they can just be booted on the secondary hypervisor and pick up where the failing node left off. Note that if your application is very CPU bound, I would not use virtualisation. You lose quite a bit of CPU and I/O performance when virtualising.</p>
<h2>The stack</h2>
<p>Let me start of by presenting the stack. Then I’ll go through each level and give some more thorough explanations later.</p>
<ol>
<li>Gateway</li>
<li>SSL termination/proxy</li>
<li>HTTP Accelerator</li>
<li>Web server/FCGI</li>
</ol>
<p><img alt="" class="size-full wp-image-709 aligncenter" height="294" src="https://barelysufficient.org/wp-content/uploads/2012/01/Infrastructure2.png" title="Infrastructure2" width="434"/></p>
<p>Granted, using this many systems require its cost of system administration. But since the nodes individually are so simple, running software upgrades is rather trivial as there are no conflicting dependencies. Using virtual machines also make dist-upgrades trivial. We simply do not ever do it. Instead we fire up a new virtual machine with the newest OS version, configure it, deploy software and do some simple testing, and then just let it be a drop-in replacement of the old node.</p>
<h3>The gateway</h3>
<p>The purpose of the gateway is to handle routing between Internet and the application-specific subnets. I like using a load balancer like <a href="http://en.wikipedia.org/wiki/Linux_Virtual_Server">Linux Virtual Server</a> (LVS) for this, because it allows me to scale the layer following horizontally. LVS can basically handle any amount of traffic you throw at it on a single node so there is no need to think about how to add more nodes into this layer. If it really became necessary to do so, and adding more hardware to the existing two nodes would not be possible, DNS round-robin could be a way to achieve a form of load balancing.</p>
<p>Even though I do not find load balancing necessary in this layer, I would still remand redundancy. Not only can nodes fail, but every now and then, I would like to be able to take the load gateway out of production to perform maintenance on it. Redundancy on this level is achieved by using <a href="http://www.linux-ha.org/wiki/Main_Page">Linux-HA</a>. The simple explanation of what this software suite does is this: If the active node dies, the stand-by node takes over its IP, sends an <a href="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">ARP</a> announcement, and, if configured correctly, resumes the work of the failed node.</p>
<h3>SSL termination/proxy</h3>
<p>So you may ask “Why do we need dedicated nodes to terminate SSL?”. Firstly it is because both web applications and SSL terminations are typically CPU-bound so you do not want these two parts fighting over resources. Secondly, Varnish, the next service in the stack, does not speak SSL.</p>
<p>This layer need to be scalable horizontally due to the CPU cycles required to terminate SSL. Especially if you allow ciphers using one-time Diffie-Hellman. I always make sure that I have enough nodes on this layer to handle at least a single node failure.</p>
<p>These days I use <a href="http://nginx.org">nginx</a> for this layer, but any kind of light-weight, high-performance web server will do the job. The one thing worth mentioning about using nginx is that it does not (yet) support HTTP 1.1. So no keep-alive connections and no chunked response towards the backend. But since the backend is Varnish, this is not that big of an issue.</p>
<h3>HTTP Accellerator</h3>
<p>And now for the stack’s super hero: <a href="http://varnish-software.org">Varnish</a>. It is an HTTP cache server that can handle pretty much any amount of traffic. During my stress testing I have seen Varnish handle thousands of connections on a single CPU core. Therefor I would not worry about scaling this bit horizontally unless you have to cache a huge amount of data.</p>
<p>Another reason for only having a single active node in this layer is that there is a chance for the same page being cached at different times with different contents. If the user continuously hit ‘refresh’ they would end flipping between the two different cached versions making your site look silly.</p>
<p>The redundancy setup is identical to that of the gateway layer. </p>
<h3>Web server</h3>
<p>In my sketch above, I just added a bunch of Nginx/PHP FPM servers behind the Varnish. This is how the setup would look like in its simplest form, assuming that you do not require cookies, user logins or anything else that require this layer to simulate some form of state.</p>
<p>The important bit is that this layer is easy to scale horizontally. All you need to do is add another server to the director configuration of Varnish. Varnish support several different form of directors, even directors that will help you maintain state. Going into details about this, however, is in itself worthy of an article.</p>
<h2>Some final remarks</h2>
<p>This setup is a bit simpler than I would put into production, but it contains the essential details. All of the services mentioned are quite trivial to configure and there should be lots of resources online about each of them.</p>
<img height="1" src="http://feeds.feedburner.com/~r/olemarkus/~4/YGACEwB7Auc" width="1"/></div>
    </content>
    <updated>2012-01-23T05:50:29Z</updated>
    <category term="PHP"/>
    <category term="Software Engineering"/>
    <category term="DRBD"/>
    <category term="fastcgi"/>
    <category term="fpm"/>
    <category term="Ganeti"/>
    <category term="Gentoo Linux"/>
    <category term="HTTP"/>
    <category term="linkedin"/>
    <category term="Linux-HA"/>
    <category term="LVS"/>
    <category term="nginx"/>
    <category term="php-fpm"/>
    <category term="redundancy"/>
    <category term="scalability"/>
    <category term="Varnish"/><feedburner:origLink xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">https://barelysufficient.org/2012/01/high-load-websites-scalable-http-infrastructure/</feedburner:origLink>
    <author>
      <name>Ole Markus</name>
    </author>
    <source>
      <id>https://barelysufficient.org</id>
      <link href="https://barelysufficient.org" rel="alternate" type="text/html"/>
      <link href="http://feeds.feedburner.com/olemarkus" rel="self" type="application/rss+xml"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <subtitle>'cause giving the walls a new coat of paint is just way to much</subtitle>
      <title>Barely Sufficient</title>
      <updated>2012-02-07T19:07:48Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-7849507270164967036.post-1998832142446178686</id>
    <link href="http://dilfridge.blogspot.com/feeds/1998832142446178686/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/01/gentoo-zero-day-packaging-of-new-kde.html#comment-form" rel="replies" title="4 Comments" type="text/html"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/1998832142446178686" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/1998832142446178686" rel="self" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/01/gentoo-zero-day-packaging-of-new-kde.html" rel="alternate" title="Gentoo zero-day packaging of new KDE releases explained" type="text/html"/>
    <title>Gentoo zero-day packaging of new KDE releases explained</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Usually, whenever a new KDE release is published, Gentoo users can update already the same day, as suddenly a complete and polished set of ebuilds appears in the portage tree. (Stay tuned on upcoming wednesday for KDE 4.8.0, it's shaping up very nicely!) How is this possible? Well... let me explain.<br/><br/>If you're a stable version user, you may have never heard of so-called live ebuilds. This is a special variant, usually denoted by a version number ending in 9999, that does not rely on a source tarball. Instead, it contains a URL of a revsion control system (say on anongit.kde.org). When you emerge such a version of a package, the sources of the specified branch are checked out or updated to the newest upstream state, and that is used for building the installation package. Obviously this is not for everyone; depending how well upstream structures commits, things may not build for a while, contain fresh bugs, ... Also, reporting bugs from live versions on Gentoo bugzilla is discouraged as most of the times we can't do anything about it (do it only if you are sure it's a problem with the ebuilds, not with the source). If you're running live, you should be willing to hack yourself and work with upstream.<br/><br/>However, many of the Gentoo KDE team members run these live ebuilds, partly the current bugfix branch (i.e. KDE/4.8), partly even git master. They continuously keep the live ebuilds in the Gentoo KDE overlay updated to the newest state of the source. When a release is made, the corresponding live ebuilds of this branch are copied to the version ebuilds. For example, the KDE/4.8 branch live ebuilds have the version number 4.8.49.9999 (i.e. <br/>kde-base/kdelibs-4.8.49.9999), so when the pre-release tarballs for KDE 4.8.0 were released to the packagers a few days ago, we only had to copy all 4.8.49.9999 ebuilds to 4.8.0 and immediately had a working set for testing. Most problems at that point are only caused by changes in tarball packaging. As distribution packagers get the pre-release tarballs (that still may change due to last-minute bugfixes) a week before the official release date, these can easily be fixed in time.<br/><br/>This also means that KDE maintenance in Gentoo is really a team effort. Whoever moves a released version to the main portage tree and/or commits bugfixes there builds on all the work that the team has done in the overlay in the meantime. Cheers!<div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/7849507270164967036-1998832142446178686?l=dilfridge.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-01-22T17:43:02Z</updated>
    <published>2012-01-22T17:42:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/>
    <category scheme="http://www.blogger.com/atom/ns#" term="kde"/>
    <author>
      <name>Andreas</name>
      <email>noreply@blogger.com</email>
      <uri>http://www.blogger.com/profile/12314847423280010909</uri>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-7849507270164967036</id>
      <category term="arm"/>
      <category term="graphene"/>
      <category term="astronomy"/>
      <category term="gpib"/>
      <category term="sysadmin"/>
      <category term="books"/>
      <category term="gentoo"/>
      <category term="ostpforte"/>
      <category term="maths"/>
      <category term="scifi"/>
      <category term="humour"/>
      <category term="france"/>
      <category term="art"/>
      <category term="cups"/>
      <category term="digikam"/>
      <category term="photos"/>
      <category term="spain"/>
      <category term="romanesque"/>
      <category term="nobelprize"/>
      <category term="stupidity"/>
      <category term="kde"/>
      <category term="err-what?"/>
      <category term="meta"/>
      <category term="archaeology"/>
      <category term="phdcomics"/>
      <category term="italy"/>
      <category term="food"/>
      <category term="comp-sci"/>
      <category term="regensburg"/>
      <category term="physics"/>
      <category term="nanotubes"/>
      <category term="architecture"/>
      <category term="work"/>
      <category term="travelling"/>
      <category term="research-group"/>
      <author>
        <name>Andreas</name>
        <email>noreply@blogger.com</email>
        <uri>http://www.blogger.com/profile/12314847423280010909</uri>
      </author>
      <link href="http://dilfridge.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://dilfridge.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default?start-index=26&amp;max-results=25" rel="next" type="application/atom+xml"/>
      <title>the dilfridge blog</title>
      <updated>2012-02-06T00:52:09Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5495</id>
    <link href="http://blog.flameeyes.eu/2012/01/22/apache-passenger-rails-log-shmock" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">Apache, Passenger, Rails: log shmock</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>You might or might not remember my <a href="http://blog.flameeyes.eu/2011/11/19/the-pain-of-installing-rt-in-gentoo-part-2">fighting with mod_perl</a> and my finding a bug in the handling of logs if Apache’s error log is set to use the syslog interface (which in my case would be <code>metalog</code>). For those wondering <a href="https://rt.cpan.org/Public/Bug/Display.html?id=72540">the upstream bug is still untouched</a> goes without saying. This should have told me that there aren’t many people using Apache’s syslog support, but sometimes I’m stubborn.</p>
<p>Anyway, yesterday I finally put into so-called “production” the webapp I <a href="http://blog.flameeyes.eu/2012/01/16/patching-up-a-monster-of-frankeinsteinian-proportions">described last week</a> for handling customers’ computers. I got it working in no time after mongoid started to behave (tests are still restricted, because a couple fail and I’m not sure why — I’ll have to work on that with the next release that require quite fewer hacks to test cleanly). I did encounter a nasty bug in "best_in_place"http://rubygems.org/gems/best_in_place which I ended up fixing in Gentoo even though upstream hasn’t merged <a href="https://github.com/Flameeyes/best_in_place">my branch</a> yet.</p>
<p>To get it in “production” I simply mean configuring it to run on the twin server of this blog’s, which I’ve been using for another customer as well — and got ready for a third. Since Rails 3.1 was already installed on that box, it was quite easy to move my new app there. All it took was installing the few new gems I needed and…</p>
<p>Well here’s the interesting thing: I didn’t want for my application to run as my user, while obviously I wanted to check out the sources with my user so that I could get it to update with <code>git</code> … how do you do that? Well, Passenger is able to run the application under whatever user owns the <code>config/environment.rb</code> file, so you’d expect it to be able to run under an arbitrary user as well — which is the case, but only if you’re using version 3 (which is not stable in Gentoo as of yet).</p>
<p>So anyway I set up the new passenger to change the user, make <code>public/assets/</code> and another directory I write to group-writable (the app user and my user are in the same group), and then I’m basically done, I think. I start up and I’m done with it, I think… but the hostnames tell me that “something went wrong”, without any clue as to what.</p>
<p>Okay so the default for Passenger is to not have any log at all, not a problem, I’ll just increase the level to 1 and see the error… or not? I still get no output in Apache’s error log .. which is still set to syslog… don’t tell me… I set Passenger to log to file, and lo and behold it works fine. I wonder if it’s time for me to learn Apache’s <span class="caps">API</span> and get to fix both, since it looks like I’m one of the very few people who would like to use syslog as Apache’s error log.</p>
<p>After getting Passenger to finally tell me what’s wrong, I find out both the reason why Rails wasn’t starting (I forgot to enable two <span class="caps">USE</span> flags in <code>dev-ruby/barby</code> which I use for generating the QR code on the label), but I also see this:</p>
<div class="CodeRay"><pre>Rails Error: Unable to access log file. Please ensure that /var/www/${vhost}/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.</pre></div>
<p>What? Rails is really telling its users to create a <strong>world writeable</strong> log file, when it fails to write to it? Are they freaking kidding me? Is this really a suggestion coming from the developers of a framework for <strong>Web Applications</strong> which should be security-sensitive? … Okay so one can be smarter than them and do the right thing (in my case make sure that the log file is actually group-writeable) but if this is the kind of suggestions they find proper to tell you, it’s no wonder what happened with Diaspora. So it’s one more reason why <a href="http://blog.flameeyes.eu/2010/09/23/rails-is-not-for-fire-and-forget-hosting">Rails shouldn’t be for the faint hearted</a> and that you should pay a very good sysadmin if you want to run a Rails application.</p>
<p>Oh and by the way the cherry on top of this is that instead of just sending the log to stderr, leaving it to Passenger to wrangle – which would have worked out nicely if Passenger had a way to distinguish which app the errors are coming from – Rails also moves the log level to warning, just to spite you. And then tells you that it impacts performances! Ain’t that lovely?</p>
<p>Plan for the day? If I find some extra free time I’d like to give a try and package (not necessarily in this order) <a href="https://rubygems.org/gems/syslogger">syslogger</a> so that the whole <code>production.log</code> thing can go away fast.</p></div>
    </content>
    <updated>2012-01-22T08:19:07Z</updated>
    <published>2012-01-22T08:19:07Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/ruby" term="Ruby"/>
    <category scheme="http://blog.flameeyes.eu/tag/rails" term="Rails"/>
    <category scheme="http://blog.flameeyes.eu/tag/logging" term="Logging"/>
    <category scheme="http://blog.flameeyes.eu/tag/syslog" term="Syslog"/>
    <category scheme="http://blog.flameeyes.eu/tag/apache" term="Apache"/>
    <category scheme="http://blog.flameeyes.eu/tag/passenger" term="Passenger"/>
    <category scheme="http://blog.flameeyes.eu/tag/bugs" term="Bugs"/>
    <category scheme="http://blog.flameeyes.eu/tag/security" term="Security"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.hartwork.org/?p=1570</id>
    <link href="http://blog.hartwork.org/?p=1570" rel="alternate" type="text/html"/>
    <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
    <title>Control over LaTeX page margins (or borders)</title>
    <summary>Until recently, page margins in LaTeX had more control over me than I had over them. I already heard that package geometry could be of use here, but quick hacks seemed more fun than going through the docs of that package. I had a closer look now and geometry turned out to be much more [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Until recently, page margins in LaTeX had more control over me than I had over them. I already heard that package <tt>geometry</tt> could be of use here, but quick hacks seemed more fun than going through the docs of that package.</p>
<p>I had a closer look now and <tt>geometry</tt> turned out to be much more convenient than I expected in the end.</p>
<p>The code that I experimented with can be reduced to this snippet:</p>
<pre>%% Demo by Sebastian Pipping &lt;sebastian@pipping.org&gt;
%% Released to the public domain
\documentclass[a4paper]{article}
<strong>\usepackage[hmargin=2cm,vmargin=1cm]{geometry}</strong>
\begin{document}
\rule{\textwidth}{\textheight}
\end{document}</pre>
<p>So I am abusing <tt>\rule</tt> here to draw a filled rectangle that spans the whole content area. I am asking for horizontal margins of 2cm width and vertical ones of 1cm height.</p>
<p>Strangely, the output I received did not match my expectations. Look how much bigger the left margin is than the right one.</p>
<p/><center><img src="http://blog.hartwork.org/__images/latex-geometry-broken.png"/></center><p/>
<p>It turns out that indentation of the first line of a paragraph is at work here. The insertion of <tt>\noindent</tt> solved that problem.</p>
<p/><center><img src="http://blog.hartwork.org/__images/latex-geometry-noindent.png"/></center><p/></div>
    </content>
    <updated>2012-01-22T01:04:12Z</updated>
    <category term="Frustration"/>
    <category term="LaTeX"/>
    <category term="Planet Freitagsrunde"/>
    <author>
      <name>sping</name>
    </author>
    <source>
      <id>http://blog.hartwork.org</id>
      <link href="http://blog.hartwork.org/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://blog.hartwork.org" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
      <subtitle>Free Software and Music</subtitle>
      <title>Hartwork Blog</title>
      <updated>2012-01-22T02:04:22Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-1416509538714373497.post-8289328252489675534</id>
    <link href="http://badmadmatti.blogspot.com/feeds/8289328252489675534/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/>
    <link href="http://badmadmatti.blogspot.com/2012/01/rip-php-52.html#comment-form" rel="replies" title="1 Comments" type="text/html"/>
    <link href="http://www.blogger.com/feeds/1416509538714373497/posts/default/8289328252489675534" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/1416509538714373497/posts/default/8289328252489675534" rel="self" type="application/atom+xml"/>
    <link href="http://badmadmatti.blogspot.com/2012/01/rip-php-52.html" rel="alternate" title="R.I.P PHP-5.2" type="text/html"/>
    <title>R.I.P PHP-5.2</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Today, olemarkus finally removed the dev-lang/php-5.2.17 ebuild from the gentoo-x86 tree.<br/><br/>So it's been nearly 5 years since php-5.2.1-r3 got introduced to the main tree. And it comes almost exactly a year after the last release of php-5.2 was <a href="http://www.php.net/archive/2011.php#id2011-01-06-1">announced</a> on php.net.   Half a decade lifetime is pretty decent for release cycles, ain't it?<br/><br/>But with all the <a href="http://badmadmatti.blogspot.com/2010/07/why-you-want-php-532.html">new and shiny features</a> in 5.3 (and 5.4!), there's really nothing bad about letting php-5.2 die.<br/><br/>So by all means: PHP is dead, long live PHP!<br/><br/>P.S.: If you find any zombies, ie packages you want to merge but that require php-5.2 to function, please notify the Gentoo PHP team via our <a href="https://bugs.gentoo.org">bug tracker</a> or leave a comment here. Thanks a lot!<div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/1416509538714373497-8289328252489675534?l=badmadmatti.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-01-22T00:20:51Z</updated>
    <published>2012-01-21T23:21:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="PHP"/>
    <category scheme="http://www.blogger.com/atom/ns#" term="Gentoo"/>
    <category scheme="http://www.blogger.com/atom/ns#" term="Lastrite"/>
    <author>
      <name>Matti</name>
      <email>noreply@blogger.com</email>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-1416509538714373497</id>
      <category term="Introduction"/>
      <category term="Bug"/>
      <category term="PHP"/>
      <category term="release"/>
      <category term="Security"/>
      <category term="Lastrite"/>
      <category term="concurrentmodphp"/>
      <category term="sqlite"/>
      <category term="Gentoo"/>
      <author>
        <name>Matti</name>
        <email>noreply@blogger.com</email>
      </author>
      <link href="http://badmadmatti.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/1416509538714373497/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://badmadmatti.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <title>Techy Stuff on a random basis</title>
      <updated>2012-01-23T19:42:06Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://rich0gentoo.wordpress.com/?p=142</id>
    <link href="http://rich0gentoo.wordpress.com/2012/01/21/a-quick-dracut-module/" rel="alternate" type="text/html"/>
    <title>A Quick Dracut Module</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Since the general trend on many linux distros is towards requiring /usr to be mounted at boot time, I figured I’d see what it would take to get it working using dracut. I’ve been messing with dracut for a while, and for some reason it stubbornly refuses to detect my raid devices. The kernel autodetection [...]<img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=rich0gentoo.wordpress.com&amp;blog=12853060&amp;post=142&amp;subd=rich0gentoo&amp;ref=&amp;feed=1" width="1"/></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Since the general trend on many linux distros is towards requiring /usr to be mounted at boot time, I figured I’d see what it would take to get it working using dracut.</p>
<p>I’ve been messing with dracut for a while, and for some reason it stubbornly refuses to detect my raid devices.  The kernel autodetection works fine, but this is disabled when booting from an initramfs.  Dracut would timeout and drop me to a dash shell, and if I just typed mdadm -As followed by exit it would boot just fine.  </p>
<p>Dracut is using udev to set up raid devices, and obviously that is not working.</p>
<p>Beyond this, I’d like to get my /usr mounted pre-boot, and there is a module called usrmount that purports to do just this.  However, it isn’t working in my case because /usr is a bind mount to a subdir on an lvm volume, and it just isn’t figuring that out (it doesn’t even run lvm in the first place despite having the module installed, let alone figuring out what to mount in what order – I suspect the lvm module only works if root is on lvm).</p>
<p>My solution to both problems is to build my own simple dracut module.  If you want to try it out:</p>
<ol>
<li>cd /usr/lib/dracut/modules.d/</li>
<li>mkdir 91local</li>
<li>cat &gt; 91local/module-setup.sh<br/>
<code>#!/bin/bash<br/>
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-<br/>
# ex: ts=8 sw=4 sts=4 et filetype=sh<p/>
<p>check() {<br/>
    return 0<br/>
}</p>
<p>depends() {<br/>
    return 0<br/>
}</p>
</code><p><code>install() {<br/>
    inst_hook pre-trigger 91 "$moddir/mount-local.sh"<br/>
}<br/>
</code></p></li>
<li>cat &gt; 91local/mount-local.sh<br/>
<code>#!/bin/sh<br/>
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-<br/>
# ex: ts=8 sw=4 sts=4 et filetype=sh<p/>
<p>mount_local()<br/>
{<br/>
        mdadm -As<br/>
        lvm pvscan<br/>
        lvm vgscan<br/>
        lvm lvscan<br/>
        lvm vgchange -ay<br/>
}</p>
</code><p><code>mount_local</code></p></li>
</ol>
<p>Then run dracut to build your initramfs, and it should let mdadm and lvm auto-detect everything before it gets to mounting stuff.  You can then use the fstab-sys to mount whatever you need to mount user.  However, in your fstab.sys if you’re configuring a bindmount be sure to prepend /sysroot/ before the source directory.<br/>
Example fstab.sys:<br/>
<code>/dev/vg1/data           /data   ext4            noatime,user_xattr,barrier=1 0 0<br/>
/sysroot/data/usr               /usr    none            bind    0 0<br/>
/sysroot/data/var               /var    none            bind    0 0</code></p>
<p>Hopefully this helps somebody out – the dracut documentation is pretty sparse.  In fact, if somebody connected to dracut stumbles upon this I’d be open to a better way of hooking my script – pre-trigger just doesn’t seem right – I’d rather let udev try to do everything first.  However, I couldn’t find any way to hook after udev runs but before it bombs out not finding my root device.  Suggestions welcome.</p>
<br/>Filed under: <a href="http://rich0gentoo.wordpress.com/category/gentoo/">gentoo</a>, <a href="http://rich0gentoo.wordpress.com/category/linux/">linux</a>  <a href="http://feeds.wordpress.com/1.0/gocomments/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/godelicious/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/gostumble/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/godigg/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rich0gentoo.wordpress.com/142/"/></a> <a href="http://feeds.wordpress.com/1.0/goreddit/rich0gentoo.wordpress.com/142/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rich0gentoo.wordpress.com/142/"/></a> <img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=rich0gentoo.wordpress.com&amp;blog=12853060&amp;post=142&amp;subd=rich0gentoo&amp;ref=&amp;feed=1" width="1"/></div>
    </content>
    <updated>2012-01-21T21:28:36Z</updated>
    <category term="gentoo"/>
    <category term="linux"/>
    <author>
      <name>rich0</name>
    </author>
    <source>
      <id>http://rich0gentoo.wordpress.com</id>
      <logo>http://s2.wp.com/i/buttonw-com.png</logo>
      <link href="http://rich0gentoo.wordpress.com/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://rich0gentoo.wordpress.com" rel="alternate" type="text/html"/>
      <link href="http://rich0gentoo.wordpress.com/osd.xml" rel="search" title="Rich0's Gentoo Blog" type="application/opensearchdescription+xml"/>
      <link href="http://rich0gentoo.wordpress.com/?pushpress=hub" rel="hub" type="text/html"/>
      <title>Rich0's Gentoo Blog</title>
      <updated>2012-01-22T23:04:24Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/tampakrap/?p=720</id>
    <link href="http://blogs.gentoo.org/tampakrap/gentoo-kde-team-january-2012-meeting/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Gentoo KDE Team January 2012 meeting</title>
    <summary>1) Roll call alexxy, jmbsvicetto, dilfridge, johu, mschiff, tampakrap, Thev00d00 2) Electing a new team leader Since one year is not over yet, it will be skipped for the next meeting. 3) What shall we do with kdepim-4.4 KDEPIM 4.4 is not supported any more by upstream, but on the other hand KDEPIM2 is still [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><b>1) Roll call</b></p>
<p>alexxy, jmbsvicetto, dilfridge, johu, mschiff, tampakrap, Thev00d00</p>
<p><b>2) Electing a new team leader</b></p>
<p>Since one year is not over yet, it will be skipped for the next meeting.</p>
<p><b>3) What shall we do with kdepim-4.4</b></p>
<p>KDEPIM 4.4 is not supported any more by upstream, but on the other hand KDEPIM2 is still too buggy. We had a discussion if we should remove it completely or if we should continue maintain it, despite the compatibility bugs that started to emerge with newer KDE versions. Final decision is that we will continue support it as long it works with newer KDE SC releases. We’ll keep the kdepim-l10n split package to provide the translations for it.</p>
<p><b>4) kdeenablefinal revisited</b></p>
<p>Since upstream doesn’t seem to care about it much, plus it doesn’t make much sense now that there are many split tarballs, we decided to remove it the next day after the meeting.</p>
<p><b>5) phonon-xine removal</b></p>
<p>KDE upstream acknowledged that this is not maintained anymore. It’s already masked since 2011/12/01. Will be last rited and removed 15 days afterwards.</p>
<p><b>6) Qt 4.8</b></p>
<p>We expect no big issues with it. Kdenlive is the only known application that does not build at the moment and will be patched. kde-base/kstyles-4.7.* needs to be rebuilt after the upgrade, which we’ll solve with a combination of revbump/dependencies (otherwise KDE apps using oxygen style crash).</p>
<p><b>7) Dropping RPATH from installed binaries</b></p>
<p>Postponed for next meeting, need more info from reavertm and/or hardened herd.</p>
<p><b> <img alt="8)" class="wp-smiley" src="http://blogs.gentoo.org/tampakrap/wp-includes/images/smilies/icon_cool.gif"/> To eselect Boost or not to eselect boost</b></p>
<p>No final decision was taken, discussion will be moved to -dev mailing list.</p>
<p><b>9) Bugs</b></p>
<p><b>* dev-util/cmake picks always the latest boost.</b><b> Fix in overlay since 13. Dec. Move to tree? </b><a href="https://bugs.gentoo.org/show_bug.cgi?id=335108">https://bugs.gentoo.org/show_bug.cgi?id=335108</a></p>
<p>see 8.</p>
<p><b>* cmake-utils.eclass PREFIX is not defined, any progress?</b> <a href="https://bugs.gentoo.org/show_bug.cgi?id=335108">https://bugs.gentoo.org/show_bug.cgi?id=358059</a></p>
<p>Postponed for next meeting</p>
<p><b>* Remove hard dep on media-libs/phonon from kde-base/kdelibs</b> <a href="https://bugs.gentoo.org/show_bug.cgi?id=356681">https://bugs.gentoo.org/show_bug.cgi?id=356681</a> <a href="https://bugs.gentoo.org/show_bug.cgi?id=388041">https://bugs.gentoo.org/show_bug.cgi?id=388041</a></p>
<p>Although it is possible to build kdelibs against qt-phonon, it is not recommended by upstream. Decision postponed for next meeting.</p>
<p><b>* Eclass problem with handbook without LINGUAS.</b> <a href="https://bugs.gentoo.org/show_bug.cgi?id=372457">https://bugs.gentoo.org/show_bug.cgi?id=372457</a></p>
<p>Needs more analysis. Postponed.</p>
<p><b>* MacOSX request for cmake-utils.eclass: Remove force of  CMAKE_BUILD_WITH_INSTALL_RPATH=TRUE</b> <a href="https://bugs.gentoo.org/show_bug.cgi?id=398437">https://bugs.gentoo.org/show_bug.cgi?id=398437</a></p>
<p>That was a request by the Gentoo Prefix team, and got accepted</p>
<p><b>* Revise the change “semantic-desktop? -&gt; semantic-desktop=”. Why was the change needed.</b> <a href="https://bugs.gentoo.org/show_bug.cgi?id=396491">https://bugs.gentoo.org/show_bug.cgi?id=396491</a></p>
<p>We had split opinions on this. Skipped for next meeting, as we need reavertm’s input on this.</p>
<p><b>10) Open floor</b></p>
<p/>
<ul>
<li>Tampakrap will make a KDE SC 4.8 release party in Prague, more info coming soon.</li>
<li>Qt meeting on Thursday 26th Jan.</li>
<li>See you at fosdem <img alt=":)" class="wp-smiley" src="http://blogs.gentoo.org/tampakrap/wp-includes/images/smilies/icon_smile.gif"/> </li>
</ul>
<div style="text-align: right;"><i>Meeting Log can be found <a href="http://www.gentoo.org/proj/en/desktop/kde/meeting-logs/kde-project-meeting-log-20120116.txt">here</a></i></div>
<div style="text-align: center;"><a href="http://www.fosdem.org"><img alt="I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting" src="http://www.fosdem.org/promo/going-to"/></a></div></div>
    </content>
    <updated>2012-01-21T15:52:03Z</updated>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="Planet Hellug"/>
    <category term="Planet KDE"/>
    <category term="Planet &#x395;&#x39B;/&#x39B;&#x391;&#x39A;"/>
    <category term="fosdem"/>
    <category term="gentoo"/>
    <category term="kde"/>
    <category term="meeting"/>
    <author>
      <name>tampakrap</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/tampakrap</id>
      <link href="http://blogs.gentoo.org/tampakrap/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/tampakrap" rel="alternate" type="text/html"/>
      <subtitle>cache rulez everything around me</subtitle>
      <title>Straight from tha bloK</title>
      <updated>2012-02-06T22:07:59Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.jolexa.net/?p=896</id>
    <link href="http://blog.jolexa.net/2012/01/20/skydive-arizona-2011-holiday-boogie/" rel="alternate" type="text/html"/>
    <title>Skydive Arizona: 2011 Holiday Boogie</title>
    <summary>(I realize that I go on 7-8 skydiving “trips” per year and I often don’t write about them. It may be fun to read about the special events later, so I’m going to try my best to publicly write about my adventures. For an aggregation of random skydiving blogs, check out planetskydive.net) A few weeks [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>(I realize that I go on 7-8 skydiving “trips” per year and I often don’t write about them. It may be fun to read about the special events later, so I’m going to try my best to publicly write about my adventures. For an aggregation of random skydiving blogs, check out <a href="http://planetskydive.net/">planetskydive.net</a>)</p>
<p>A few weeks ago, I returned from a 12 day skydiving trip to <a href="http://www.skydiveaz.com/">Skydive Arizona</a>. The highlights of this trip were 2011 Holiday Boogie, freefly load organizers, an hour of <a href="http://planetskydive.net/">tunnel</a> time, getting food poisoning, and a CRW Bigway camp. All while meeting new and old friends. This was my first far-away skydiving trip that I went on by myself, it takes abit to figure out who to jump with but just introducing yourself to the load organizers helps with that. Soon, they are seeking you out to jump because it is their job to encourage you to spend money <img alt=":)" class="wp-smiley" src="http://blog.jolexa.net/wp-includes/images/smilies/icon_smile.gif"/> </p>
<p>So, a great success overall. I made 53 skydives in 10 days (minus 2 days for the food poisoning incident) and had a great time. There are pictures of the CRW camp, <a href="http://www.laszloimage.com/2012/January_2012/index.htm">here</a>. A couple of my favorites are these…</p>
<p><a href="http://blog.jolexa.net/wp-content/uploads/2012/01/Jan_07_12-038.jpg"><img alt="" class="alignleft size-full wp-image-902" height="600" src="http://blog.jolexa.net/wp-content/uploads/2012/01/Jan_07_12-038.jpg" title="Jan_07_12 038" width="479"/></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>And of course, my cutaway…</p>
<p><a href="http://blog.jolexa.net/wp-content/uploads/2012/01/Jan_07_12-062.jpg"><img alt="" class="alignleft size-full wp-image-903" height="600" src="http://blog.jolexa.net/wp-content/uploads/2012/01/Jan_07_12-062.jpg" title="Jan_07_12 062" width="479"/></a></p></div>
    </content>
    <updated>2012-01-20T17:13:18Z</updated>
    <category term="skydiving"/>
    <category term="skydive arizona"/>
    <author>
      <name>Jeremy Olexa</name>
    </author>
    <source>
      <id>http://blog.jolexa.net</id>
      <link href="http://blog.jolexa.net/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blog.jolexa.net" rel="alternate" type="text/html"/>
      <subtitle>Random thoughts and rants...mostly Linux</subtitle>
      <title>Jeremy's Weblog</title>
      <updated>2012-02-03T17:04:02Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>http://www.gentoo.org/news/20120119-milan-interview-announcement.xml</id>
    <link href="http://www.gentoo.org/news/20120119-milan-interview-announcement.xml" rel="alternate" type="text/html"/>
    <title>Interview with Milan Kazarka</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><center><a href="http://www.gentoo.org/proj/en/pr/images/Milan_poster.jpg"><img alt="" border="0" src="http://www.gentoo.org/proj/en/pr/images/Milan_poster_500.jpg"/></a></center><p><b><span>Milan is from Foresight Media s.r.o, who produce interactive Touch
      Tables, that run Gentoo Linux. One of the products are a low cost
      alternative to Microsoft's Surface. Be sure to check out an <a href="http://www.simplemediaplatform.com/">overview of their
        products</a>. Milan, thank you very much for your time. My first
      question is this:</span></b></p><ol><li>Who is Milan and how did you get started with Gentoo?
    <ul><li>I guess I'm a product designer, developer, entrepreneur and part time
        artist living in Central Europe usually in Vienna, Bratislava and
        Prague. To be able to create inventions, new gadgets you either need a
        ton of money or you learn how to do many things by yourself in a garage
        or in my case in my atelier. For me it would be quite depressing to
        ‘just design' something :) And so I create prototypes, which I push
        into serial production like my touch table designs. When I was 13 years
        old I accidentally saw a magazine with a penguin. I thought it was a
        cool logo of something. Then I saw it said that there's a free CD of an
        operating system that I haven't heard of. I could not hack my
        pre-installed commercial software enough and so I gave it a try and I
        guess it's the usual story of many Open Source and Linux geeks from
        there on :) After some time using various Linux distributions I saw
        that the complexity and the number of regressions in many of them has
        become so high over the years that I needed a system that would let me
        stay in control and a system that would value it's own design. Gentoo
        was a natural choice.</li></ul></li></ol><p>
  Be sure to check out the <b><a href="http://www.gentoo.org/proj/en/pr/20120119-milan-interview.xml">Full Interview!</a></b></p><p><a href="http://forums.gentoo.org/viewtopic-p-6933168.html">Discuss
    this!</a></p></div>
    </summary>
    <updated>2012-01-20T11:04:33Z</updated>
    <category term="gentoo"/>
    <author>
      <name>David Abbott</name>
    </author>
    <source>
      <id>http://www.gentoo.org/</id>
      <author>
        <name/>
        <email>www@gentoo.org</email>
      </author>
      <link href="http://www.gentoo.org/" rel="alternate" type="text/html"/>
      <link href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" rel="self" type="application/rdf+xml"/>
      <subtitle>Gentoo Linux News</subtitle>
      <title>Gentoo Linux News</title>
      <updated>2012-01-24T12:04:21Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.hartwork.org/?p=1566</id>
    <link href="http://blog.hartwork.org/?p=1566" rel="alternate" type="text/html"/>
    <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
    <title>uriparser 0.7.6 released</title>
    <summary>This release features build system changes and fixes. Please check the change log for details. This release is both source- and binary compatible. Download: https://sourceforge.net/projects/uriparser/files/Sources/0.7.6/ Change log: http://uriparser.git.sourceforge.net/git/gitweb.cgi?p=uriparser/uriparser;a=blob;f=ChangeLog</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>This release features build system changes and fixes. Please check the <a href="http://uriparser.git.sourceforge.net/git/gitweb.cgi?p=uriparser/uriparser;a=blob;f=ChangeLog">change log</a> for details. This release is both source- and binary compatible.</p>
<p><strong>Download:</strong><br/>
<a href="https://sourceforge.net/projects/uriparser/files/Sources/0.7.6/">https://sourceforge.net/projects/uriparser/files/Sources/0.7.6/</a></p>
<p><strong>Change log:</strong><br/>
<a href="http://uriparser.git.sourceforge.net/git/gitweb.cgi?p=uriparser/uriparser;a=blob;f=ChangeLog">http://uriparser.git.sourceforge.net/git/gitweb.cgi?p=uriparser/uriparser;a=blob;f=ChangeLog</a></p></div>
    </content>
    <updated>2012-01-20T01:45:19Z</updated>
    <category term="uriparser"/>
    <author>
      <name>sping</name>
    </author>
    <source>
      <id>http://blog.hartwork.org</id>
      <link href="http://blog.hartwork.org/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://blog.hartwork.org" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
      <subtitle>Free Software and Music</subtitle>
      <title>Hartwork Blog</title>
      <updated>2012-01-22T02:04:22Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>http://www.gentoo.org/news/20120118-scale-10x.xml</id>
    <link href="http://www.gentoo.org/news/20120118-scale-10x.xml" rel="alternate" type="text/html"/>
    <title>Gentoo at SCALE 10x</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="http://www.socallinuxexpo.org">SCALE 10x</a> is almost here, and
Gentoo will be there!
</p><p>
Southern California's premier open-source software event is just around the
corner, running from Friday, January 20 through Sunday, January 22. Several
Gentoo developers will be there; it will be even bigger than previous years.
</p><p>
We'll be showing off some nifty devices running Gentoo, and we'll be giving out
installation media. Whether you're a developer, user, or simply curious, be sure
to stop by <a href="http://www.socallinuxexpo.org/scale10x/exhibitors/gentoo">booth #70</a>.
See you there!
</p><p><a href="http://forums.gentoo.org/viewtopic-p-6932582.html">Discuss this!</a></p></div>
    </summary>
    <updated>2012-01-18T10:04:34Z</updated>
    <category term="gentoo"/>
    <author>
      <name>Joshua Saddler</name>
    </author>
    <source>
      <id>http://www.gentoo.org/</id>
      <author>
        <name/>
        <email>www@gentoo.org</email>
      </author>
      <link href="http://www.gentoo.org/" rel="alternate" type="text/html"/>
      <link href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" rel="self" type="application/rdf+xml"/>
      <subtitle>Gentoo Linux News</subtitle>
      <title>Gentoo Linux News</title>
      <updated>2012-01-24T12:04:21Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://dberkholz.com/?p=755</id>
    <link href="http://dberkholz.com/2012/01/18/if-youre-in-europe-go-to-monki-gras/" rel="alternate" type="text/html"/>
    <link href="http://dberkholz.com/2012/01/18/if-youre-in-europe-go-to-monki-gras/#comments" rel="replies" type="text/html"/>
    <link href="http://dberkholz.com/2012/01/18/if-youre-in-europe-go-to-monki-gras/feed/atom/" rel="replies" type="application/atom+xml"/>
    <title xml:lang="en">If you’re in Europe, go to Monki Gras</title>
    <summary type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml">To my European readers: if you care about the impact of social technologies like Git (and GitHub) &amp; how they’re transforming software development, or the impact of social technology on communities, and you enjoy good beer, you need to be at Monki Gras. I just posted over at my RedMonk blog about how the previous [...]<img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=dberkholz.com&amp;blog=2962469&amp;post=755&amp;subd=dberkholz&amp;ref=&amp;feed=1" width="1"/></div>
    </summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>To my European readers: <strong>if you care about the impact of social technologies like Git (and GitHub) &amp; how they’re transforming software development, or the impact of social technology on communities, and you enjoy good beer, you need to be at <a href="http://monkigras.com/" title="Monki Gras">Monki Gras</a>.</strong> I <a href="http://redmonk.com/dberkholz/2012/01/17/why-you-need-to-come-to-monki-gras-or-a-monktoberfest-redux/" title="Why you need to come to Monki Gras (OR, a Monktoberfest redux)  Read more: http://redmonk.com/dberkholz/2012/01/17/why-you-need-to-come-to-monki-gras-or-a-monktoberfest-redux/#ixzz1jmpqdSxm">just posted</a> over at my RedMonk blog about how the previous conference in the series, Monktoberfest, was the best conference of my life. And I’ve been to many.</p>
<p><a href="http://monkigras.com/" title="Monki Gras">Monki Gras</a> is Feb. 1–2 in London. The timing’s perfect to stop by just before <a href="http://fosdem.org/2012/" title="FOSDEM">FOSDEM</a> (and that’s exactly what I’m doing). Registration is dirt-cheap, speakers are universally top-notch, and you’ll also get some world-class beers in the package.</p>
<br/> Tagged: <a href="http://dberkholz.com/tag/community/">community</a>, <a href="http://dberkholz.com/tag/development/">development</a>, <a href="http://dberkholz.com/tag/gentoo/">gentoo</a> <a href="http://feeds.wordpress.com/1.0/gocomments/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/godelicious/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/gostumble/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/godigg/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dberkholz.wordpress.com/755/"/></a> <a href="http://feeds.wordpress.com/1.0/goreddit/dberkholz.wordpress.com/755/" rel="nofollow"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dberkholz.wordpress.com/755/"/></a> <img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=dberkholz.com&amp;blog=2962469&amp;post=755&amp;subd=dberkholz&amp;ref=&amp;feed=1" width="1"/></div>
    </content>
    <updated>2012-01-18T06:02:23Z</updated>
    <published>2012-01-18T06:02:23Z</published>
    <category scheme="http://dberkholz.com" term="Blog"/>
    <category scheme="http://dberkholz.com" term="community"/>
    <category scheme="http://dberkholz.com" term="development"/>
    <category scheme="http://dberkholz.com" term="gentoo"/>
    <author>
      <name>Donnie Berkholz</name>
      <uri>http://dberkholz.wordpress.com/</uri>
    </author>
    <source>
      <id>http://dberkholz.com/feed/atom/</id>
      <link href="http://dberkholz.com" rel="alternate" type="text/html"/>
      <link href="http://dberkholz.com/feed/atom/" rel="self" type="application/atom+xml"/>
      <link href="http://dberkholz.com/osd.xml" rel="search" title="Striving for greatness" type="application/opensearchdescription+xml"/>
      <link href="http://wordpress.com/opensearch.xml" rel="search" title="WordPress.com" type="application/opensearchdescription+xml"/>
      <link href="http://dberkholz.com/?pushpress=hub" rel="hub" type="text/html"/>
      <subtitle xml:lang="en">The life and times of a Gentoo developer and leader</subtitle>
      <title xml:lang="en">Striving for greatness</title>
      <updated>2012-01-18T06:02:29Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/johu/?p=51</id>
    <link href="http://blogs.gentoo.org/johu/2012/01/17/meeting-bits/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>Meeting bits</title>
    <summary>Yesterday (2012/01/16 20:00 UTC) we had the first Gentoo KDE team meeting this year. The meeting happened in #gentoo-meetings on freenode. Participants: alexxy, dilfridge, jmbsvicetto, johu, mschiff, tampakrap, Thev00d00 Agenda Log Lead election is delayed, because 12 months not over We keep kdepim-4.4 in tree as long as it works and provide kdepim-l10n package Kdeenablefinal build [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Yesterday (2012/01/16 20:00 UTC) we had the first Gentoo KDE team meeting this year. The meeting happened in #gentoo-meetings on freenode.</p>
<ul>
<li>Participants: alexxy, dilfridge, jmbsvicetto, johu, mschiff, tampakrap, Thev00d00</li>
<li><a href="http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob;f=Documentation/maintainers/meetings/meeting-2012-01;h=94d33247886804304fa95957699ed937366891fb;hb=HEAD" title="Gentoo KDE team meeting agenda 2012/01">Agenda</a></li>
<li><a href="http://www.gentoo.org/proj/en/desktop/kde/meeting-logs/kde-project-meeting-log-20120116.txt" title="Gentoo KDE team meeting log 2012/01">Log</a></li>
<li>Lead election is delayed, because 12 months not over</li>
<li>We keep kdepim-4.4 in tree as long as it works and provide kdepim-l10n package</li>
<li>Kdeenablefinal build feature will be removed today</li>
<li>Phonon xine backend will be removed in 15 days</li>
<li>We expect no big issues with Qt 4.8,  only kdenlive is not building at the moment</li>
<li>eselect boost vs. latest boost is not a Gentoo KDE scope only issue, we will move the discussion to the gentoo-dev mailing list</li>
<li>… read log <img alt=":P" class="wp-smiley" src="http://blogs.gentoo.org/johu/wp-includes/images/smilies/icon_razz.gif"/>  or wait for the <a href="http://blogs.gentoo.org/tampakrap/gentoo-kde-team-january-2012-meeting/" title="Gentoo KDE team meeting 2012/01 summary">full summary</a> by tampakrap</li>
<li>My netbook had a kernel panic while the meeting  :-/</li>
</ul>
<div>After the meeting i joined the Gentoo Qt team.</div></div>
    </content>
    <updated>2012-01-17T09:13:43Z</updated>
    <category term="Gentoo"/>
    <category term="KDE"/>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="Planet KDE"/>
    <category term="alexx"/>
    <category term="dilfridge"/>
    <category term="gentoo"/>
    <category term="irc"/>
    <category term="jmbsvicetto"/>
    <category term="johu"/>
    <category term="kde"/>
    <category term="kdeenablefinal"/>
    <category term="kernel panic"/>
    <category term="linux"/>
    <category term="meeting"/>
    <category term="mschiff"/>
    <category term="phonon"/>
    <category term="Qt"/>
    <category term="tampakrap"/>
    <category term="team"/>
    <category term="Thev00d00"/>
    <author>
      <name>johu</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/johu</id>
      <link href="http://blogs.gentoo.org/johu/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/johu" rel="alternate" type="text/html"/>
      <subtitle>part of the german gentoo(-kde) conspiracy</subtitle>
      <title>johu</title>
      <updated>2012-01-23T08:04:13Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://arunraghavan.net/?p=1189</id>
    <link href="http://arunraghavan.net/2012/01/pulseaudio-vs-audioflinger-fight/" rel="alternate" type="text/html"/>
    <title>PulseAudio vs. AudioFlinger: Fight!</title>
    <summary>I’ve been meaning to try this for a while, and we’ve heard a number of requests from the community as well. Recently, I got some time here at Collabora to give it a go — that is, to get PulseAudio running on an Android device and see how it compares with Android’s AudioFlinger. The Contenders [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I’ve been meaning to try this for a while, and we’ve heard a number of requests from the community as well. Recently, I got some time here at <a href="http://www.collabora.com/projects/pulseaudio">Collabora</a> to give it a go — that is, to get PulseAudio running on an Android device and see how it compares with Android’s AudioFlinger.</p>

<h2>The Contenders</h2>

<p>Let’s introduce our contenders first. For those who don’t know, <a href="http://pulseaudio.org/">PulseAudio</a> is pretty much a de-facto standard part of the Linux audio stack. It sits on top of <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> which provides a unified way to talk to the audio hardware and provides a number of handy features that are useful on desktops and embedded devices. I won’t rehash all of these, but this includes a nice modular framework, a bunch of power saving features, flexible routing, and lots more. PulseAudio runs as a daemon, and clients usually use the <tt>libpulse</tt> library to communicate with it.</p>

<p>In the other corner, we have Android’s native audio system — AudioFlinger. AudioFlinger was written from scratch for Android. It provides an API for playback/recording as well as a control mechanism for implementing policy. It does not depend on ALSA, but instead allows for a sort of <acronym title="Hardware Abstraction Layer">HAL</acronym> that vendors can implement any way they choose. Applications generally play audio via layers built on top of AudioFlinger. Even if you write a native application, it would use <a href="http://www.khronos.org/opensles/">OpenSL ES</a> implementation which goes through AudioFlinger. The actual service runs as a thread of the <tt>mediaserver</tt> daemon, but this is merely an implementation detail.</p>

<p><em>Note: all my comments about AudioFlinger and Android in general are based on documentation and code for Android 4.0 (Ice Cream Sandwich).</em></p>

<h2>The Arena</h2>

<p>My test-bed for the tests was the <a href="http://en.wikipedia.org/wiki/Galaxy_Nexus">Galaxy Nexus</a> running Android 4.0 which we shall just abbreviate to ICS. I picked ICS since it is the current platform on which Google is building, and hopefully represents the latest and greatest in AudioFlinger development. The Galaxy Nexus runs a Texas Instruments OMAP4 processor, which is also really convenient since this chip has pretty good support for running stock Linux (read on to see how useful this was).</p>

<h2>Preparations</h2>

<p>The first step in getting PulseAudio on Android was deciding between using the Android <acronym title="Native Development Kit">NDK</acronym> like a regular application or integrate into the base Android system. I chose the latter — even though this was a little more work initially, it made more sense in the long run since PulseAudio really belongs to the base-system.</p>

<p>The next task was to get the required dependencies ported to Android. Fortunately, a lot of the ground work for this was already done by some of the awesome folks at Collabora. Derek Foreman’s <a href="http://cgit.collabora.com/git/user/derek/androgenizer.git/"><tt>androgenizer</tt></a> tool is incredibly handy for converting an <tt>autotools</tt>-based build to Android–friendly makefiles. With Reynaldo Verdejo and Alessandro Decina’s prior work on <a href="http://gstreamer.freedesktop.org/modules/gst-android.html">GStreamer for Android</a> as a reference, things got even easier.</p>

<p>The most painful bit was <tt>libltdl</tt>, which we use for dynamically loading modules. Once this was done, the other dependencies were quite straightforward to port over. As a bonus, the Android source already ships an optimised version of Speex which we use for resampling, and it was easy to reuse this as well.</p>

<p>As I mentioned earlier, vendors can choose how they implement their audio abstraction layer. On the Galaxy Nexus, this is built on top of standard ALSA drivers, and the HAL talks to the drivers via a minimalist <a href="https://github.com/tinyalsa">tinyalsa</a> library. My first hope was to use this, but there was a whole bunch of functions missing that PulseAudio needed. The next approach was to use <a href="http://www.alsa-project.org/main/index.php/SALSA-Library">salsa-lib</a>, which is a stripped down version of the ALSA library written for embedded devices. This too had some missing functions, but these were fewer and easy to implement (and are now <a href="http://git.kernel.org/?p=linux/kernel/git/tiwai/salsa-lib.git;a=commit;h=8485a2bdc725b531794f277cd3e37973a8524830">upstream</a>).</p>

<p>Now if only life were that simple. :) I got PulseAudio running on the Galaxy Nexus with <tt>salsa-lib</tt>, and even got sound out of the HDMI port. Nothing from the speakers though (they’re driven by a TI <a href="http://www.ti.com/product/twl6040">twl6040</a> codec). Just to verify, I decided to port the full <tt>alsa-lib</tt> and <tt>alsa-utils</tt> packages to debug what’s happening (by this time, I’m familiar enough with <tt>androgenizer</tt> for all this to be a breeze). Still no luck. Finally, with some pointers from the kind folks at TI (thanks Liam!), I got current <acronym title="Use Case Manager">UCM</acronym> configuration files for OMAP4 boards, and some work-in-progress patches to add UCM support to PulseAudio, and after a couple of minor fixes, wham! We have output. :)</p>

<p><em>(For those who don’t know about UCM — embedded chips are quite different from desktops and expose a huge amount of functionality via ALSA mixer controls. UCM is an effort to have a standard, meaningful way for applications and users to use these.)</em></p>

<p>In production, it might be handy to write light-weight UCM support for <tt>salsa-lib</tt> or just convert the UCM configuration into PulseAudio path/profile configuration (bonus points if it’s an automated tool). For our purposes, though, just using <tt>alsa-lib</tt> is good enough.</p>

<p>To make the comparison fair, I wrote a simple test program that reads raw PCM S16LE data from a file and plays it via the <tt>AudioTrack</tt> interface provided by AudioFlinger or the PulseAudio <a href="http://freedesktop.org/software/pulseaudio/doxygen/async.html">Asynchronous API</a>. Tests were run with the brightness fixed, wifi off, and USB port connected to my laptop (for adb shell access).</p>

<p>All tests were run with the CPU frequency pegged at 350 MHz and with 44.1 and 48 kHz samples. Five readings were recorded, and the median value was finally taken.</p>

<h2>Round 1: CPU</h2>

<p>First, let’s take a look at how the two compare in terms of CPU usage. The numbers below are the percentage CPU usage taken as the sum of all threads of the audio server process and the audio thread in the client application using <tt>top</tt> (which is why the granularity is limited to an integer percentage).</p>

<table>
<colgroup span="2">
</colgroup><colgroup span="2">
</colgroup><tbody><tr> <th colspan="2">44.1 kHz</th> <th colspan="2">48 kHz</th> </tr>
<tr> <th>AF</th> <th>PA</th> <th>AF</th> <th>PA</th> </tr>
<tr> <td>1%</td> <td>1%</td> <td>2%</td> <td>0%</td> </tr>
</tbody></table>

<p>At 44.1 kHz, the two are essentially the same. Both cases are causing resampling to occur (the native sample rate for the device is 48 kHz). Resampling is done using the Speex library, and we’re seeing minuscule amounts of CPU usage even at 350 MHz, so it’s clear that the NEON optimisations are really paying off here.</p>

<p>The astute reader would have noticed that since the device’ native sample rate is 48 kHz, the CPU usage for 48 kHz playback should be less than for 44.1 kHz. This is true with PulseAudio, but not with AudioFlinger! The reason for this little quirk is that AudioFlinger provides 44.1 kHz samples to the HAL (which means the stream is resampled there), and then the HAL needs to resample it again to 48 kHz to bring it to the device’ native rate. From what I can tell, this is a matter of convention with regards to what audio HALs should expect from AudioFlinger (do correct me if I’m mistaken about the rationale).</p>

<p>So round 1 leans slightly in favour of PulseAudio.</p>

<h2>Round 2: Memory</h2>

<p>Comparing the memory consumption of the server process is a bit meaningless, because the AudioFlinger daemon thread shares an address space with the rest of the <tt>mediaserver</tt> process. For the curious, the resident set size was: AudioFlinger — 6,796 KB, PulseAudio — 3,024 KB. Again, this doesn’t really mean much.</p>

<p>We can, however, compare the client process’ memory consumption. This is <acronym title="Resident Set Size">RSS</acronym> in kilobytes, measured using <tt>top</tt>.</p>

<table>
<colgroup span="2">
</colgroup><colgroup span="2">
</colgroup><tbody><tr> <th colspan="2">44.1 kHz</th> <th colspan="2">48 kHz</th> </tr>
<tr> <th>AF</th> <th>PA</th> <th>AF</th> <th>PA</th> </tr>
<tr> <td>2600 kB</td> <td>3020 kB</td> <td>2604 kB</td> <td>3020 kB</td> </tr>
</tbody></table>

<p>The memory consumption is comparable between the two, but leans in favour of AudioFlinger.</p>

<h2>Round 3: Power</h2>

<p>I didn’t have access to a power monitor, so I decided to use a couple of indirect metrics to compare power utilisation. The first of these is <a href="http://www.lesswatts.org/projects/powertop/">PowerTOP</a>, which is actually a Linux desktop tool for monitoring various power metrics. Happily, someone had already <a href="https://gitorious.org/android/powertop">ported PowerTOP to Android</a>. The tool reports, among other things, the number of wakeups-from-idle per second for the processor as a whole, and on a per-process basis. Since there are multiple threads involved, and PowerTOP’s per-process measurements are somewhat cryptic to add up, I used the global wakeups-from-idle per second. The “Idle” value counts the number of wakeups when nothing is happening. The actual value is very likely so high because the device is connected to my laptop in USB debugging mode (lots of wakeups from USB, and the device is prevented from going into a full sleep).</p>

<table>
<colgroup span="1">
</colgroup><colgroup span="2">
</colgroup><colgroup span="2">
</colgroup><tbody><tr> <th/> <th colspan="2">44.1 kHz</th> <th colspan="2">48 kHz</th> </tr>
<tr> <th>Idle</th> <th>AF</th> <th>PA</th> <th>AF</th> <th>PA</th> </tr>
<tr> <td>79.6</td> <td>107.8</td> <td>87.3</td> <td>108.5</td> <td>85.7</td> </tr>
</tbody></table>

<p>The second, similar, data point is the number of interrupts per second reported by <tt>vmstat</tt>. These corroborate the numbers above:</p>

<table>
<colgroup span="1">
</colgroup><colgroup span="2">
</colgroup><colgroup span="2">
</colgroup><tbody><tr> <th/> <th colspan="2">44.1 kHz</th> <th colspan="2">48 kHz</th> </tr>
<tr> <th>Idle</th> <th>AF</th> <th>PA</th> <th>AF</th> <th>PA</th> </tr>
<tr> <td>190</td> <td>266</td> <td>215</td> <td>284</td> <td>207</td> </tr>
</tbody></table>

<p>PulseAudio’s power-saving features are clearly highlighted in this comparison. AudioFlinger causes <em>about three times the number of wakeups per second</em> that PulseAudio does. Things might actually be worse on older hardware with less optimised drivers than the Galaxy Nexus (I’d appreciate reports from running similar tests on a Nexus S or any other device with ALSA support to confirm this).</p>

<p>For those of you who aren’t familiar with PulseAudio, the reason we manage to get these savings is our timer-based scheduling mode. In this mode, we fill up the hardware buffer as much as possible and go to sleep (disabling ALSA interrupts while we’re at it, if possibe). We only wake up when the buffer is nearing empty, and fill it up again. More details can be found in this old <a href="http://0pointer.de/blog/projects/pulse-glitch-free.html">blog post by Lennart</a>.</p>

<h2>Round 4: Latency</h2>

<p>I’ve only had the Galaxy Nexus to actually try this out with, but I’m pretty certain I’m not the only person seeing <a href="http://code.google.com/p/android/issues/detail?id=3434">latency issues on Android</a>. On the Galaxy Nexus, for example, the best latency I can get appears to be 176 ms. This is pretty high for certain types of applications, particularly ones that generate tones based on user input.</p>

<p>With PulseAudio, where we dynamically adjust buffering based on what clients request, I was able to drive down the total buffering to approximately 20 ms (too much lower, and we started getting dropouts). There is likely room for improvement here, and it is something on my todo list, but even out-of-the-box, we’re doing quite well.</p>

<h2>Round 5: Features</h2>

<p>With the hard numbers out of the way, I’d like to talk a little bit about what else PulseAudio brings to the table. In addition to a playback/record API, AudioFlinger provides mechanism for enforcing various bits of policy such as volumes and setting the “active” device amongst others. PulseAudio exposes similar functionality, some as part of the client API and the rest via the core API exposed to modules.</p>

<p>From <acronym title="System-on-Chip">SoC</acronym> vendors’ perspective, it is often necessary to support both Android and standard Linux on the same chip. Being able to focus only on good quality ALSA drivers and knowing that this will ensure quality on both these systems would be a definite advantage in this case.</p>

<p>The current Android system leaves power management to the audio HAL. This means that each vendor needs to implement this themselves. Letting PulseAudio manage the hardware based on requested latencies and policy gives us a single point of control, greatly simplifying the task of power-management and avoiding code duplication.</p>

<p>There are a number of features that PulseAudio provides that can be useful in the various scenarios where Android is used. For example, we support transparently streaming audio over the network, which could be a handy way of supporting playing audio from your phone on your TV completely transparently and out-of-the-box. We also support compressed formats (AC3, DTS, etc.) which the ongoing Android-on-your-TV efforts could likely take advantage of.</p>

<p><em>Edit: As someone pointed out on LWN, I missed one thing — AudioFlinger has an effect API that we do not yet have in PulseAudio. It’s something I’d definitely like to see added to PulseAudio in the future.</em></p>

<h2>Ding! Ding! Ding!</h2>

<p>That pretty much concludes the comparison of these two audio daemons. Since the Android-side code is somewhat under-documented, I’d welcome comments from readers who are familiar with the code and history of AudioFlinger.</p>

<p>I’m in the process of pushing all the patches I’ve had to write to the various upstream projects. A number of these are merely build system patches to integrate with the Android build system, and I’m hoping projects are open to these. Instructions on building this code will be available on the <a href="http://www.pulseaudio.org/wiki/Android">PulseAudio Android wiki page</a>.</p>

<p>For future work, it would be interesting to write a wrapper on top of PulseAudio that exposes the AudioFlinger audio and policy APIs — this would basically let us run PulseAudio as a drop-in AudioFlinger replacement. In addition, there are potential performance benefits that can be derived from using Android-specific infrastructure such as Binder (for <acronym title="Inter-Process Communication">IPC</acronym>) and <tt>ashmem</tt> (for transferring audio blocks as shared memory segments, something we support on desktops using the standard Linux SHM mechanism which is not available on Android).</p>

<p>If you’re an OEM who is interested in this work, you can get in touch with us — details are on the <a href="http://www.collabora.com/contact/">Collabora website</a>.</p>

<p>I hope this is useful to some of you out there!</p></div>
    </content>
    <updated>2012-01-16T12:22:30Z</updated>
    <category term="Blog"/>
    <category term="android"/>
    <category term="collabora"/>
    <category term="f/oss"/>
    <category term="linux"/>
    <category term="pulseaudio"/>
    <category term="work"/>
    <author>
      <name>Arun</name>
    </author>
    <source>
      <id>http://arunraghavan.net</id>
      <link href="http://arunraghavan.net/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://arunraghavan.net" rel="alternate" type="text/html"/>
      <subtitle>Extremely pithy tagline here</subtitle>
      <title>Arun Raghavan</title>
      <updated>2012-01-17T08:05:00Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5492</id>
    <link href="http://blog.flameeyes.eu/2012/01/16/patching-up-a-monster-of-frankeinsteinian-proportions" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">Patching up a monster of frankeinsteinian proportions</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>I’ve spent the first week of the year on vacation with some friends. The second week of the year has been mixed between going on with the jobs I should have gotten working already, fighting a bad case of cold, and getting insulted by a customer of mine for actually having gotten real vacation time for once in two years. More to the point: said customer doesn’t actually pay me overtime, or actually at all for the support.</p>
<p>Tonight I wanted to relax and think about my own needs. Not personal needs, alas, but at least needs for my work to become easier. Since I haven’t made any progress at all <a href="http://blog.flameeyes.eu/tag/rt">regarding RT</a> I decided to look into a different need of mine: cataloguing customers’ computers.</p>
<p>I originally simply kept a file listing the computers I set up for customers — then I started getting more customers, and sometimes getting a computer back after many months since last time. And I started forgetting which computer was which. Nowadays I have 79 computers on my “database” (which is just a git repository with a bunch of <span class="caps">HTML</span> files as well as <code>lshw</code> dumps), without counting those that have been dismissed.</p>
<p>To recognise the computers, I started printing labels with a QR Code on them, which contains the <span class="caps">URL</span> of the computer’s <span class="caps">HTML</span> file on my website (password-protected). My original method required me to feed a multi-label A4 sheet into my laser printer and print one, two or three labels out on that… but it turned out to be a waste of time and of money in sheets, given that most of the time I ended up wasting half of it, as the printer refused to print aligned more than half the time. I’ve since bought a Dymo label printer, which is why you’ll find their drivers in Portage maintained by yours truly — the nice thing about Dymo’s label printers is that their drivers are fully <span class="caps">GPL</span>-2, while as far as I can tell both Zebra and Brother have binary blobs, that make them unsuitable for use on amd64-based systems.</p>
<p>As you can tell, there are a few things that I did in Gentoo that relate to this little “database” of mine: the <code>lshw</code> fixes to try getting it back into SysRescueCD (it’s still not there — and I lost the password for my account on their forums), the Dymo drivers noted above, and <code>dev-ruby/barby</code> which is a quite interesting library that allows you to generate almost any kind of barcode. And now it’s time of <a href="http://blog.flameeyes.eu/tag/mongo">MongoDB Ruby libraries</a> as I’m trying to write an actual web application to manage the “database” and make it a <em>real</em> database.</p>
<p>Today’s achievement is big: I finally got Rails (3.1) to play nice with MongoDB. Not using MongoMapper, the author of which, as I <a href="http://blog.flameeyes.eu/2011/12/21/gems-make-it-a-battle-between-the-developer-and-the-packager">already talked about</a> I would prefer not having much to discuss with. But thanks to Mauro I got pointed at <a href="http://mongoid.org/">Mongoid</a> which is a much more well developed alternative.</p>
<p>Okay sure there are quite a few things to kink out in the packaging of Mongoid – for instance the fact that the gem packages a Rakefile that relies on a (missing) Gemfile, or the fact that two out of three rspec targets in said Rakefile fail, one of which by crashing the interpeter – but at least their unit-tests work, and the code works as intended when loaded it up. Which is more I can say about MongoMapper.</p>
<p>Oh and it doesn’t seem to require extra code to be added just to work correctly with Passenger.</p>
<p>The only problem I have now is fixing up one side issue: how do I print the labels once I load this into my webserver? I could download the <span class="caps">PDF</span> I use to print the label and then print that.. but it’s a bit of a time-waster. Of course both the server and Yamato (where the label printer is connected) are IPv6-enabled and .. well, the <span class="caps">IPP</span> protocol used by <span class="caps">CUPS</span> is fine to be used over the internet, as it can use <span class="caps">SSL</span> encryption. Which yes, means that I’ll be setting up a web application … that calls home to print a label, how crazy is that?</p>
<p>My only issue with this is that I’d rather not install cups on the webserver (especially since there is currently no way to just build the client side of it, which would be the only part of it I would need on the server — yeah I know, it’s funky), so I can’t just call <code>lpr mylabel.pdf</code>… and as far as I can tell, the only way to access <span class="caps">IPP</span> from Ruby is one of the many <span class="caps">CUPS</span> library bindings available as gems, which are all <code>0.0</code> versions, and do not inspire me the least. Since <span class="caps">IPP</span> is based off <span class="caps">HTTP</span>, I would have expected more implementations of it, to be honest.</p>
<p>Possibly, it should be possible to extend some <span class="caps">HTTP</span> Ruby library to send <span class="caps">IPP</span> requests as well; for what I’m concerned, I’d just need the “Print-Job” method to be implemented, which would allow me to send the <span class="caps">PDF</span> file to be printed with the default options. I guess I’ll resolve that bit once I’m done with the rest of my application, though.</p></div>
    </content>
    <updated>2012-01-16T04:19:10Z</updated>
    <published>2012-01-16T04:19:10Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <category scheme="http://blog.flameeyes.eu/tag/ruby" term="Ruby"/>
    <category scheme="http://blog.flameeyes.eu/tag/mongodb" term="MongoDB"/>
    <category scheme="http://blog.flameeyes.eu/tag/mongo" term="Mongo"/>
    <category scheme="http://blog.flameeyes.eu/tag/qr" term="QR"/>
    <category scheme="http://blog.flameeyes.eu/tag/qrcode" term="QRCode"/>
    <category scheme="http://blog.flameeyes.eu/tag/ipp" term="IPP"/>
    <category scheme="http://blog.flameeyes.eu/tag/cups" term="CUPS"/>
    <category scheme="http://blog.flameeyes.eu/tag/dymo" term="Dymo"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.siphos.be/?p=538</id>
    <link href="http://blog.siphos.be/2012/01/trying-out-initramfs-with-selinux-and-grsec/" rel="alternate" type="text/html"/>
    <title>Trying out initramfs with selinux and grsec</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">I’m no fan of initramfs. All my systems boot up just fine without it, so I often see it as an additional layer of obfuscation. But there are definitely cases where initramfs is needed, and from the looks of it, … <a href="http://blog.siphos.be/2012/01/trying-out-initramfs-with-selinux-and-grsec/">Continue reading <span class="meta-nav">→</span></a></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>
I’m no fan of initramfs. All my systems boot up just fine without it, so I often see it as an additional layer of obfuscation. But there are definitely cases where initramfs is needed, and from the <a href="http://thread.gmane.org/gmane.linux.gentoo.devel/74464">looks of it</a>, we might be needing to push out some documentation and support for initramfs. Since my primary focus is to look at a hardened system, I started playing with initramfs together with Gentoo Hardened, grSecurity and SELinux. And what a challenge it was…
</p>
<p>
But first, a quick introduction to initramfs. The Linux kernel supports <em>initrd</em> images for quite some time. These images are best seen as loopback-mountable images containing a whole file system that the Linux kernel boots as the root device. On this initrd image, a set of tools and scripts then prepare the system and finally switch towards the real root device. The initrd feature was often used when the root device is a network-mounted location or on a file system that requires additional activities (like an encrypted file system or even on LVM. But it also had some difficulties with it.
</p>
<p>
Using a loopback-mountable image means that this is seen as a full device (with file system on it), so the Linux kernel also tries caching the files on it, which leads to some unwanted memory consumption. It is a static environment, so it is hard to grow or shrink it. Every time an administrator creates an initrd, he needs to carefully design (capacity-wise) the environment not to request too much or too little memory.
</p>
<p>
Enter <em>initramfs</em>. The concept is similar: an environment that the Linux kernel boots as a root device which is used to prepare for booting further from the real root file systems. But it uses a different approach. First of all, it is no longer a loopback-mountable image, but a cpio archive that is used on a tmpfs file system. Unlike initrd, tmpfs can grow or shrink as necessary, so the administrator doesn’t need to plan the capacity of the image. And because it is a tmpfs file system, the Linux kernel doesn’t try to cache the files in memory (as it knows they already are in memory).
</p>
<p>
There are undoubtedly more advantages to initramfs, but let’s stick to the primary objective of this post: talk about its implementation on a hardened system.
</p>
<p>
I started playing with <b>dracut</b>, a tool to create initramfs archives which is seen as a widely popular implementation (and suggested on the gentoo development mailinglist). It uses a simple, modular approach to building initramfs archives. It has a base, which includes a small <code>init</code> script and some device handling (based on <code>udev</code>), and modules that you can add depending on your situation (such as adding support for RAID devices, LVM, NFS mounted file systems etc.)
</p>
<p>
On a SELinux system (using a strict policy, enforcing mode) running dracut in the <code>sysadm_t</code> domain doesn’t work, so I had to create a <code>dracut_t</code> domain (which has been pushed to the Portage tree yesterday). But other than that, it is for me sufficient to call dracut to create an initramfs:
</p>
<pre># dracut -f "" 3.1.6-hardened
</pre>
<p>
My grub then has an additional set of lines like so:
</p>
<pre>title Gentoo Linux Hardened (initramfs)
root (hd0,0)
kernel /boot/vmlinuz-3.1.6-hardened root=/dev/vda1 console=ttyS0 console=tty0
initrd /boot/initramfs-3.1.6-hardened.img
</pre>
<p>
Sadly, the bugger didn’t boot. The first problem I hit was that the Linux kernel I boot has chroot restrictions in it (grSecurity). These restrictions further tighten chroot environments so that it is much more difficult to “escape” a chroot. But <b>dracut</b>, and probably all others, use <b>chroot</b> to further prepare the bootup and eventually switch to the chrooted environment to boot up further. Having the chroot restrictions enabled effectively means that I cannot use initramfs environments. To work around, I enabled <em>sysctl</em> support for all the chroot restrictions and made sure that their default behavior is to be disabled. Then, when the system boots up, it enables the restrictions later in the boot process (through the <code>sysctl.conf</code> settings) and then locks these settings (thanks to grSecurity’s <code>grsec_lock</code> feature) so that they cannot be disabled anymore later.
</p>
<p>
But no, I did get further, up to the point that either the openrc init is called (which tries to load in the SELinux policy and then breaks) or that the initramfs tries to load the SELinux policy – and then breaks. The problem here is that there is too much happening before the SELinux policy is loaded. Files are created (such as device files) or manipulated, chroots are prepared, udev is (temporarily) ran, mounts are created, … all before a SELinux policy is loaded. As a result, the files on the system have incorrect contexts and the moment the SELinux policy is loaded, the processes get denied all access and other privileges they want against these (wrongly) labeled files. And since after loading the SELinux policy, the process runs in <code>kernel_t</code> domain, it doesn’t have the privileges to relabel the entire system, let alone call commands.
</p>
<p>
This is currently where I’m stuck. I can get the thing boot up, if you temporarily work in permissive mode. When the openrc init is eventually called, things proceed as usual and the moment udev is started (again, now from the openrc init) it is possible to switch to enforcing mode. All processes are running by then in the correct domain and there do not seem to be any files left with wrong contexts (since the initramfs is not reachable anymore and the device files in <code>/dev</code> are now set again by udev which is SELinux aware.
</p>
<p>
But if you want to boot up in enforcing straight away, there are still things to investigate. I think I’ll need to put the policy in the initramfs as well (which has the huge downside that every update on the policy requires a rebuild of the initramfs as well). In that case I can load the policy early up the chain and have the initramfs work further running in an enforced situation. Or I completely regard the initramfs as an “always trusted” environment and wait for openrc’s init to load the SELinux policy. In that case, I need to find a way to relabel the (temporarily created) <code>/dev</code> entries (like console, kmsg, …) before the policy is loaded.
</p>
<p>
Definitely to be continued…</p></div>
    </content>
    <updated>2012-01-15T10:58:02Z</updated>
    <category term="Hardened"/>
    <category term="SELinux"/>
    <author>
      <name>swift</name>
    </author>
    <source>
      <id>http://blog.siphos.be</id>
      <link href="http://blog.siphos.be/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blog.siphos.be" rel="alternate" type="text/html"/>
      <subtitle>Sven Vermeulen's web log</subtitle>
      <title>Simplicity is a form of art...</title>
      <updated>2012-01-29T12:04:35Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-7849507270164967036.post-2032064763346408381</id>
    <link href="http://dilfridge.blogspot.com/feeds/2032064763346408381/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/01/calling-for-brave-testers-net-printcups.html#comment-form" rel="replies" title="2 Comments" type="text/html"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/2032064763346408381" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default/2032064763346408381" rel="self" type="application/atom+xml"/>
    <link href="http://dilfridge.blogspot.com/2012/01/calling-for-brave-testers-net-printcups.html" rel="alternate" title="Calling for brave testers: net-print/cups-1.5.0-r2" type="text/html"/>
    <title>Calling for brave testers: net-print/cups-1.5.0-r2</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Maybe some of you have noticed that CUPS 1.5.0 is still hard-masked. Well, the reason for that is simple- at home, I'm nearly not printing at all, and at work, I have to rely on printing too much to tinker with it on the side a bit. So... if you would like to help, please unmask <a href="http://packages.gentoo.org/package/net-print/cups" target="_blank">net-print/cups-1.5.0-r2</a> and give it a try. You will for sure find some problems, as the only thing I tested looong time ago was building it, never actually running it. <a href="https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&amp;format=guided" target="_blank">Report them on bugs.gentoo.org</a>, and we'll have a look... with a bit of luck, the package mask can then go away at some point. Any feedback (also positive) is appreciated. Cheers!<div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/7849507270164967036-2032064763346408381?l=dilfridge.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-01-15T00:27:56Z</updated>
    <published>2012-01-15T00:27:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/>
    <category scheme="http://www.blogger.com/atom/ns#" term="cups"/>
    <author>
      <name>Andreas</name>
      <email>noreply@blogger.com</email>
      <uri>http://www.blogger.com/profile/12314847423280010909</uri>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-7849507270164967036</id>
      <category term="arm"/>
      <category term="graphene"/>
      <category term="astronomy"/>
      <category term="gpib"/>
      <category term="sysadmin"/>
      <category term="books"/>
      <category term="gentoo"/>
      <category term="ostpforte"/>
      <category term="maths"/>
      <category term="scifi"/>
      <category term="humour"/>
      <category term="france"/>
      <category term="art"/>
      <category term="cups"/>
      <category term="digikam"/>
      <category term="photos"/>
      <category term="spain"/>
      <category term="romanesque"/>
      <category term="nobelprize"/>
      <category term="stupidity"/>
      <category term="kde"/>
      <category term="err-what?"/>
      <category term="meta"/>
      <category term="archaeology"/>
      <category term="phdcomics"/>
      <category term="italy"/>
      <category term="food"/>
      <category term="comp-sci"/>
      <category term="regensburg"/>
      <category term="physics"/>
      <category term="nanotubes"/>
      <category term="architecture"/>
      <category term="work"/>
      <category term="travelling"/>
      <category term="research-group"/>
      <author>
        <name>Andreas</name>
        <email>noreply@blogger.com</email>
        <uri>http://www.blogger.com/profile/12314847423280010909</uri>
      </author>
      <link href="http://dilfridge.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://dilfridge.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <link href="http://www.blogger.com/feeds/7849507270164967036/posts/default?start-index=26&amp;max-results=25" rel="next" type="application/atom+xml"/>
      <title>the dilfridge blog</title>
      <updated>2012-02-06T00:52:09Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blogs.gentoo.org/johu/?p=45</id>
    <link href="http://blogs.gentoo.org/johu/2012/01/13/cmake-picks-always-the-latest-boost/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="alternate" type="text/html"/>
    <title>CMake picks always the latest boost.</title>
    <summary>As known as #335108. This is (was) a long term bug in Gentoo KDE scope. The problem is that if you have two or more different boost versions installed, the latest version will be used at build time, regardless which version is (e)selected. Real world example we have boost  1.46.1 and 1.47.0 installed selected the [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>As known as <a href="https://bugs.gentoo.org/show_bug.cgi?id=335108" title="dev-util/cmake picks always the latest boost">#335108</a>. This is (was) a long term bug in Gentoo KDE scope. The problem is that if you have two or more different boost versions installed, the latest version will be used at build time, regardless which version is (e)selected. Real world example we have boost  1.46.1 and 1.47.0 installed selected the 1.46 slot, the 1.47 slot would be used at build:</p>
<blockquote>
<pre>$ eselect boost list
Available boost versions:
 [1]   boost-1.46/default *
 [2]   boost-1.47/default</pre>
</blockquote>
<p>Last night i patched dev-util/cmake-2.8.6 successfully and made the revision bump today in the <a href="http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git" title="kde-overlay">kde-overlay</a>. So please test =dev-util/cmake-2.8.6-r5, in the case your maintained package is cmake based and needs dev-util/boost at build time. You should test at least with two different boost versions and of course switch between those to check that the selected version is used.</p>
<p>I bumped dev-util/cmake-2.8.7 in the overlay too. The patch is also included in this version.</p>
<p>Start your engines…</p></div>
    </content>
    <updated>2012-01-13T22:26:01Z</updated>
    <category term="Gentoo"/>
    <category term="Linux"/>
    <category term="Planet Gentoo"/>
    <category term="boost"/>
    <category term="cmake"/>
    <category term="gentoo"/>
    <category term="kde"/>
    <category term="overlay"/>
    <author>
      <name>johu</name>
    </author>
    <source>
      <id>http://blogs.gentoo.org/johu</id>
      <link href="http://blogs.gentoo.org/johu/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://blogs.gentoo.org/johu" rel="alternate" type="text/html"/>
      <subtitle>part of the german gentoo(-kde) conspiracy</subtitle>
      <title>johu</title>
      <updated>2012-01-23T08:04:13Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.hartwork.org/?p=1558</id>
    <link href="http://blog.hartwork.org/?p=1558" rel="alternate" type="text/html"/>
    <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
    <title>Fwd: Microsoft confirms UEFI fears, locks down ARM devices</title>
    <summary>LWN.net brought my attention to this: Microsoft confirms UEFI fears, locks down ARM devices</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="https://lwn.net/Articles/475359/rss">LWN.net</a> brought my attention to this: <a href="http://www.softwarefreedom.org/blog/2012/jan/12/microsoft-confirms-UEFI-fears-locks-down-ARM/">Microsoft confirms UEFI fears, locks down ARM devices</a></p></div>
    </content>
    <updated>2012-01-13T19:35:18Z</updated>
    <category term="Frustration"/>
    <category term="Planet Freitagsrunde"/>
    <author>
      <name>sping</name>
    </author>
    <source>
      <id>http://blog.hartwork.org</id>
      <link href="http://blog.hartwork.org/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://blog.hartwork.org" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
      <subtitle>Free Software and Music</subtitle>
      <title>Hartwork Blog</title>
      <updated>2012-01-22T02:04:22Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.hartwork.org/?p=1554</id>
    <link href="http://blog.hartwork.org/?p=1554" rel="alternate" type="text/html"/>
    <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
    <title>(German) Fwd: FoeBuD enttarnt RFID-Chips in Kleidung</title>
    <summary>Dass man RFID-Chips in Kleidung einbauen kann, war mir klar, aber dass es wirklich gemacht wird, hat mich dann doch ziemlich vom Hocker geworfen: FoeBuD enttarnt RFID-Chips in Kleidung</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Dass man RFID-Chips in Kleidung einbauen <em>kann</em>, war mir klar, aber dass es wirklich gemacht wird, hat mich dann doch ziemlich vom Hocker geworfen:</p>
<p><a href="https://netzpolitik.org/2012/foebud-enttarnt-rfid-chips-in-kleidung/">FoeBuD enttarnt RFID-Chips in Kleidung</a></p></div>
    </content>
    <updated>2012-01-13T17:27:18Z</updated>
    <category term="Frustration"/>
    <category term="Planet Freitagsrunde"/>
    <author>
      <name>sping</name>
    </author>
    <source>
      <id>http://blog.hartwork.org</id>
      <link href="http://blog.hartwork.org/?feed=rss2" rel="self" type="application/rss+xml"/>
      <link href="http://blog.hartwork.org" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/by-nd/3.0/de/" rel="license"/>
      <subtitle>Free Software and Music</subtitle>
      <title>Hartwork Blog</title>
      <updated>2012-01-22T02:04:22Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://michal.hrusecky.net/?p=921</id>
    <link href="http://michal.hrusecky.net/2012/01/openstack-setup-on-existing-machine/" rel="alternate" type="text/html"/>
    <title>OpenStack – Setup on existing machine</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Last week I wrote a little bit about OpenStack, what it is good for and that I’ve been working on appliance that you can test. I mentioned appliance to make it easier for people to test OpenStack and play with that. Any feedback is of course appreciated. Since then appliance got updated, because something others … <p/><p><a class="more-link block-button" href="http://michal.hrusecky.net/2012/01/openstack-setup-on-existing-machine/">Continue reading »</a></p></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><div class="wp-caption alignleft" id="attachment_878" style="width: 226px;"><a href="http://michal.hrusecky.net/wp-content/uploads/openstack-cloud-software-vertical-small.png"><img alt="OpenStack Logo" class="size-full wp-image-878" height="216" src="http://michal.hrusecky.net/wp-content/uploads/openstack-cloud-software-vertical-small.png" title="OpenStack Logo" width="216"/></a><p class="wp-caption-text">OpenStack Logo</p></div>
<p>Last week I <a href="http://michal.hrusecky.net/2012/01/openstack/" target="_blank" title="OpenStack">wrote a little bit about OpenStack</a>, what it is good for and that I’ve been working on appliance that you can test. I mentioned appliance to make it easier for people to test OpenStack and play with that. Any feedback is of course appreciated. Since then appliance got updated, because something others have been working on. Although there was Xmass and most of us has other things to <del>worry about</del> enjoy, there has been some progress in other parts of our OpenStack Milestone.<br/>
While I was fighting to get OpenStack appliance working, Bernhard Wiedemann was working on other way how to make it more convenient for you to try OpenStack on openSUSE. He wrote a script, that makes the whole OpenStack demo setup much easier. So if you don’t want to use appliance and instead would prefer to just get OpenStack working on your existing setup, you can do it pretty easily. Everything is documented on the <a href="http://en.opensuse.org/SDB:Cloud_OpenStack_Quickstart" target="_blank" title="OpenStack on openSUSE Wiki">wiki</a>. But as you are already reading this, I’ll make it even easier for you and will putt a quick how to here as well.<br/>
What do you need? You need some packages, right? First of all you need to add repository with the last stable release. This repository contains fixes, patterns and much more as you’ll see later. You can do it by typing:</p>
<pre>zypper ar -f \
 obs://Virtualization:/Cloud:/OpenStack:/Diablo/openSUSE_12.1 \
 OpenStack</pre>
<p>Now what about packages? Easy, we’ve got patterns for you. So you can do just</p>
<pre>zypper in -t pattern openstack-controller openstack-compute-node</pre>
<p>And you are ready to go. Almost. You need to configure it. That takes some time and can be pretty complicated. But hey, I said it is easy now, haven’t I? So it is. You just need to install one more package! So type in</p>
<pre>openstack-quickstart</pre>
<p>This will install few scripts that will help you create your demo setup. Now all you have to do is run yet another command. I know, it’s getting complicated, we are now at four commands, but all of them are quite easy, right? Bear with me, we are almost there… The last command you need is</p>
<pre>openstack-quickstart-demosetup</pre>
<p>This will take care of everything you need. Unless you have MySQL root password set, it will go ahead and configure everything and when it ends, you can just simply point your browser to <a href="http://127.0.0.1" target="_blank" title="localhost">http://127.0.0.1</a> and play with the dashboard using login <code>admin</code> and password <code>openstack</code>. That was easy, wasn’t it?</p></div>
    </content>
    <updated>2012-01-13T16:33:13Z</updated>
    <category term="English"/>
    <category term="openSUSE"/>
    <category term="kvm"/>
    <category term="software"/>
    <category term="virtualization"/>
    <author>
      <name>Michal Hrušecký</name>
    </author>
    <source>
      <id>http://michal.hrusecky.net</id>
      <link href="http://michal.hrusecky.net/category/english/feed/" rel="self" type="application/rss+xml"/>
      <link href="http://michal.hrusecky.net" rel="alternate" type="text/html"/>
      <subtitle>...about me, Linux and OpenSource</subtitle>
      <title>Michal Hrušecký » English » Michal Hrušecký</title>
      <updated>2012-02-07T11:07:52Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:blogger.com,1999:blog-7803863447082200741.post-7299940276845689736</id>
    <link href="http://www.blogger.com/feeds/7803863447082200741/posts/default/7299940276845689736" rel="edit" type="application/atom+xml"/>
    <link href="http://www.blogger.com/feeds/7803863447082200741/posts/default/7299940276845689736" rel="self" type="application/atom+xml"/>
    <link href="http://phajdan-jr.blogspot.com/2012/01/kernel-316-watch-out-for-unable-to.html" rel="alternate" title="Kernel 3.1.6 - watch out for &quot;Unable to mount root fs&quot; panic" type="text/html"/>
    <title>Kernel 3.1.6 - watch out for "Unable to mount root fs" panic</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">While testing kernel 3.1.6 for <a href="https://bugs.gentoo.org/show_bug.cgi?id=396469">bug #396469</a> I got the common kernel panic "not syncing: VFS: Unable to mount root fs".<br/><br/>It's easy to fix, here's the grub config before:<br/><br/><br/><span style="font-family: 'Courier New', Courier, monospace;">title Gentoo Linux</span><br/><span style="font-family: 'Courier New', Courier, monospace;">root (hd0,0)</span><br/><span style="font-family: 'Courier New', Courier, monospace;">kernel /boot/vmlinuz-3.1.6-gentoo</span><br/><br/>And fixed one:<br/><br/><br/><span style="font-family: 'Courier New', Courier, monospace;">title Gentoo Linux</span><br/><span style="font-family: 'Courier New', Courier, monospace;">root (hd0,0)</span><br/><span style="font-family: 'Courier New', Courier, monospace;">kernel /boot/vmlinuz-3.1.6-gentoo <b>root=/dev/sda1</b></span><br/><br/>I had to pass an explicit root= parameter. How to figure it out? mount -l or cat /proc/mounts are not so helpful:<br/><br/><br/><span style="font-family: 'Courier New', Courier, monospace;">rootfs on / type rootfs (rw)</span><br/><span style="font-family: 'Courier New', Courier, monospace;">/dev/root on / type ext3 (rw,noatime,errors=continue,barrier=1,data=writeback)</span><br/><div><br/></div><div>So I used "fdisk -l" just to make sure whether it's sda or something else...</div><div><br/></div><div><div><span style="font-family: 'Courier New', Courier, monospace;">   Device Boot      Start         End      Blocks   Id  System</span></div><div><span style="font-family: 'Courier New', Courier, monospace;">/dev/sda1              63    59006744    29503341   83  Linux</span></div><div><span style="font-family: 'Courier New', Courier, monospace;">/dev/sda2        59006745    62910539     1951897+  82  Linux swap / Solaris</span></div></div><br/><br/><div class="blogger-post-footer"><img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/7803863447082200741-7299940276845689736?l=phajdan-jr.blogspot.com" width="1"/></div></div>
    </content>
    <updated>2012-01-13T07:38:35Z</updated>
    <published>2012-01-13T07:38:00Z</published>
    <category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/>
    <author>
      <name>Paweł Hajdan, Jr.</name>
      <email>noreply@blogger.com</email>
      <uri>https://profiles.google.com/115952810462621118454</uri>
    </author>
    <source>
      <id>tag:blogger.com,1999:blog-7803863447082200741</id>
      <category term="chromium"/>
      <category term="gentoo"/>
      <author>
        <name>Paweł Hajdan, Jr.</name>
        <email>noreply@blogger.com</email>
        <uri>https://profiles.google.com/115952810462621118454</uri>
      </author>
      <link href="http://phajdan-jr.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/>
      <link href="http://www.blogger.com/feeds/7803863447082200741/posts/default" rel="self" type="application/atom+xml"/>
      <link href="http://phajdan-jr.blogspot.com/" rel="alternate" type="text/html"/>
      <link href="http://pubsubhubbub.appspot.com/" rel="hub" type="text/html"/>
      <link href="http://www.blogger.com/feeds/7803863447082200741/posts/default?start-index=26&amp;max-results=25" rel="next" type="application/atom+xml"/>
      <title>Paweł Hajdan's Dev Blog</title>
      <updated>2012-02-03T20:58:52Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5490</id>
    <link href="http://blog.flameeyes.eu/2012/01/12/big-filesystems" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">Big filesystems</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>Very few of you probably remember that over two years ago, in October 2009, I <a href="http://blog.flameeyes.eu/2009/10/12/and-finally-the-portage-tree-overhead-data">did some investigative work on Portage Tree’s overhead</a> to show just how much space was going to be wasted with small files on filesystems with too big block sizes.</p>
<p>It wasn’t the only time I noted that while for things like Portage, and likely your operating system’s file, it makes sense to have smaller-than-page-size blocks, it doesn’t seem as smart to do the same for bigger files such as music and video. At the time I noted that HFS+ somehow supported 64KiB blocks with the Linux driver – a driver that is very much unstable and often times unusable – while <span class="caps">XFS</span> refuses to play well with similarly-sized blocks, even though it is designed to support them.</p>
<p>I’ve read many people complaining that I didn’t know what I was talking about when I called for bigger block sizes for Linux’s filesystems. Many people insisted that the presence of extents in ext4 made it completely moot to have bigger block sizes. If that’s so, I wonder why <a href="https://lwn.net/Articles/469805/">ext4 now implements bigalloc</a> which is basically a trick to allow bigger <del>block</del> cluster sizes.</p>
<p>I read about it, with the release announcement of kernel 3.2, while I was on vacation and I just couldn’t wait to try it out with some of my filesystems. Luckily I tried it with the least important one, though, as it’s far from being mature for using.</p>
<p>The current implementation does not support online resizing, so you’re supposed to use <code>resize2fs</code> with the unmounted filesystem … too bad that it fails to run entirely when using the latest version of <code>e2fsprogs</code>. Oh and don’t forget that the switch to turn on bigalloc is not documented anywhere yet.</p>
<p>So it is to be expected given that it’s a very new feature, but I wonder why half the fuss about 3.2 release was about a feature … that definitely is not ready for prime time even in testing ground. I just hope that work toward this kind of features will also mean that <span class="caps">XFS</span> will gain support for 64KiB blocks, which I would prefer to ext4’s 1MiB clusters in the first place.</p>
<p>Also I would like to point out one thing for those of you who wish to use this feature on volumes shared with Samba to OS X hosts: you’ll end up with <em>tons</em> of space wasted to <code>.DS_Store</code> files unless the inline data feature is also used, and the <em>inode size</em> is increased. On my filesystems, <code>.DS_Store</code> files weight between 741 bytes to 14KiB… I thought I configured Samba to use extended attributes to store the data instead of using external files, but for what I gathered on the Netatalk mailing list recently, this conflicts with the size limit applied to EAs on ext4… I guess this is another of those things that really need some tweaking to get right.</p></div>
    </content>
    <updated>2012-01-12T16:56:56Z</updated>
    <published>2012-01-12T16:56:56Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Technical" scheme="http://blog.flameeyes.eu/category/technical" term="technical"/>
    <category label="Linux-Planet" scheme="http://blog.flameeyes.eu/category/linux-planet" term="linux-planet"/>
    <category scheme="http://blog.flameeyes.eu/tag/filesystems" term="Filesystems"/>
    <category scheme="http://blog.flameeyes.eu/tag/ext4" term="Ext4"/>
    <category scheme="http://blog.flameeyes.eu/tag/linux" term="Linux"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-US">
    <id>tag:blog.flameeyes.eu,2005:Article/5489</id>
    <link href="http://blog.flameeyes.eu/2012/01/11/i-ll-be-at-fosdem" rel="alternate" type="text/html"/>
    <title xml:lang="en-US">I'll be at FOSDEM</title>
    <content type="xhtml" xml:lang="en-US"><div xmlns="http://www.w3.org/1999/xhtml"><p>This is just a short post to let my followers know that I’ll be at <span class="caps">FOSDEM</span> next month. I’ve booked the flight back in September and I booked the hotel yesterday, so it’s all set. I just hope not to get lost through Bruxelles.</p>
<p>The only reason why I’m posting this is, actually, that I need some suggestion from somebody who knows Belgium: both my phone operators lack dedicated roaming up there, so I’ll probably end up with an hefty bill waiting for me back home. Given in Italy you really can’t get a local pre-paid <span class="caps">SIM</span> to user your phone if you’re a tourist, I’m not sure if the same holds true in Belgium. And most importantly, whether I could re-use such a <span class="caps">SIM</span> over the years (as I plan on coming to <span class="caps">FOSDEM</span> with regularity, if I survive the trip alone this time).</p>
<p>At any rate, if you want to discuss anything in person, I’ll be the guy with the strange hat and the <del>purse</del> satchel (geek points for getting the reference), hanging around with the Gentoo or libav folks.</p></div>
    </content>
    <updated>2012-01-11T21:55:08Z</updated>
    <published>2012-01-11T21:55:08Z</published>
    <category label="English" scheme="http://blog.flameeyes.eu/category/english" term="english"/>
    <category label="Personal" scheme="http://blog.flameeyes.eu/category/personal" term="personal"/>
    <category scheme="http://blog.flameeyes.eu/tag/fosdem" term="FOSDEM"/>
    <category scheme="http://blog.flameeyes.eu/tag/cellphones" term="Cellphones"/>
    <category scheme="http://blog.flameeyes.eu/tag/providers" term="Providers"/>
    <category scheme="http://blog.flameeyes.eu/tag/gentoo" term="Gentoo"/>
    <author>
      <name>Flameeyes</name>
    </author>
    <source>
      <id>tag:blog.flameeyes.eu,2005:/category/english</id>
      <link href="http://blog.flameeyes.eu" rel="alternate" type="text/html"/>
      <link href="http://blog.flameeyes.eu/category/english.atom" rel="self" type="application/atom+xml"/>
      <subtitle xml:lang="en-US">The weblog of Diego Elio Pettenò</subtitle>
      <title xml:lang="en-US">Flameeyes's Weblog : Category English, everything about English</title>
      <updated>2012-02-07T22:35:53Z</updated>
    </source>
  </entry>
</feed>

