<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bart Verwilst a.k.a Bort :: Blog &#187; Distro Stuff</title>
	<atom:link href="http://blog.verwilst.be/category/distro-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.verwilst.be</link>
	<description>Linux, Open Source. That&#039;s pretty much it.</description>
	<lastBuildDate>Wed, 05 May 2010 09:02:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>One symlink to rule them all: /lib64</title>
		<link>http://blog.verwilst.be/2009/02/19/one-symlink-to-rule-them-all-lib64/</link>
		<comments>http://blog.verwilst.be/2009/02/19/one-symlink-to-rule-them-all-lib64/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 17:20:25 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>

		<guid isPermaLink="false">http://blog.verwilst.be/?p=213</guid>
		<description><![CDATA[One day, you&#8217;re happily typing away on a production server. You want to clean up /tmp so you can mount it with tmpfs instead of normal on-disk stuffs. You proceed:
root@ubuntu:/# ls /tmp/
dbconfig-generate-include.sed.fc6130  dbconfig-generate-include.sed.hu7261  dbconfig-generate-include.sed.k26205
Ok, on to the action:
root@ubuntu:/# rm *
rm: cannot remove `bin&#8217;: Is a directory
rm: cannot remove `boot&#8217;: Is a directory
rm: cannot remove `dev&#8217;: [...]]]></description>
			<content:encoded><![CDATA[<p>One day, you&#8217;re happily typing away on a production server. You want to clean up /tmp so you can mount it with tmpfs instead of normal on-disk stuffs. You proceed:</p>
<blockquote><p>root@ubuntu:/# ls /tmp/<br />
dbconfig-generate-include.sed.fc6130  dbconfig-generate-include.sed.hu7261  dbconfig-generate-include.sed.k26205</p></blockquote>
<p>Ok, on to the action:</p>
<blockquote><p>root@ubuntu:/# rm *<br />
rm: cannot remove `bin&#8217;: Is a directory<br />
rm: cannot remove `boot&#8217;: Is a directory<br />
rm: cannot remove `dev&#8217;: Is a directory<br />
rm: cannot remove `emul&#8217;: Is a directory<br />
rm: cannot remove `etc&#8217;: Is a directory<br />
rm: cannot remove `home&#8217;: Is a directory<br />
rm: cannot remove `initrd&#8217;: Is a directory<br />
rm: cannot remove `lib&#8217;: Is a directory<br />
rm: cannot remove `lost+found&#8217;: Is a directory<br />
rm: cannot remove `media&#8217;: Is a directory<br />
rm: cannot remove `mnt&#8217;: Is a directory<br />
rm: cannot remove `opt&#8217;: Is a directory<br />
rm: cannot remove `proc&#8217;: Is a directory<br />
rm: cannot remove `root&#8217;: Is a directory<br />
rm: cannot remove `sbin&#8217;: Is a directory<br />
rm: cannot remove `srv&#8217;: Is a directory<br />
rm: cannot remove `sys&#8217;: Is a directory<br />
rm: cannot remove `tmp&#8217;: Is a directory<br />
rm: cannot remove `usr&#8217;: Is a directory<br />
rm: cannot remove `var&#8217;: Is a directory</p></blockquote>
<p>You can summarize the next few seconds as &#8220;&#8230;&#8230;&#8230;. OMG OMG OMG OMG OMG&#8221;, while turning pale.</p>
<blockquote><p>root@ubuntu:/# ls<br />
bash: /bin/ls: No such file or directory</p></blockquote>
<p>It&#8217;s a goner. Luckily i didn&#8217;t do rm -rf, because that would have FUBAR&#8217;ed the server fully. What happened is that /lib64 and /lib32 ( which are symlinks to /lib and /emul/ia32-linux/lib respectively ) got removed, effectively rendering you unable to execute any command ( because everything depends on /lib64/ld-linux-x86-64.so.2 ). But no worries, there is one thing that is statically linked on your system ( meaning, not requiring any libs from /lib64, thus still working ) and that&#8217;s the /lib/ld-linux-x86-64.so.2 file. By using this file, you can force your ln command to look into /lib for its libs instead of ( the now missing ) /lib64.</p>
<blockquote><p>root@ubuntu:~# /lib/ld-linux-x86-64.so.2 &#8211;library-path /lib /bin/ln -sf /lib /lib64</p></blockquote>
<p>Which re-creates the /lib64 symlink, reviving all commands! Then you can create the /lib32 symlink again with the normal ln command. Crisis averted <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Hopefully this will help others in the same situation <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Remember kids, working as root is evil! ( although it couldn&#8217;t help me in this situation since i needed to be root to clean the /tmp. )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2009/02/19/one-symlink-to-rule-them-all-lib64/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe Flash in Ubuntu 8.04, the painless way</title>
		<link>http://blog.verwilst.be/2008/09/04/adobe-flash-in-ubuntu-804-the-painless-way/</link>
		<comments>http://blog.verwilst.be/2008/09/04/adobe-flash-in-ubuntu-804-the-painless-way/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 21:58:00 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.verwilst.be/?p=72</guid>
		<description><![CDATA[One of the sore spots in Ubuntu 8.04 ( Hardy Heron ) is the incredibly unstable Flash plugin. Crashes on one side, inability to play sound from Flash and a media player at the same time on the other side. I have seen a lot of suggested &#8220;fixes&#8221; on other forums and blogs, but most [...]]]></description>
			<content:encoded><![CDATA[<p>One of the sore spots in Ubuntu 8.04 ( Hardy Heron ) is the incredibly unstable Flash plugin. Crashes on one side, inability to play sound from Flash and a media player at the same time on the other side. I have seen a lot of suggested &#8220;fixes&#8221; on other forums and blogs, but most don&#8217;t really help. So let me tell you what did the trick for me.</p>
<p>First of all, open source alternatives such as Gnash and swfdec are not yet ready for the big masses. It&#8217;s nice to see them growing bit by bit, but for now, we are bound to the official plugins for &#8216;decent&#8217; Flash support.</p>
<p>First of all, let&#8217;s get rid of libflashsupport if it&#8217;s still installed. This little piece of **** is a big cause of instability in our quest to a stable Flash experience. So let&#8217;s remove it right away!</p>
<blockquote><p># apt-get remove libflashsupport</p></blockquote>
<p>Ok, now that&#8217;s gone, lets make Alsa output to Pulseaudio by default. We do this by installing libasound2-plugins, and creating the file /etc/asound.conf.</p>
<blockquote><p># apt-get install libasound2-plugins</p></blockquote>
<p>Contents of /etc/asound.conf are as follows:</p>
<p><em>pcm.pulse {<br />
type pulse<br />
}<br />
ctl.pulse {</em><br />
<em> type pulse<br />
}<br />
pcm.!default {<br />
type pulse<br />
}<br />
ctl.!default {<br />
type pulse<br />
}</em></p>
<p>Just copy-paste it in the configuration file.</p>
<p>Next up, nspluginwrapper. This package will &#8220;jail&#8221; Flash inside its own little environment, so that if Flash crashes, it will only take down the wrapper, and not your whole Firefox. A Flash crash will result in a gray area where your Flash should be, instead of a suddenly disappearing Firefox. Quite an improvement already <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let&#8217;s install it:</p>
<blockquote><p># wget http://launchpadlibrarian.net/16234689/nspluginwrapper_0.9.91.5-2ubuntu2.8.04.1~mt1_i386.deb</p></blockquote>
<blockquote><p># dpkg -i &#8220;nspluginwrapper_0.9.91.5-2ubuntu2.8.04.1~mt1_i386.deb&#8221;</p></blockquote>
<p>Now you can (re-)install flashplugin-nonfree 9 to make it nspluginwrapper aware. Although it will not take down your Firefox anymore, it will still be incredibly unstable, and lots of sites will have gray areas on their pages.</p>
<p>So we will take one additional step, and install flashplugin-nonfree 10. The latest release candidate to be exact, which appears A LOT more stable than 9 ever was on my several systems.</p>
<p>We will have to download and install the deb manually from <a href="https://launchpad.net/~psyke83/+archive">https://launchpad.net/~psyke83/+archive</a> .</p>
<p>Click on the Hardy entry for flashplugin-nonfree, and download the correct deb for your system. Currently, for i386 ( 32bit ) desktops, this is the <a href="http://launchpadlibrarian.net/17642213/flashplugin-nonfree_10.0.12.10ubuntu1%7Eppa3_i386.deb">file you need</a> .</p>
<p>Install it either by double clicking it on your desktop, or doing this on the commandline:</p>
<blockquote><p># dpkg -i flashplugin-nonfree-*.deb</p></blockquote>
<p>Restart Firefox just to be sure, and then browse to &#8220;about:plugins&#8221;.</p>
<p>You should see something similar to the image below:</p>
<p><img class="size-full wp-image-75 alignnone" title="flash" src="http://blog.verwilst.be/wp-content/uploads/2008/09/flash.png" alt="" width="452" height="177" /></p>
<p>Which means it worked! Try watching a movie in youtube while listening to some music on your audio player. Both should play without problems, and most of the crashes should be gone!</p>
<p>Enjoy your smooth desktop experience <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2008/09/04/adobe-flash-in-ubuntu-804-the-painless-way/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.10: The race is on!</title>
		<link>http://blog.verwilst.be/2008/04/29/ubuntu-810-the-race-is-on/</link>
		<comments>http://blog.verwilst.be/2008/04/29/ubuntu-810-the-race-is-on/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 22:13:27 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://weblog.verwilst.be/?p=61</guid>
		<description><![CDATA[This evening at 18:39, the first new package was committed into the Intrepid Ibex&#8217; repository! What will become Ubuntu 8.10 in 6 months time is now under full construction! This first package is &#8220;binutils (2.18.1~cvs20080103-4ubuntu1)&#8221;! Many will follow   People wanting to follow the changes as soon as they hit the repository can use [...]]]></description>
			<content:encoded><![CDATA[<p>This evening at 18:39, the first new package was committed into the Intrepid Ibex&#8217; repository! What will become Ubuntu 8.10 in 6 months time is now under full construction! This first package is &#8220;binutils (2.18.1~cvs20080103-4ubuntu1)&#8221;! Many will follow <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  People wanting to follow the changes as soon as they hit the repository can use <a href="http://feeds.ubuntu-nl.org/IntrepidChanges">http://feeds.ubuntu-nl.org/IntrepidChanges</a> in their feed readers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2008/04/29/ubuntu-810-the-race-is-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCIM in Ubuntu Hardy</title>
		<link>http://blog.verwilst.be/2008/03/11/scim-in-ubuntu-hardy/</link>
		<comments>http://blog.verwilst.be/2008/03/11/scim-in-ubuntu-hardy/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 10:22:57 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[scim]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://weblog.verwilst.be/2008/03/11/scim-in-ubuntu-hardy/</guid>
		<description><![CDATA[For the past couple of days, SCIM seems to be enabled by default in the latest development builds of Ubuntu Hardy. SCIM is a platform that takes care of handling different input methods. But I really don&#8217;t need to type vietnamese, russian, or any other exotic language. Another annoyance is that the keybindings can conflict [...]]]></description>
			<content:encoded><![CDATA[<p>For the past couple of days, SCIM seems to be enabled by default in the latest development builds of Ubuntu Hardy. SCIM is a platform that takes care of handling different input methods. But I really don&#8217;t need to type vietnamese, russian, or any other exotic language. Another annoyance is that the keybindings can conflict with other applications, which makes it even more cumbersome to use. Trying to close SCIM from the system tray by selecting &#8220;Exit&#8221; doesn&#8217;t work, it just restarts the application in less than a second.. So, how do we go about disabling this once and for all?</p>
<p>Type this in your console: &#8220;sudo update-alternatives &#8211;set xinput-all_ALL /etc/X11/xinit/xinput.d/default&#8221; .</p>
<p>Restarting X should show you a scim-less systray!</p>
<p>Now let&#8217;s hope the Ubuntu guys remove this crap by default again before Hardy hits GA <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2008/03/11/scim-in-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Breaking up is always hard..</title>
		<link>http://blog.verwilst.be/2008/03/01/breaking-up-is-always-hard/</link>
		<comments>http://blog.verwilst.be/2008/03/01/breaking-up-is-always-hard/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:11:15 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://weblog.verwilst.be/2008/03/01/breaking-up-is-always-hard/</guid>
		<description><![CDATA[Pretty funny story here  
]]></description>
			<content:encoded><![CDATA[<p>Pretty funny story <a href="http://ubuntuforums.org/showthread.php?p=4411307" target="_blank">here</a> <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2008/03/01/breaking-up-is-always-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yum install *filename*</title>
		<link>http://blog.verwilst.be/2008/01/03/yum-install-filename/</link>
		<comments>http://blog.verwilst.be/2008/01/03/yum-install-filename/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 23:12:06 +0000</pubDate>
		<dc:creator>Bart Verwilst</dc:creator>
				<category><![CDATA[Distro Stuff]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://weblog.verwilst.be/2008/01/03/yum-install-filename/</guid>
		<description><![CDATA[Well, it doesn&#8217;t happen very often, but I actually found a pretty nice feature in yum, the thing they call a package manager in rpm based distros. I noticed by accident, and was pleasantly surprised. AFAIK, apt-get doesn&#8217;t let you do that..
A quick demo  
# yum install /usr/lib/libstdc++.so.6
Loading &#8220;installonlyn&#8221; plugin
Setting up Install Process
Setting up [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it doesn&#8217;t happen very often, but I actually found a pretty nice feature in yum, the thing they call a package manager in rpm based distros. I noticed by accident, and was pleasantly surprised. AFAIK, apt-get doesn&#8217;t let you do that..</p>
<p>A quick demo <img src='http://blog.verwilst.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p># yum install /usr/lib/libstdc++.so.6<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Importing additional filelist information<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for libstdc++ to pack into transaction set.<br />
libstdc++-4.1.2-14.el5.i3 100% |=========================|  54 kB    00:00<br />
&#8212;&gt; Package libstdc++.i386 0:4.1.2-14.el5 set to be updated<br />
&#8211;&gt; Running transaction check</p>
<p>Dependencies Resolved</p>
<p>===================================================================<br />
Package                 Arch       Version          Repository        Size<br />
===================================================================<br />
Installing:<br />
libstdc++               i386       4.1.2-14.el5     base              354 k</p>
<p>Transaction Summary<br />
===================================================================<br />
Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 354 k<br />
Is this ok [y/N]:</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.verwilst.be/2008/01/03/yum-install-filename/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
