<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.placenet.org/benoit/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Harvard Business School of Echec</title>
  <link>http://www.placenet.org/benoit/index.php/</link>
  <description></description>
  <language>fr</language>
  <pubDate>Mon, 09 Jun 2008 02:32:37 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>hard disk drive troubles</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/12/hard-disk-drive-troubles</link>
    <guid isPermaLink="false">urn:md5:f4730bac7dceea9f97e7598d99ee5591</guid>
    <pubDate>Fri, 30 May 2008 18:08:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>ddrescue</category><category>ext3</category><category>ibook</category><category>reiserfs</category><category>yaboot</category>    
    <description>    &lt;p&gt;On May, 8th, my ibook fall from the table and hit the ground 40cm below. I saw it fall, saw it instantly poweroff :/
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Disk reconstruction began. It's a 60GB disk, with a 58GB reiserfs /. It could still boot but i got read errors everywhere and reiserfsck reported 81 corruptions. I have a one month old backup, that's not good enough. I needed a live cd in order to copy the disk, run badblocks and eventually try to fix it if it's not totally destroyed. The best i could get was an Ubuntu 5.04 live cd. I pluged in my 250GB USB disk. I then started to run badblocks (with the wrong blocksize...). I then tried to dd it, but that was taking ages. I was looking for &lt;a href=&quot;http://www.gnu.org/software/ddrescue/ddrescue.html&quot;&gt;GNU ddrescue&lt;/a&gt; but it was not present. I wondered a bit, but then realized that the / was writable: spent 10 minutes looking for a valid ubuntu mirror, apt-get update g++, grabbed the ddrescue sources, compiled it. I would have extracted the disk if i could found the righ screwdriver (thank you Apple).
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;48H later: at first ddrescue found 130MB of dead blocks out of 58GB. The damaged blocks are located around 20GB, 40GB, and 60GB, so clearly, the heads hit the platters. After trimming errors, it's down to 30MB. reiserfsck has this very nice '--rebuild-tree' which scans the whole partition, rebuilds the filesystem and reports which entries are damaged, using real filenames. This is so great because you then know which files are damaged (and there's of course a lost+found).
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;...
&lt;br /&gt;
After days of &lt;code&gt;dd_rescue&lt;/code&gt; and &lt;code&gt;badblocks&lt;/code&gt;, i recreated the fs and copied back all my data. I had the nice idea to double-check the copied data and found a lot of corruption. I took my laptop to the nearest apple center, and got it back 2 days later (May, 28). 220€ later, my laptop was back with a new 120GB harddrive and OS10.4 on it (although i asked for a clean drive). Booted ubuntu, partionned the disk, formated in ext3 (with 256B inode, ready for ext4), installed yaboot, copied my rescued /.  Tada ! it booted OK. I eventually found that some &lt;code&gt;/var&lt;/code&gt; files were damanged which made &lt;code&gt;apt&lt;/code&gt; unhappy.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;
FIN&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Java WTF</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/20/Java-WTF</link>
    <guid isPermaLink="false">urn:md5:a6e09b65ca7a1eeca5b1d9cb190e7155</guid>
    <pubDate>Tue, 20 May 2008 12:01:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>download</category><category>java</category><category>proxy</category>    
    <description>    &lt;p&gt;I tried to download a propriertary JDK6, worst download experience ever ... clicked download which gave me a JNLP file (???). I first thought it was a bug, so i reloaded the page. No, it's the &amp;quot;Tvo Download Manager&amp;quot;. You need to read the &amp;quot;download&amp;quot; button's tooltip to understand what was going on.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This started a 3 tab download manager:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download: you configure where the file is to be downloaded, the number of retries, the logfile size (???), whether it has to unzip or not, etc&lt;/li&gt;
&lt;li&gt;Proxies: HTTP and FTP proxies configuration. I failed to enter any valid proxy there (it always claimed the proxy was invalid). At first this &amp;quot;tool&amp;quot; must have inherited browser settings.&lt;/li&gt;
&lt;li&gt;Authentication: totally failed to configure this tab with host authentication list, etc&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You want to dowload a zip and you end up with a bloated java downloader for HTTP downloading which doesn't handle transparent proxy configuration and authentification. So i haven't downloaded anything and i'm going to stay as far as possible from this unethical crap. (If that zip was to be downloaded bia bittorrent, i would have understood the need for a downloader.)
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;WTF&lt;/strong&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;PS: I was a proxy admin in my previous job.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>network shared /etc/sudoers</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/15/network-shared-/etc/sudoers</link>
    <guid isPermaLink="false">urn:md5:1ff0413478fc2dfe99b012d89db688c4</guid>
    <pubDate>Thu, 15 May 2008 10:01:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>sudo</category>    
    <description>    &lt;p&gt;I'd like to use the same/etc/sudoers file for a lot of servers. sudo seems to support this because it has &lt;code&gt;Host_Alias&lt;/code&gt;. What's the best way to share the same file ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the path to /etc/sudoers seems to be hardcoded, so i can't put it on a network fs.&lt;/li&gt;
&lt;li&gt;i haven't find any ldap support&lt;/li&gt;
&lt;li&gt;scp the file to all the hosts ?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any experience in that ?
Thanks.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>/dev/random</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/14/lets-drop-openssl</link>
    <guid isPermaLink="false">urn:md5:df92679804d40407628cca57de03e0fb</guid>
    <pubDate>Wed, 14 May 2008 10:50:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>bug</category><category>openssl</category>    
    <description>    &lt;p&gt;About &lt;a href=&quot;http://www.debian.org/security/2008/dsa-1571&quot;&gt;DSA-1571 openssl &lt;/a&gt;, &lt;del&gt;I totally aggree with &lt;a href=&quot;http://blog.drinsama.de/erich/en/linux/2008051401-debian-openssl-desaster&quot;&gt;Eric&lt;/a&gt; ... openssl is just like this &lt;a href=&quot;http://www.xkcd.com/221/&quot;&gt;XKCD strip&lt;/a&gt;. So whatever distro you run, cross your fingers while you generate your keys from so-called uninitialized memory so it's uninitialized enough. Why don't we just drop openssl ?&lt;/del&gt;&lt;/p&gt;


&lt;p&gt;PS: http://wiki.debian.org/SSLkeys gives better explanation. The problem is that one of the cleanups is harmless, while the other one actually commented the code that seeds the PRNG with real entropy. Ouch.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Build a deb package with debug info</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/05/Build-a-deb-with-debug-info</link>
    <guid isPermaLink="false">urn:md5:7ba8c7298ca56466067e3b2624433661</guid>
    <pubDate>Mon, 05 May 2008 16:08:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>bug</category><category>debian</category><category>gdb</category><category>sysprof</category>    
    <description>    &lt;p&gt;I often find the need to rebuild a package with debug symbols (if no -dbg is available).&lt;/p&gt;
&lt;pre&gt;
sudo apt-get build-dep &amp;lt;package&amp;gt;
apt-get source &amp;lt;package&amp;gt;
cd &amp;lt;package&amp;gt;
# eventually patch sources
DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -rfakeroot -uc -us
cd ..
dpkg -i &amp;lt;package&amp;gt;.deb
&lt;/pre&gt;


&lt;p&gt;Et voilà &lt;img src=&quot;/benoit/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;
Now i can gdb it or run sysprof.
(It's also a very fast way to start hacking on a program)&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le gestionnaire de paquets de Mandriva Spring</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/05/05/Le-gestionnaire-de-paquets-de-Mandriva</link>
    <guid isPermaLink="false">urn:md5:1268f8c017db1315e3fa72cb79285ae9</guid>
    <pubDate>Mon, 05 May 2008 10:23:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>alexandria</category><category>distro</category><category>glom</category><category>homebank</category><category>mandriva</category><category>memory</category><category>postgresql</category><category>rpm</category>    
    <description>    &lt;p&gt;A l'invitation de &lt;a href=&quot;http://linuxfr.org/~liberf0rce/&quot;&gt;liberf0rce&lt;/a&gt;, je me lance dans un test limité de Mandriva. J'installe et je regarde le gestionnaire de paquets. En vrac.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;J'ai donc téléchargé le DVD de la 2008.1 version libre. Ca s'installe sans problème, je choisis GNOME et ça roule. Pas de LVM par défaut et je n'ai pas vu de SELinux. L'installation est rapide. Les actes d'administration se font en rentrant le mot de passe root.
&lt;br /&gt;
J'arrive en terrain connu sur mon bureau GNOME: les menus sont bien remplis (et pas bourrés) avec des applications que je ne connaissais même pas telles que &lt;a href=&quot;http://homebank.free.fr/&quot;&gt;Homebank&lt;/a&gt;. Je repère tout de suite le Centre de Contrôle, c'est là que je vais sévir. Je remarque aussi une applet réseau, qui ressemble un peu à NetworkManager.&lt;/p&gt;


&lt;h2&gt;RPMdrake&lt;/h2&gt;

&lt;p&gt;Le gestionnaire de paquets de Mandriva s'appelle RPMdrake et se lance depuis le Centre de Contrôle. On peut visualiser les programmes avec des filtres : applications graphiques, métapaquets et listes de RPM. C'est pas mal mais je suis un peu déçu parce que tous les noms/descriptions de paquets ne sont pas en français alors que les catégories le sont.
&lt;br /&gt;&lt;/p&gt;


&lt;h3&gt;Autodestruction&lt;/h3&gt;

&lt;p&gt;J'ai d'abord essayé de supprimer nautilus. J'ai été averti que task-gnome-minimal allez être supprimé. J'ai donc annulé pour continuer un peu.
&lt;br /&gt;&lt;/p&gt;


&lt;h3&gt;Alexandria&lt;/h3&gt;

&lt;p&gt;Je fouille un peu pour installer alexandria. Mais lequel ?
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/alex2.PNG&quot; alt=&quot;alex2.PNG&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/p&gt;

&lt;h3&gt;Métapaquets&lt;/h3&gt;

&lt;p&gt;Je décide d'installer de quoi coder: je trouve un métapaquet de développement en C++. Je le sélectionne, je fais appliquer, et l'inquisition commence:
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.placenet.org/benoit/public/mandriva/ctags.png&quot;&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/.ctags_m.jpg&quot; alt=&quot;ctags.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;est-ce que je veux libc-dev ou ulibc-dev ?&lt;/li&gt;
&lt;li&gt;libstdcppxyz ou libstdcppabc ?&lt;/li&gt;
&lt;li&gt;etc&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ce n'est pas un problème spécifique aux métapaquets, ça le fait partout si plusieurs paquets peuvent résoudre les dépendances. Ce n'est pas compréhensible du tout et je me demande bien ce qui peut arriver si on fait des choix malheureux qui entrent en conflits avec des paquets déjà installés.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Au final ça s'installe et ça prend énormément de temps. Ca à l'air de fonctionner comme ceci: télécharger un paquet, l'installer, passer au suivant. Les barres de progression sont multiples: quand un paquet s'installe, on voit la barre du paquet, quand ça télécharge, on voit celle du téléchargement, et des fois quand on a de la chance, on voit la barre de progression globale. C'est dommage, la barre de progression globale &amp;quot;X paquets installés sur Y&amp;quot; devraient toujours être visible. A chaque fois que je voulais savoir où en était l'installation, ça m'a obligé à attendre un nouvel écran pour voir le fameux &amp;quot;123/217&amp;quot;.&lt;/p&gt;


&lt;h3&gt;Glom&lt;/h3&gt;

&lt;p&gt;Je veux aussi installer &lt;a href=&quot;http://www.glom.org/&quot;&gt;Glom&lt;/a&gt;. Ca va être un bon test vu que glom va tirer tout un tas de dépendances, jusqu'à &lt;a href=&quot;http://www.postgresql.org/&quot;&gt;PostgreSQL&lt;/a&gt;. Après avoir répond au questionnaire, je lance par le menu et c'est l'explosion, le tackle à la gorge dans les starting blocks:
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/glom_kaput_2.png&quot; alt=&quot;glom_kaput_2.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;
&lt;br /&gt;
Je veux être gentil et ouvrir un bug. Je n'arrive pas à trouver dans le menu une entrée pour faire ça. Ce n'est pas non plus dans l'aide. Je retourne alors dans le Centre de Contrôle, et je trouve dans Aide:
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.placenet.org/benoit/public/mandriva/glombug.png&quot;&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/.glombug_m.jpg&quot; alt=&quot;glombug.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Je mets glom, ça associe le bon paquet, feu et firefox se lance sur un bugzilla sur lequel il faut s'enregistrer. Je peux comprendre que le spam bugbuddy c'est embêtant, mais je suis un luser, j'ai pas envie de m'enregistrer pour mon bug. Tant pis. Ca me paraît problématique pour obtenir des retours des utilisateurs s'ils sont obligés de s'enregistrer.&lt;/p&gt;

&lt;h3&gt;Base de RPM verrouillée&lt;/h3&gt;

&lt;p&gt;En plein vol, j'ai reçu une notification &amp;quot;La base de RPM est verrouillée&amp;quot; et un &amp;quot;?&amp;quot; orange dans ma zone de notification. Je ne sais pas ce que ça veut dire (pas de détails) ou si je dois m'en inquiéter.&lt;/p&gt;


&lt;h2&gt;Sécurité&lt;/h2&gt;

&lt;p&gt;Je me suis promené dans le Centre de Contrôle, c'est globalement bien foutu. Mais il y a des rubriques carrément usines à gaz telle que les paramètre de sécurité.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/secu11.png&quot; alt=&quot;secu11.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Euh c'est quoi le &amp;quot;Choix par défaut&amp;quot; ?
Et c'est plein de listes vertigineuses avec plein de options très variées, la taille de l'historique shell, les paramètres GDM, etc tout mélangé. Et surtout des tas de paramètres que je ne trouve absolument pas pertinents ni pour un luser ni pour un admin. Bref ça ne m'inspire pas vraiment confiance (puisque les choix sont cachés), ce n'est pas encore demain que je vais lâcher mon &lt;code&gt;sudo vi /etc/machin&lt;/code&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/secu2.png&quot; alt=&quot;secu2.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/p&gt;


&lt;h3&gt;Configuration de SSH&lt;/h3&gt;

&lt;p&gt;J'ai fait ces captures d'écran et après j'ai voulu les copier sur mon ibook. Normalement, première connexion SSH == validation de clef. Mais là non, ça accepte la clef immédiatement sans question ni vérification. La configuration par défaut a un bien vilain &lt;code&gt;StrictHostKeyChecking no&lt;/code&gt;, pas sécurisé du tout. OK une clef SSH c'est difficile à mémoriser, mais avec cette option si elle changeait, on ne le saurait même pas :/ Je m'étonne qu'OpenSSH n'est pas encore implémenté quelque chose comme :
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/sshfingerprint.png&quot; alt=&quot;SSH fingerprint&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/p&gt;


&lt;h2&gt;Consommation mémoire&lt;/h2&gt;

&lt;p&gt;Ce weekend j'IRCais avec Luis à propos de la consommation mémoire des applis et je lui disais que Spring mange environ 140Meg de RAM au démarrage sans beagle. Installez un paquet et doublez !
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.placenet.org/benoit/public/mandriva/rpmdrake.png&quot;&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/mandriva/.rpmdrake_m.jpg&quot; alt=&quot;rpmdrake.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Je me disais bien que ça ramait à fond cette installation ! Plus de 100meg pour installer des logiciels. Au final, une fois l'installation terminée, moi qui était parti de 140meg au démarrage, je me retrouve avec 140meg de swap. C'est codé en Mono ou quoi ?&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>ABI vs. API compatibility</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/04/22/ABI-vs-API-compatibility</link>
    <guid isPermaLink="false">urn:md5:e2c2591a8a58add53610f6031ffe1b7f</guid>
    <pubDate>Tue, 22 Apr 2008 08:39:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>gnome</category><category>libgtop</category><category>linux</category><category>memory</category>    
    <description>    &lt;h2&gt;glibtop_get_proc_mem&lt;/h2&gt;

&lt;p&gt;libgtop has a function &lt;code&gt;&lt;a href=&quot;http://svn.gnome.org/viewvc/libgtop/trunk/include/glibtop/procmem.h?view=markup&quot;&gt;glibtop_get_proc_mem&lt;/a&gt;&lt;/code&gt; to retrieve basic memory usage of a process. It fills a &lt;code&gt;struct glibtop_proc_mem&lt;/code&gt; which looks like:&lt;/p&gt;
&lt;pre&gt;
struct _glibtop_proc_mem
{
	guint64	flags;
	guint64 size;	
	guint64 vsize;
	guint64 resident;
	guint64 share;
	guint64 rss;
	guint64 rss_rlim;
};
&lt;/pre&gt;


&lt;p&gt;Yes, &lt;code&gt;size/vsize&lt;/code&gt; and &lt;code&gt;resident/rss&lt;/code&gt; look like duplicate. At least on the linux implementation, even if &lt;code&gt;size/vsize&lt;/code&gt; and &lt;code&gt;resident/rss&lt;/code&gt; come from &lt;code&gt;/proc/self/stat&lt;/code&gt; and &lt;code&gt;/proc/self/statm&lt;/code&gt;, you can see in &lt;code&gt;linux/fs/proc/{array,task_mmu}.c&lt;/code&gt; that they have the same values. So, it seems to me that the only unique members of &lt;code&gt;struct glibtop_proc_mem&lt;/code&gt; are &lt;code&gt;size&lt;/code&gt;, &lt;code&gt;resident&lt;/code&gt; and &lt;code&gt;share&lt;/code&gt; (ok there are also &lt;code&gt;flags&lt;/code&gt; which flags which members are filled and &lt;code&gt;rss_lim&lt;/code&gt;).&lt;/p&gt;


&lt;h2&gt;linux proportional set size&lt;/h2&gt;

&lt;p&gt;Linux 2.6.25 comes with a new stat in &lt;code&gt;/proc/self/smaps&lt;/code&gt; called &lt;code&gt;pss&lt;/code&gt; which is even smarter/accurate than &lt;code&gt;private_dirty&lt;/code&gt;. There's &lt;code&gt;glibtop_get_proc_map&lt;/code&gt; which currently have all the &lt;code&gt;smaps&lt;/code&gt; member but not this new &lt;code&gt;pss&lt;/code&gt;. So what is the smarter way to get this new &lt;code&gt;pss&lt;/code&gt; in libgtop without breaking everything ?&lt;/p&gt;

&lt;h3&gt;- break the ABI ?&lt;/h3&gt;

&lt;p&gt;I could simply extend &lt;code&gt;struct glibtop_proc_map&lt;/code&gt;. That would break the ABI, which i'm allowed to because libgtop is &lt;em&gt;desktop&lt;/em&gt;. But that's bad practice since packagers have to rebuild everything. That's a painful migration that may delay the adoption of newer versions of the library.&lt;/p&gt;

&lt;h3&gt;- break the API ?&lt;/h3&gt;

&lt;p&gt;What about cleaning up the &lt;code&gt;glibtop_proc_mem&lt;/code&gt; duplicate members, mark unused some of them and rename &lt;code&gt;rss&lt;/code&gt; to &lt;code&gt;pss&lt;/code&gt; while keeping it binary compatible ? That would make the API a bit more sensible. I've scanned the Debian/unstable archive and that would break the build 3-6 packages but i would be able to submit trivial patches to fix &lt;code&gt;glibtop_get_proc_mem&lt;/code&gt; usage. (And also add &lt;code&gt;glibtop_init();&lt;/code&gt; which are missing everywhere).&lt;/p&gt;

&lt;h3&gt;- hide &lt;code&gt;pss&lt;/code&gt; inside &lt;code&gt;rss&lt;/code&gt; ?&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;So what's best ?&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Quelques minutes avec Fedora</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/04/21/Quelques-minutes-avec-Fedora</link>
    <guid isPermaLink="false">urn:md5:a65ebcbea28d38e215c7802e7e4e753c</guid>
    <pubDate>Mon, 21 Apr 2008 09:50:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>bug</category><category>distro</category><category>fedora</category><category>WTF</category>    
    <description>    &lt;p&gt;Au travail, la distribution GNU/Linux validée est RHEL 4.5 sur les serveurs et les postes de travail. C'est un peu vieux (Linux 2.6.9, avec un GNOME 2.6 - 2.7), mais ça fonctionne sans problème (j'ai même était surpris que le branchement de clef USB à chaud fonctionne). À mes débuts, vers 2000, j'utilisais RedHat et Mandrake, mais depuis que j'ai découvert Debian, je n'avais jamais ré-utilisé ce type de système.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Donc je me suis dit que j'allais tester Fedora 8, j'ai téléchargé le DVD pour installer ça sur une machine de récupération. L'installation est facile, elle est graphique et ça tient même dans du 800x600, et j'ai choisi un mode minimal (823 paquets quand même): par défaut, le partitionnement utilise LVM et SELinux est en mode strict, tout ça me plaît bien. Il y aussi icedtea dans le tas, c'est sympathique. Quelques minutes plus tard, j'arrive sur mon bureau GNOME 2.20. C'est mignon et très standard. Je veux rajouter un disque dur pour étendre mon / mais je n'arrive pas à trouver d'outils dans le menu, je finis donc par un petit &lt;code&gt;pvcreate/vgextend/lvextend/resize2fs&lt;/code&gt;, rien de bien sorcier.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;En passant, il n'y a pas de sudo configuré par défaut, on tape donc le mot de passe root pour les gestes d'admin.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Ensuite je me mets en tête de tester frysk et systemtap puisque qu'apparemment c'est installé: impossible de mettre la main dessus. Rien dans mon &lt;code&gt;PATH&lt;/code&gt;, les paquets sont bien installés, je lis le man, fais un gros &lt;code&gt;find /&lt;/code&gt;, mais impossible de trouver comment les lancer. Je me dis bon je vais déinstaller/supprimer frysk au cas où: &lt;code&gt;yum remove frysk&lt;/code&gt; fonctionne très bien, par contre &lt;code&gt;yum install frysk&lt;/code&gt; ne connaît pas frysk, le mode &lt;code&gt;search&lt;/code&gt; ne trouve rien. Au passage, il n'y a pas de complétion bash pour yum. Je laisse tomber puisque je vois qu'il y a une entrée dans le menu Applications pour ajouter/supprimer des logiciels.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;J'ai déménagé deux fois en un mois, je n'ai pas récupéré d'accès à Internet, et quand je lance ce gestionnaire de paquets graphique, il n'arrive logiquement pas à récupérer la liste des paquets: il y a bien un bouton &amp;quot;Annuler&amp;quot; mais il ne fonctionne pas. Quand la MAJ échoue enfin, j'ai le choix entre quitter ou voir l'éditeur de la liste des dépôts. Là c'est la première farce: si je clique sur &amp;quot;Fermer&amp;quot; sans avoir fait de modification, ça quitte le gestionnaire de paquets. Après plusieurs essais, je le comprends, et je ne laisse activer que le dépôt &amp;quot;Install media&amp;quot; qui doit correspondre à mon DVD (même si les détails du dépôt sont entièrement vide). La liste des paquets est enfin disponible. Je suis déjà un peu méfiant, puisque qu'en somme le gestionnaire de paquets n'est pas (trivialement) utilisable si on est pas connecté à Internet. Très mauvais point.
&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;J'arrive ensuite sur une liste de méta-paquets répartis en catégories. Ce sont des gros méta-paquets, il y en a peut-être une vingtaine, avec des noms simples tels que &amp;quot;Environnement GNOME&amp;quot;, &amp;quot;Développement GNOME&amp;quot;, etc. Impossible de savoir ce qu'il y a dedans, par contre, on peut savoir en cliquant sur le bouton &amp;quot;Paquets additionnels&amp;quot; ce qu'il n'y pas dedans. Je sélectionne donc &amp;quot;Développement GNOME&amp;quot;, j'installe, c'est un ensemble de paquets très utiles, genre tous les -devel sauf que ça n'a installé aucun outil de développement un peu utile genre style &lt;code&gt;gcc&lt;/code&gt;. Ça m'a quand même installé &lt;code&gt;rcs&lt;/code&gt;... J'y retourne pour installer &amp;quot;Outils de développement&amp;quot;. Je me promène dans les autres catégories pour personnaliser tout ça : au revoir le &amp;quot;Serveur web&amp;quot; (toujours impossible de savoir ce que ça contient), je désélectionne aussi &amp;quot;Bureautique/Productivité&amp;quot; (sic) qui selon sa description doit contenir des afficheurs PDF, etc.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Erreur monumentale.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;D'abord les descriptions sont inexactes voire fausses. Ensuite, il n'y pas de gestion de dépendances entre les méta-paquets : en cliquant à droite à gauche pour alléger mon système, ça a un peu déselectionner par hasard &amp;quot;Environnement de bureau GNOME&amp;quot;, sans me le dire bien sur... moi je suis un luser de base, quand on me présente une liste illisible de noms de RPM dans une petite fenêtre, je fais &amp;quot;Appliquer&amp;quot;. Et là je vois l'installateur de paquets afficher des mise à jour (???), et j'aperçois des trucs importants passer à la trappe: nautilus, gnome-volume-manager, etc. Bref il est trop tard. Les applets plantent en rafale. Je me retrouve à la porte, je retombe sur GDM et tente de retourner dans ma session ... xterm. On m'avait pas le coup depuis 10 ans.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Magnifique: en quelques minutes, j'ai flingué mon système en voulant juste supprimer &amp;quot;Sons et vidéos&amp;quot;, &amp;quot;Graphismes&amp;quot;, &amp;quot;Internet basé sur texte&amp;quot; (sic) et quelques trucs comme ça. J'insiste, je n'ai pas fait n'importe quoi. Seulement les dépendances et RPM, même 10 ans après, ça ressemble toujours à de l'escroquerie. Une distribution avec des gestionnaires de paquets aussi défectueux, ça me paraît inutilisable (et pour cause j'ai détruit mon système) qu'on soit utilisateur de base ou ingénieur de métier. Mais qui utilise ça !?
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Le DVD finira son weekend à la poubelle. Mes Debian/Sid n'ont pas à s'en faire. Une distribution, c'est des paquets, et Fedora j'ai vu. Pour bien m'assurer du problème, j'ai fait 2 fois l'installation et la manipulation. La première fois, j'ai même eu droit à un plantage du gestionnaire de paquets. Peut-être que Fedora a par ailleurs de bons outils de configuration système (j'ai regardé un peu l'intégration NIS/LDAP/Kerberos ça m'a plu), mais si le plus important est (toujours) défaillant, ça fait fuire.
&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;Allez pour la route, une petite capture d'écran pour que vous faire une idée du niveau de crédibilité de la gestion des paquets sous Fedora 8:
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.placenet.org/benoit/public/armenie.png&quot;&gt;&lt;img src=&quot;http://www.placenet.org/benoit/public/./.armenie_m.jpg&quot; alt=&quot;armenie&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;(Vous pouvez aussi en déduire que personne n'utilise Fedora, en français du moins, sinon ce genre de bourdes aurait était détecté)&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Unix 64bits fun</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/04/05/Unix-64bits-fun</link>
    <guid isPermaLink="false">urn:md5:9605add8e3602cf525ccd332b1604a5a</guid>
    <pubDate>Sat, 05 Apr 2008 18:49:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>job</category><category>memory</category>    
    <description>    &lt;p&gt;I used to work within a team of windows admins. I saw them strugling with applications requiring too much memory for Windows 32bits. Maybe some people run Windows 64bits, but i've never seen that: applications comes from everywhere and are 32bits only. Moreover, the kernel/user split is 2G/2G and that's pretty small for a Java process. Most servers i've seen have 4GB of memory (usually only 3GB are managed on common^Wbroken configs) and are dedicated to a small set of applications, so there's really no point in adding more memory. Oh, and yes, we run hundreds of Windows servers, not for fun.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;But i've switched back to the bright side and left that windows world: i now play with unix servers, big filers and tape libraries. I've just realized that most of the linux workstations are 64bits and have at least 8GB of RAM. Yup, that's twice more than the biggest Windows servers we run...
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;This week, we had to recover a somehow low-end server and install RHEL on it. When i say 'low-end', i mean an old Dell or HP server garbage-collected to set-up some test environment, nothing valuable to the company. The server booted, and damn, the RAM-check took 40s ... 49152MB. Yes, 24 x 2GB on a 'low-end' server. So i asked my workmate why there were so much RAM on a simple server:
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;&lt;q&gt;We don't tune applications, we add more memory.&lt;/q&gt; he said.
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;That's true unix speech &lt;img src=&quot;/benoit/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>There and back again</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/03/28/There-and-back-again</link>
    <guid isPermaLink="false">urn:md5:0670faa2515e98dc600e7c2f7efd451a</guid>
    <pubDate>Fri, 28 Mar 2008 20:40:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>Clermont-Ferrand</category><category>friends</category><category>job</category><category>netcache</category><category>Pau</category>    
    <description>    &lt;p&gt;For more than a year, i've been the NetApp NetCache (proxies) worldwide guru at some very big company in Pau.
&lt;br /&gt;
But on the first week-end of March, i moved from Pau (South West) to Clermont-Ferrand (Center) (that's 600km away) to start a new position as a Unix admin (mostly AIX servers). But i ended up doing uninteresting things (to me), i felt sick, i couldn't stand the job and I was very disapointed. Today i've accepted a real Unix admin job back in Pau ...
&lt;br /&gt;
I'm really sad because most of my friends are in Clermont-Ferrand. It kills me to say so, but i need a not-awfull job to be happy, even if i have lots of friends around. Being in Clermont-Ferrand was like starting a new life. Friends are everyting.
&lt;br /&gt;
On Tuesday i'll be back in Pau and hope to stabilize a bit (at least for a full month ;).&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>WTF</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/03/18/WTF</link>
    <guid isPermaLink="false">urn:md5:c83dad0b0e0be244fc81a7d9c5f286d9</guid>
    <pubDate>Tue, 18 Mar 2008 13:43:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>system-monitor</category><category>WTF</category>    
    <description>    &lt;p&gt;system-monitor is getting &lt;a href=&quot;http://thedailywtf.com/Articles/Software-Bloat.aspx&quot; hreflang=&quot;en&quot;&gt;famous&lt;/a&gt; !
&lt;br /&gt;
(This is &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=418652&quot;&gt;bug#418652&lt;/a&gt;.)&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Power management failure</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/02/21/gnome-power-manager-failure</link>
    <guid isPermaLink="false">urn:md5:ced562db2d58c895327d70579747e952</guid>
    <pubDate>Thu, 21 Feb 2008 00:15:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>emacs</category><category>gnome</category><category>laptop</category><category>reiserfs</category>    
    <description>    &lt;p&gt;Tonight i was hacking on my ibook on my sofa watching Extreme Makeover. Then &amp;quot;peeeeeeeeeeeewwwwwwwwwwwww&amp;quot;. No more battery.
&lt;br /&gt;
I haven't received any warning at all. Maybe gnome-power-manager is a bit broken currently on Debian/sid because of &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452367&quot;&gt;hal/s2ram/whatever&lt;/a&gt; on ppc. I mean s2ram and hal works, but no the way gpm likes them too (i have to manually run s2ram to suspend). But at least , I would have expected gpm to warn me, and then shutdown my laptop. Yep, i've checked, when the battery level becomes critical, it should have poweroff. But that did not happen.&lt;br /&gt;
Now i only trust the battery gauge LEDs.&lt;br /&gt;
Happy End: thanks to reiserfs and emacs, i haven't lost a single line of code &lt;img src=&quot;/benoit/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Empoisonnement</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/12/27/Empoisonnement</link>
    <guid isPermaLink="false">urn:md5:7d90bbf3fa4cba4f559f88090ef554a4</guid>
    <pubDate>Thu, 27 Dec 2007 09:07:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
            
    <description>    &lt;p&gt;Vivement l'interdiction de fumer dans les bars et partout. J'ai vraiment été stupide d'y retourner hier soir.
&lt;br /&gt;
En attendant 2008, fumeurs, je vous gerbe à la gueule.
&lt;br /&gt;
(C'est réciproquement l'effet que me fait votre merde, mes fringues sont pourries, j'ai les yeux explosés, etc).&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>GNOME system monitor team</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/12/10/GNOME-system-monitor-team</link>
    <guid isPermaLink="false">urn:md5:d12c1e6a630a391e1ccb2d4d45e79d09</guid>
    <pubDate>Mon, 10 Dec 2007 19:20:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Bienvenue &lt;a href=&quot;http://www.qdh.org.uk/wordpress/?p=187&quot;&gt;Karl&lt;/a&gt; !&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le Moyen-Age</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/11/27/Le-Moyen-Age</link>
    <guid isPermaLink="false">urn:md5:eb0f8aaa8cd35fbd3192925786af8d4b</guid>
    <pubDate>Tue, 27 Nov 2007 12:51:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>barbarie</category><category>france</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://www.lemonde.fr/web/article/0,1-0@2-3224,36-982827,0.html&quot;&gt;Article détaillé&lt;/a&gt; du Monde sur ce qui se passe à Villiers-le-Bel. Je ne parle pas des raisons à ce conflit. C'est le retour à la barbarie, au vandalisme, c'est la fin de l'Etat.
&lt;br /&gt;
&lt;br /&gt;
Si je passais par là, j'aurais très certainement l'impression de voyager dans le temps. Je me retrouverais en plein Moyen-Age. L'effondrement de l'Empire Romain et l'explosion de la Pax Romana ont plongé notre monde dans mille ans d'insécurité, de violence, d'invasions et d'arbitraire. On cherchait une protection pour survivre et le système féodal a répondu à ce besoin: on se réfugiait derrière les murs d'un château, sous la protection d'un plus puissant.
&lt;br /&gt;
Notre civilisation antique, aussi brillante qu'elle était, à néanmoins disparu. Je ne parle pas d'apocalypse: la barbarie est partout et en nous.
&lt;br /&gt;
&lt;br /&gt;
Je ne comprends simplement pas cette violence: où apprend-t-on à jeter des pierres, à frapper l'autre, à brûler des objets ou des personnes, à saccager le bien commun et le bien d'autrui ? Dans mon esprit, dans ma société, avec mon éducation, tout cela est impensable.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>bootparam mem=128M</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/11/24/bootparam-mem128M</link>
    <guid isPermaLink="false">urn:md5:136abb9e3830d8e7fa05d479ca9888a8</guid>
    <pubDate>Sat, 24 Nov 2007 22:21:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>gnome</category><category>memory</category>    
    <description>    &lt;p&gt;&lt;a href=&quot;http://gemasgeek.canalblog.com/archives/2007/11/22/6976547.html&quot;&gt;Emmanuel&lt;/a&gt; is right. A lot of people in the world, our users, have computers with 128MiB. I can't believe it's possible to run GNOME with that few memory. At least you have to kill a couple of applets and disable all python plugins.
&lt;br /&gt;
So on 12/8 i will boot my laptop with boot=128M for one day, to see what it feels like. If you want to follow me...&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Bonne fête Luc !</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/10/18/Bonne-fete-Luc</link>
    <guid isPermaLink="false">urn:md5:33a4aafb07f0b2b036a62dbd6b60e8d0</guid>
    <pubDate>Thu, 18 Oct 2007 08:51:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>luc</category>    
    <description>    &lt;p&gt;Je que l'homme de la situation !&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>ur doin it wrong</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/10/10/ur-doin-it-wrong</link>
    <guid isPermaLink="false">urn:md5:153d79dd7d30979e6e52824b6ce7f018</guid>
    <pubDate>Wed, 10 Oct 2007 17:32:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>stupid</category>    
    <description>    &lt;p&gt;How does a Windows developer send a patch ? He opens Beyond&amp;amp;Compare (GUI Tool), prints the screen into a PDF and emails it.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Internet Explorer sucks</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/10/10/IE-sucks</link>
    <guid isPermaLink="false">urn:md5:f9b6494440f325d34373096f7f3f3028</guid>
    <pubDate>Wed, 10 Oct 2007 12:41:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>debian</category><category>iceweasel</category><category>proxy</category>    
    <description>    &lt;p&gt;Today, I'm working on setting up a new &lt;a href=&quot;http://en.wikipedia.org/wiki/HTTP_status_code&quot;&gt;HTTP 403 error&lt;/a&gt; page on a web proxy: this is what the user gets when access is denied by ACL. I've improved the error page to display URL, date, username, etc so i can get more meaningful messages from the helpdesk. Users are running Windows XP SP2.&lt;br /&gt;
Here's a silly IE6 bug:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;when the URL is HTTP and is blocked by the proxy, the proxy sends a 403 with an error page. The page is correctly displayed.&lt;/li&gt;
&lt;li&gt;but when the URL is HTTP tunnel (=https://), the proxy still sends the 403 error page but IE6 truncates the display to the first 1024 bytes...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;
So get &lt;a href=&quot;http://www.geticeweasel.org/&quot;&gt;&lt;img src=&quot;http://www.geticeweasel.org/iceweasel.gif&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; and of course run &lt;a href=&quot;http://www.debian.com/&quot;&gt;&lt;img src=&quot;http://www.debian.com/logos/openlogo-nd-50.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>IPv6 or NAT</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/09/19/IPv6-or-NAT</link>
    <guid isPermaLink="false">urn:md5:26a6abe56bf7654579e33ccc957dbc8e</guid>
    <pubDate>Wed, 19 Sep 2007 11:20:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>IPv6</category>    
    <description>    &lt;p&gt;I know the various &lt;a href=&quot;http://cr.yp.to/djbdns/ipv6mess.html&quot;&gt;issues&lt;/a&gt; about IPv6. Many people suggest that NAT is part of the solution, at least for company networks. But where i work, NAT is not : we're running out &lt;a href=&quot;http://www.ietf.org/rfc/rfc1918.txt&quot;&gt;RFC1918&lt;/a&gt; addresses...&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>