1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>Skolelinux er laget for sentraldrifting, naturligvis
</title>
11 <link>http://people.skolelinux.org/pere/blog/Skolelinux_er_laget_for_sentraldrifting__naturligvis.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Skolelinux_er_laget_for_sentraldrifting__naturligvis.html
</guid>
13 <pubDate>Wed,
9 Jun
2010 12:
30:
00 +
0200</pubDate>
15 <p
>Det er merkelig hvordan myter om Skolelinux overlever. En slik
16 myte er at Skolelinux ikke kan sentraldriftes og ha sentralt plasserte
17 tjenermaskiner. I siste Computerworld Norge er
18 <a href=
"http://www.idg.no/computerworld/article169432.ece
">IT-sjef
19 Viggo Billdal i Steinkjer intervjuet
</a
>, og forteller uten
22 <blockquote
><p
>Vi hadde Skolelinux, men det har vi sluttet med. Vi testet
23 om det lønte seg med Microsoft eller en åpen plattform. Vi fant ut at
24 Microsoft egentlig var totalt sett bedre egnet. Det var store
25 driftskostnader med Skolelinux, blant annet på grunn av
26 desentraliserte servere. Det var komplisert, så vi gikk vekk fra det
27 og bruker nå bare Windows.
</p
></blockquote
>
30 href=
"https://init.linpro.no/pipermail/skolelinux.no/bruker/
2010-June/
009101.html
">rask
31 sjekk
</a
> mot den norske brukerlista i Skolelinuxprosjektet forteller
32 at Steinkjers forsøk foregikk fram til
2004/
2005, og at Røysing skole
33 i Steinkjer skal ha vært svært fornøyd med Skolelinux men at kommunen
34 overkjørte skolen og krevde at de gikk over til Windows. Et søk på
36 <a href=
"http://www.dn.no/multimedia/archive/
00090/Dagens_it_nr__18_90826a.pdf
">Dagens
37 IT nr.
18 2005</a
> hvor en kan lese på side
18:
</p
>
39 <blockquote
><p
>Inge Tømmerås ved Røysing skole i Steinkjer kjører ennå
40 Microsoft, men forteller at kompetanseutfordringen med Skolelinux ikke
41 var så stor. Jeg syntes Skolelinux var utrolig lett å drifte uten
42 forkunnskaper. Men man må jo selvsagt ha tilgang på ekstern kompetanse
43 til installasjoner og maskinvarefeil, sier Tømmerås.
</p
></blockquote
>
45 <p
>Som systemarkitekten bak Skolelinux, kan jeg bare riste på hodet
46 over påstanden om at Skolelinux krever desentraliserte tjenere.
47 Skolelinux-arkitekturen er laget for sentralisert drift og plassering
48 av tjenerne lokalt eller sentralt alt etter behov og nettkapasitet.
49 Den er modellert på nettverks- og tjenerløsningen som brukes på
50 Universitetet i Tromsø og Oslo, der jeg jobber med utvikling av
51 driftstjenester. Dette er det heldigvis noen som har fått med seg, og
52 jeg er glad for å kunne sitere fra en kommentar på den overnevnte
53 artikkelen. Min venn og gamle kollega Sturle Sunde forteller der:
56 <p
>I Flora kommune køyrer vi Skulelinux på skular med alt frå
15 til
57 meir enn
500 elevar. Dei store skulane har eigen tenar, for det er
58 mest praktisk. Eg, som er driftsansvarleg for heile nettet, ser
59 sjeldan dei tenarane fysisk, men at dei står der gjer skulane mindre
60 avhengige av eksterne linjer som er trege eller dyre. Dei minste
61 skulane har ikkje eigen tenar. Å bruke sentral tenar er heller ikkje
62 noko problem. Småskulane klarar seg fint med
1 mbit-linje til ein
63 sentral tenar eller tenaren på ein større skule.
</p
>
65 <p
>Det beste med Skulelinux er halvtjukke klientar. Dei treng ikkje
66 harddisk og brukar minimalt med ressursar på tenaren fordi dei køyrer
67 programma lokalt. Eit klasserom med
30 sju-åtte år gamle maskiner har
68 mykje meir CPU og RAM totalt enn nokon moderne tenar til under
69 millionen. Det trengst to kommandoar på den sentrale tenaren for å
70 oppdatere alle klientane, både tynne og halvtjukke. Vi har ingen
71 problem med diskar som ryk heller, som var eit problem før fordi
72 elevane sat og sparka i maskinene. Og dei krev lite bandbreidde i
73 nettet, so det er fullt mogleg å køyre slike på småskular med trege
74 linjer mot tenaren på ein større skule.
</p
>
76 <p
>Flora kommune har nesten
800 Linux-maskiner i sitt skulenett, og
77 ein person som tek seg av drift av heile nettet, inkludert tenarar,
78 klientar, operativsystem, programvare, heimekontorløysing og
79 administrasjon av brukarar.
</p
>
81 <p
>No skal det seiast at vi ikkje køyrer rein Skulelinux ut av
82 boksen. Vi har gjort ein del tilpassingar mot noko Novell-greier som
83 var der frå før, og som har komplisert installasjonen vår. Etter at
84 oppsettet var gjort har løysinga vore stabil og kravd minimalt med
88 <p
>Jeg vet at Narvik, Harstad og Oslo er kommuner der Skolelinux
89 sentraldriftes med sentrale tjenere. Det forteller meg at Steinkjers
90 IT-sjef neppe bør skylde på Skolelinux-løsningen for sine
5 år gamle
96 <title>Upstart or sysvinit - as init.d scripts see it
</title>
97 <link>http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html
</link>
98 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html
</guid>
99 <pubDate>Sun,
6 Jun
2010 23:
55:
00 +
0200</pubDate>
101 <p
>If Debian is to migrate to upstart on Linux, I expect some init.d
102 scripts to migrate (some of) their operations to upstart job while
103 keeping the init.d for hurd and kfreebsd. The packages with such
104 needs will need a way to get their init.d scripts to behave
105 differently when used with sysvinit and with upstart. Because of
106 this, I had a look at the environment variables set when a init.d
107 script is running under upstart, and when it is not.
</p
>
109 <p
>With upstart, I notice these environment variables are set when a
110 script is started from rcS.d/ (ignoring some irrelevant ones like
113 <blockquote
><pre
>
119 UPSTART_EVENTS=startup
121 UPSTART_JOB=rc-sysinit
122 </pre
></blockquote
>
124 <p
>With sysvinit, these environment variables are set for the same
127 <blockquote
><pre
>
128 INIT_VERSION=sysvinit-
2.88
133 </pre
></blockquote
>
135 <p
>The RUNLEVEL and PREVLEVEL environment variables passed on from
136 sysvinit are not set by upstart. Not sure if it is intentional or not
137 to not be compatible with sysvinit in this regard.
</p
>
139 <p
>For scripts needing to behave differently when upstart is used,
140 looking for the UPSTART_JOB environment variable seem to be a good
146 <title>A manual for standards wars...
</title>
147 <link>http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html
</link>
148 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html
</guid>
149 <pubDate>Sun,
6 Jun
2010 14:
15:
00 +
0200</pubDate>
152 <a href=
"http://feedproxy.google.com/~r/robweir/antic-atom/~
3/QzU4RgoAGMg/weekly-links-
10.html
">blog
153 of Rob Weir
</a
> I came across the very interesting essay named
154 <a href=
"http://faculty.haas.berkeley.edu/shapiro/wars.pdf
">The Art of
155 Standards Wars
</a
> (PDF
25 pages). I recommend it for everyone
156 following the standards wars of today.
</p
>
161 <title>Sitesummary tip: Listing computer hardware models used at site
</title>
162 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html
</link>
163 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html
</guid>
164 <pubDate>Thu,
3 Jun
2010 12:
05:
00 +
0200</pubDate>
166 <p
>When using sitesummary at a site to track machines, it is possible
167 to get a list of the machine types in use thanks to the DMI
168 information extracted from each machine. The script to do so is
169 included in the sitesummary package, and here is example output from
170 the Skolelinux build servers:
</p
>
172 <blockquote
><pre
>
173 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
175 Dell Computer Corporation
1
178 eserver xSeries
345 -[
8670M1X]-
1
182 </pre
></blockquote
>
184 <p
>The quality of the report depend on the quality of the DMI tables
185 provided in each machine. Here there are Intel machines without model
186 information listed with Intel as vendor and mo model, and virtual Xen
187 machines listed as [no-dmi-info]. One can add -l as a command line
188 option to list the individual machines.
</p
>
190 <p
>A larger list is
191 <a href=
"http://narvikskolen.no/sitesummary/
">available from the the
192 city of Narvik
</a
>, which uses Skolelinux on all their shools and also
193 provide the basic sitesummary report publicly. In their report there
194 are ~
1400 machines. I know they use both Ubuntu and Skolelinux on
195 their machines, and as sitesummary is available in both distributions,
196 it is trivial to get all of them to report to the same central
202 <title>Togsatsing på norsk, mot sykkel
</title>
203 <link>http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html
</link>
204 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html
</guid>
205 <pubDate>Wed,
2 Jun
2010 23:
45:
00 +
0200</pubDate>
207 <p
>Det står dårlig til med toget når en finner på å la det
208 <a href=
"http://www.aftenposten.no/nyheter/iriks/article3677060.ece
">kappkjøre
209 med sykkel
</a
>... Jeg tror det trengs strukturendringer for å få
210 fikset på togproblemene i Norge.
</p
>
212 <p
>Mon tro hva toglinje mellom Narvik og Tromsø ville hatt slags
213 effekt på området der?
</p
>
218 <title>KDM fail at boot with NVidia cards - and no one try to fix it?
</title>
219 <link>http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html
</link>
220 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html
</guid>
221 <pubDate>Tue,
1 Jun
2010 17:
05:
00 +
0200</pubDate>
223 <p
>It is strange to watch how a bug in Debian causing KDM to fail to
224 start at boot when an NVidia video card is used is handled. The
225 problem seem to be that the nvidia X.org driver uses a long time to
226 initialize, and this duration is longer than kdm is configured to
229 <p
>I came across two bugs related to this issue,
230 <a href=
"http://bugs.debian.org/
583312">#
583312</a
> initially filed
231 against initscripts and passed on to nvidia-glx when it became obvious
232 that the nvidia drivers were involved, and
233 <a href=
"http://bugs.debian.org/
524751">#
524751</a
> initially filed against
234 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.
</p
>
236 <p
>To me, it seem that no-one is interested in actually solving the
237 problem nvidia video card owners experience and make sure the Debian
238 distribution work out of the box for these users. The nvidia driver
239 maintainers expect kdm to be set up to wait longer, while kdm expect
240 the nvidia driver maintainers to fix the driver to start faster, and
241 while they wait for each other I guess the users end up switching to a
242 distribution that work for them. I have no idea what the solution is,
243 but I am pretty sure that waiting for each other is not it.
</p
>
245 <p
>I wonder why we end up handling bugs this way.
</p
>
250 <title>Parallellized boot seem to hold up well in Debian/testing
</title>
251 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html
</link>
252 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html
</guid>
253 <pubDate>Thu,
27 May
2010 23:
55:
00 +
0200</pubDate>
255 <p
>A few days ago, parallel booting was enabled in Debian/testing.
256 The feature seem to hold up pretty well, but three fairly serious
257 issues are known and should be solved:
261 <li
>The wicd package seen to
262 <a href=
"http://bugs.debian.org/
508289">break NFS mounting
</a
> and
263 <a href=
"http://bugs.debian.org/
581586">network setup
</a
> when
264 parallel booting is enabled. No idea why, but the wicd maintainer
265 seem to be on the case.
</li
>
267 <li
>The nvidia X driver seem to
268 <a href=
"http://bugs.debian.org/
583312">have a race condition
</a
>
269 triggered more easily when parallel booting is in effect. The
270 maintainer is on the case.
</li
>
272 <li
>The sysv-rc package fail to properly enable dependency based boot
273 sequencing (the shutdown is broken) when old file-rc users
274 <a href=
"http://bugs.debian.org/
575080">try to switch back
</a
> to
275 sysv-rc. One way to solve it would be for file-rc to create
276 /etc/init.d/.legacy-bootordering, and another is to try to make
277 sysv-rc more robust. Will investigate some more and probably upload a
278 workaround in sysv-rc to help those trying to move from file-rc to
279 sysv-rc get a working shutdown.
</li
>
281 </ul
></p
>
283 <p
>All in all not many surprising issues, and all of them seem
284 solvable before Squeeze is released. In addition to these there are
285 some packages with bugs in their dependencies and run level settings,
286 which I expect will be fixed in a reasonable time span.
</p
>
288 <p
>If you report any problems with dependencies in init.d scripts to
289 the BTS, please usertag the report to get it to show up at
290 <a href=
"http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org
">the
291 list of usertagged bugs related to this
</a
>.
</p
>
293 <p
>Update: Correct bug number to file-rc issue.
</p
>
298 <title>More flexible firmware handling in debian-installer
</title>
299 <link>http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html
</link>
300 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html
</guid>
301 <pubDate>Sat,
22 May
2010 21:
30:
00 +
0200</pubDate>
303 <p
>After a long break from debian-installer development, I finally
304 found time today to return to the project. Having to spend less time
305 working dependency based boot in debian, as it is almost complete now,
306 definitely helped freeing some time.
</p
>
308 <p
>A while back, I ran into a problem while working on Debian Edu. We
309 include some firmware packages on the Debian Edu CDs, those needed to
310 get disk and network controllers working. Without having these
311 firmware packages available during installation, it is impossible to
312 install Debian Edu on the given machine, and because our target group
313 are non-technical people, asking them to provide firmware packages on
314 an external medium is a support pain. Initially, I expected it to be
315 enough to include the firmware packages on the CD to get
316 debian-installer to find and use them. This proved to be wrong.
317 Next, I hoped it was enough to symlink the relevant firmware packages
318 to some useful location on the CD (tried /cdrom/ and
319 /cdrom/firmware/). This also proved to not work, and at this point I
320 found time to look at the debian-installer code to figure out what was
321 going to work.
</p
>
323 <p
>The firmware loading code is in the hw-detect package, and a closer
324 look revealed that it would only look for firmware packages outside
325 the installation media, so the CD was never checked for firmware
326 packages. It would only check USB sticks, floppies and other
327 "external
" media devices. Today I changed it to also look in the
328 /cdrom/firmware/ directory on the mounted CD or DVD, which should
329 solve the problem I ran into with Debian edu. I also changed it to
330 look in /firmware/, to make sure the installer also find firmware
331 provided in the initrd when booting the installer via PXE, to allow us
332 to provide the same feature in the PXE setup included in Debian
335 <p
>To make sure firmware deb packages with a license questions are not
336 activated without asking if the license is accepted, I extended
337 hw-detect to look for preinst scripts in the firmware packages, and
338 run these before activating the firmware during installation. The
339 license question is asked using debconf in the preinst, so this should
340 solve the issue for the firmware packages I have looked at so far.
</p
>
342 <p
>If you want to discuss the details of these features, please
343 contact us on debian-boot@lists.debian.org.
</p
>
348 <title>Magnetstripeinnhold i billetter fra Flytoget og Hurtigruten
</title>
349 <link>http://people.skolelinux.org/pere/blog/Magnetstripeinnhold_i_billetter_fra_Flytoget_og_Hurtigruten.html
</link>
350 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Magnetstripeinnhold_i_billetter_fra_Flytoget_og_Hurtigruten.html
</guid>
351 <pubDate>Fri,
21 May
2010 16:
00:
00 +
0200</pubDate>
353 <p
>For en stund tilbake kjøpte jeg en magnetkortleser for å kunne
354 titte på hva som er skrevet inn på magnetstripene til ulike kort. Har
355 ikke hatt tid til å analysere mange kort så langt, men tenkte jeg
356 skulle dele innholdet på to kort med mine lesere.
</p
>
358 <p
>For noen dager siden tok jeg flyet til Harstad og Hurtigruten til
359 Bergen. Flytoget fra Oslo S til flyplassen ga meg en billett med
360 magnetstripe. Påtrykket finner jeg følgende informasjon:
</p
>
363 Flytoget Airport Express Train
365 Fra - Til : Oslo Sentralstasjon
368 Herav mva.
8,
00% : NOK
12,
59
370 Til - Fra : Oslo Lufthavn
372 Gyldig Fra-Til :
08.05.10-
07.11.10
373 Billetttype : Enkeltbillett
375 102-
1015-
100508-
48382-
01-
08
378 <p
>På selve magnetstripen er innholdet
379 <tt
>;E?+
900120011=
23250996541068112619257138248441708433322932704083389389062603279671261502492655?
</tt
>.
380 Aner ikke hva innholdet representerer, og det er lite overlapp mellom
381 det jeg ser trykket på billetten og det jeg ser av tegn i
382 magnetstripen. Håper det betyr at de bruker kryptografiske metoder
383 for å gjøre det vanskelig å forfalske billetter.
</p
>
385 <p
>Den andre billetten er fra Hurtigruten, der jeg mistenker at
386 strekkoden på fronten er mer brukt enn magnetstripen (det var i hvert
387 fall den biten vi stakk inn i dørlåsen).
</p
>
389 <p
>Påtrykket forsiden er følgende:
</p
>
397 Bookingno: SAX69
0742193
399 Dep:
09.05.2010 Arr:
12.05.2010
404 <p
>På selve magnetstripen er innholdet
405 <tt
>;
1316010007421930=
00000000000000000000?+E?
</tt
>. Heller ikke her
406 ser jeg mye korrespondanse mellom påtrykk og magnetstripe.
</p
>
411 <title>Pieces of the roaming laptop puzzle in Debian
</title>
412 <link>http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html
</link>
413 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html
</guid>
414 <pubDate>Wed,
19 May
2010 19:
00:
00 +
0200</pubDate>
416 <p
>Today, the last piece of the puzzle for roaming laptops in Debian
417 Edu finally entered the Debian archive. Today, the new
418 <a href=
"http://packages.qa.debian.org/libp/libpam-mklocaluser.html
">libpam-mklocaluser
</a
>
419 package was accepted. Two days ago, two other pieces was accepted
421 <a href=
"http://packages.qa.debian.org/p/pam-python.html
">pam-python
</a
>
422 package needed by libpam-mklocaluser, and the
423 <a href=
"http://packages.qa.debian.org/s/sssd.html
">sssd
</a
> package
424 passed NEW on Monday. In addition, the
425 <a href=
"http://packages.qa.debian.org/libp/libpam-ccreds.html
">libpam-ccreds
</a
>
426 package we need is in experimental (version
10-
4) since Saturday, and
427 hopefully will be moved to unstable soon.
</p
>
429 <p
>This collection of packages allow for two different setups for
430 roaming laptops. The traditional setup would be using libpam-ccreds,
431 nscd and libpam-mklocaluser with LDAP or Kerberos authentication,
432 which should work out of the box if the configuration changes proposed
433 for nscd in
<a href=
"http://bugs.debian.org/
485282">BTS report
434 #
485282</a
> is implemented. The alternative setup is to use sssd with
435 libpam-mklocaluser to connect to LDAP or Kerberos and let sssd take
436 care of the caching of passwords and group information.
</p
>
438 <p
>I have so far been unable to get sssd to work with the LDAP server
439 at the University, but suspect the issue is some SSL/GnuTLS related
440 problem with the server certificate. I plan to update the Debian
441 package to version
1.2, which is scheduled for next week, and hope to
442 find time to make sure the next release will include both the
443 Debian/Ubuntu specific patches. Upstream is friendly and responsive,
444 and I am sure we will find a good solution.
</p
>
446 <p
>The idea is to set up the roaming laptops to authenticate using
447 LDAP or Kerberos and create a local user with home directory in /home/
448 when a usre in LDAP logs in via KDM or GDM for the first time, and
449 cache the password for offline checking, as well as caching group
450 memberhips and other relevant LDAP information. The
451 libpam-mklocaluser package was created to make sure the local home
452 directory is in /home/, instead of /site/server/directory/ which would
453 be the home directory if pam_mkhomedir was used. To avoid confusion
454 with support requests and configuration, we do not want local laptops
455 to have users in a path that is used for the same users home directory
456 on the home directory servers.
</p
>
458 <p
>One annoying problem with gdm is that it do not show the PAM
459 message passed to the user from libpam-mklocaluser when the local user
460 is created. Instead gdm simply reject the login with some generic
461 message. The message is shown in kdm, ssh and login, so I guess it is
462 a bug in gdm. Have not investigated if there is some other message
463 type that can be used instead to get gdm to also show the message.
</p
>
465 <p
>If you want to help out with implementing this for Debian Edu,
466 please contact us on debian-edu@lists.debian.org.
</p
>