1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from January
2012</title>
5 <description>Entries from January
2012</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Fixing an hanging debian installer for Debian Edu
</title>
11 <link>http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html
</guid>
13 <pubDate>Tue,
3 Jan
2012 11:
25:
00 +
0100</pubDate>
14 <description><p
>During christmas, I have been working getting the next version of
15 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> ready
16 for release. The initial problem I looked at was particularly
17 interesting.
</p
>
19 <P
>The installer would hang at the end when it was doing it
20 post-installation configuration, and whatevery I did to try to find
21 the cause and fix it always worked while I tested it, but never when I
22 integrated it into the installer and ran the installation from
23 scratch. I would try to restart processes, close file descriptors,
24 remove or create files, and the installer would always unblock and
25 wrap up its tasks.
</p
>
27 <p
>Eventually the cause was found. The kernel was simply running out
28 of entropy, causing the Kerberos setup to hang waiting for more.
29 Pressing keys was adding entropy to the kernel, and thus all my tries
30 to fix the problem worked not because what I was typing to fix it, but
31 because I was typing.
</P
>
33 <p
>The fix I implemented was to add a background process looking at
34 the level of entropy in the kernel (by checking
35 /proc/sys/kernel/random/entropy_avail), and if it was too small, the
36 installer will flush the kernel file buffers and do
'find /
' to
37 generate some disk IO. Disk IO generate entropy in the kernel, and is
38 one of the few things that can be initated from within the system to
39 generate entropy.
</p
>
41 <p
>The fix is in
42 <a href=
"http://wiki.debian.org/DebianEdu/Documentation/Squeeze/Installation
">beta1
43 of the Debian Edu/Squeeze
</a
> version, and we
44 <a href=
"http://wiki.debian.org/DebianEdu
">welcome more testers and
45 developers
</a
>. We plan to release beta2 this weekend.
</p
>
50 <title>Second beta version of Debian Edu / Skolelinux based on Squeeze
</title>
51 <link>http://people.skolelinux.org/pere/blog/Second_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html
</link>
52 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Second_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html
</guid>
53 <pubDate>Sat,
7 Jan
2012 22:
50:
00 +
0100</pubDate>
54 <description><p
>I am happy to announce that today we managed to wrap up and publish
55 the second beta version of
56 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
>. If
57 you want to test a LDAP backed Kerberos server with out of the box PXE
58 configuration for running diskless machines and installing new
59 machines, check it out. If you need a software solution for your
60 school, check it out too. The full announcement is
61 <a href=
"http://lists.debian.org/debian-edu-announce/
2012/
01/msg00000.html
">available
</a
>
62 on the project announcement list.
</p
>
67 <title>Changing the default Iceweasel start page in Debian Edu/Squeeze
</title>
68 <link>http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html
</link>
69 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html
</guid>
70 <pubDate>Tue,
10 Jan
2012 15:
30:
00 +
0100</pubDate>
71 <description><p
>In the Squeeze version of
72 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> soon
73 to be released, users of the system will get their default browser
74 start page set from LDAP, allowing the system administrator to point
75 all users to the school web page by updating one setting in LDAP. In
76 addition to setting the default start page when a machine boots, users
77 are shown the same page as a welcome page when they log in for the
80 <p
>The LDAP object dc=skole,dc=skolelinux,dc=no have an attribute
81 labeledURI with
"http://www/ LDAP for Debian Edu/Skolelinux
" as the
82 default content. By changing this value to another URL, all users get
83 to see the page behind this new URL.
</p
>
85 <p
>An easy way to update it is by using the ldapvi tool. It can be
86 called as
"<tt
>ldapvi -ZD
'(cn=admin)
'</tt
>' to update LDAP with the
87 new setting.
</p
>
89 <p
>We have written the code to adjust the default start page and show
90 the welcome page, and I wonder if there is an easier way to do this
91 from within Iceweasel instead.
</p
>