<link>http://people.skolelinux.org/pere/blog/</link>
<atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
+ <item>
+ <title>Fixing an hanging debian installer for Debian Edu</title>
+ <link>http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html</guid>
+ <pubDate>Tue, 3 Jan 2012 11:25:00 +0100</pubDate>
+ <description><p>During christmas, I have been working getting the next version of
+<a href="http://www.skolelinux.org/">Debian Edu / Skolelinux</a> ready
+for release. The initial problem I looke at was particularly
+interesting.</p>
+
+<P>The installer would hang at the end when it was doing it
+post-installation configuration, and whatevery I did to try to find
+the cause and fix it always worked while I tested it, but never when I
+integrated it into the installer and ran the installation from
+scratch. I would try to restart processes, close file descriptors,
+remove or create files, and the installer would always unblock and
+wrap up its tasks.</p>
+
+<p>Eventually the cause was found. The kernel was simply running out
+of entropy, causing the Kerberos setup to hang waiting for more.
+Pressing keys was adding entropy to the kernel, and thus all my tries
+to fix the problem worked not because what I was typing to fix it, but
+because I was typing.</P>
+
+<p>The fix I implemented was to add a background process looking at
+the level of entropy in the kernel (by checking
+/proc/sys/kernel/random/entropy_avail), and if it was too small, the
+installer will flush the kernel file buffers and do 'find /' to
+generate some disk IO. Disk IO generate entropy in the kernel, and is
+one of the few things that can be initated from within the system to
+generate entropy.</p>
+
+<p>The fix is in
+<a href="http://wiki.debian.org/DebianEdu/Documentation/Squeeze/Installation">beta1
+of the Debian Edu/Squeeze</a> version, and we
+<a href="http://wiki.debian.org/DebianEdu">welcome more testers and
+developers</a>. We plan to release beta2 this weekend.</p>
+</description>
+ </item>
+
<item>
<title>Skolelinux-intervju: Peter Hansteen</title>
<link>http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Peter_Hansteen.html</link>
</description>
</item>
- <item>
- <title>Mer løgnpropaganda fra BSA</title>
- <link>http://people.skolelinux.org/pere/blog/Mer_l_gnpropaganda_fra_BSA.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Mer_l_gnpropaganda_fra_BSA.html</guid>
- <pubDate>Fri, 9 Sep 2011 11:00:00 +0200</pubDate>
- <description><p>I år igjen er Microsoft-politiet BSA ute med løgnpropagandaen sin.
-Hvert år de siste årene har BSA, lobbyfronten til de store
-programvareselskapene som Microsoft og Apple, publisert en rapport der
-de gjetter på hvor mye piratkopiering påfører i tapte inntekter i
-ulike land rundt om i verden. Resultatene er alltid tendensiøse.
-Den siste rapporten er tilgjengelig fra
-<a href="http://portal.bsa.org/globalpiracy2010/downloads/opinionsurvey/survey_global.pdf">deres
-nettsted</a>.</p>
-
-<p>Den har fått endel dekning av journalister som åpenbart ikke har
-tenkt på å stille kritiske spørsmål om resultatene. Se f.eks.
-<a href="http://www.digi.no/877642/halvparten-bruker-pirat-program">digi.no</a>,
-<a href="http://www.hardware.no/artikler/halvparten_av_alle_pc-brukere_er_pirater/101791">hardware.no</a>
-og
-<a href="http://www.aftenposten.no/forbruker/digital/article4220787.ece">aftenposten.no</a>.</p>
-
-<p>BSA-undersøkelsene er søppel som inneholder oppblåste tall, og
-har gjentatte ganger blitt tatt for dette. Her er noen interessante
-referanser med bakgrunnsinformasjon.</p>
-
-<p><ul>
-
-<li><a href="http://www.idg.no/selskaper/article190966.ece">Fnyser av
- nye pirattall fra BSA</a> Computerworld Norge 2011.</li>
-
-<li><a href="http://www.idg.se/2.1085/1.229795/bsa-hoftade-sverigesiffror">BSA
-höftade Sverigesiffror</a> Computerworld Sverige 2009.</li>
-
-<li><a href="http://www.v3.co.uk/v3-uk/opinion/1972843/bsa-piracy-figures-shot-reality">BSA
- piracy figures need a shot of reality</a> v3.co.uk 2009</li>
-
-<li><a href="http://www.michaelgeist.ca/content/view/3958/125/">Does The WIPO Copyright Treaty Work? The Business Software Association Piracy Data</a> Michael Geist blogg 2009</li>
-
-<li><a href="http://torrentfreak.com/australian-govt-draft-says-piracy-stats-made-up/">Australian
- govt draft says piracy stats are made up</a> Torrentfreak 2006.</li>
-
-<li><a href="http://www.boingboing.net/2006/05/19/is_one_months_piracy.html">Is
- one month's piracy worth more than France's GDP?</a> Boing Boing
- 2006.</li>
-
-<li><a href="http://www.idg.no/bransje/bransjenyheter/article6603.ece">Sviende
- kritikk mot pirat-tall</a> Computerworld Norge 2005.</li>
-
-</ul></p>
-
-<p>Personlig skulle jeg ønske BSA var enda mer ivrig og mer hardhendt
-i å håndheve de ikke-frie programvarelisensene (og de er ganske ivrige
-allerede), slik at brukerne av disse forsto vilkårene bedre. Jeg tror
-nemlig ingen som forstår vilkårene vil akseptere dem og at det vil
-føre til at flere tar i bruk fri programvare.</p>
-</description>
- </item>
-
</channel>
</rss>