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>Lenny-
>Squeeze upgrades, removals by apt and aptitude
</title>
11 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__removals_by_apt_and_aptitude.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__removals_by_apt_and_aptitude.html
</guid>
13 <pubDate>Sun,
13 Jun
2010 09:
05:
00 +
0200</pubDate>
16 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html
">testing
17 of Debian upgrades
</a
> from Lenny to Squeeze continues, and I
've
18 finally made the upgrade logs available from
19 <a href=
"http://people.skolelinux.org/pere/debian-upgrade-testing/
">http://people.skolelinux.org/pere/debian-upgrade-testing/
</a
>.
20 I am now testing dist-upgrade of Gnome and KDE in a chroot using both
21 apt and aptitude, and found their differences interesting. This time
22 I will only focus on their removal plans.
</p
>
24 <p
>After installing a Gnome desktop and the laptop task, apt-get wants
25 to remove
72 packages when dist-upgrading from Lenny to Squeeze. The
26 surprising part is that it want to remove xorg and all
27 xserver-xorg-video* drivers. Clearly not a good choice, but I am not
28 sure why. When asking aptitude to do the same, it want to remove
129
29 packages, but most of them are library packages I suspect are no
30 longer needed. Both of them want to remove bluetooth packages, which
31 I do not know. Perhaps these bluetooth packages are obsolete?
</p
>
33 <p
>For KDE, apt-get want to remove
82 packages, among them kdebase
34 which seem like a bad idea and xorg the same way as with Gnome. Asking
35 aptitude for the same, it wants to remove
192 packages, none which are
36 too surprising.
</p
>
38 <p
>I guess the removal of xorg during upgrades should be investigated
39 and avoided, and perhaps others as well. Here are the complete list
40 of planned removals. The complete logs is available from the URL
41 above. Note if you want to repeat these tests, that the upgrade test
42 for kde+apt-get hung in the tasksel setup because of dpkg asking
43 conffile questions. No idea why. I worked around it by using
44 '<tt
>echo
>> /proc/
<em
>pidofdpkg
</em
>/fd/
0</tt
>' to tell dpkg to
47 <p
><b
>apt-get gnome
72</b
>
48 <br
>bluez-gnome cupsddk-drivers deskbar-applet gnome
49 gnome-desktop-environment gnome-network-admin gtkhtml3.14
50 iceweasel-gnome-support libavcodec51 libdatrie0 libgdl-
1-
0
51 libgnomekbd2 libgnomekbdui2 libmetacity0 libslab0 libxcb-xlib0
52 nautilus-cd-burner python-gnome2-desktop python-gnome2-extras
53 serpentine swfdec-mozilla update-manager xorg xserver-xorg
54 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
55 xserver-xorg-input-kbd xserver-xorg-input-mouse
56 xserver-xorg-input-synaptics xserver-xorg-input-wacom
57 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
58 xserver-xorg-video-ati xserver-xorg-video-chips
59 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
60 xserver-xorg-video-dummy xserver-xorg-video-fbdev
61 xserver-xorg-video-glint xserver-xorg-video-i128
62 xserver-xorg-video-i740 xserver-xorg-video-imstt
63 xserver-xorg-video-intel xserver-xorg-video-mach64
64 xserver-xorg-video-mga xserver-xorg-video-neomagic
65 xserver-xorg-video-nsc xserver-xorg-video-nv
66 xserver-xorg-video-openchrome xserver-xorg-video-r128
67 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
68 xserver-xorg-video-rendition xserver-xorg-video-s3
69 xserver-xorg-video-s3virge xserver-xorg-video-savage
70 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
71 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
72 xserver-xorg-video-tga xserver-xorg-video-trident
73 xserver-xorg-video-tseng xserver-xorg-video-v4l
74 xserver-xorg-video-vesa xserver-xorg-video-vga
75 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-
1.9
76 xulrunner-
1.9-gnome-support
</p
>
78 <p
><b
>aptitude gnome
129</b
>
80 <br
>bluez-gnome bluez-utils cpp-
4.3 cupsddk-drivers dhcdbd
81 djvulibre-desktop finger gnome-app-install gnome-mount
82 gnome-network-admin gnome-spell gnome-vfs-obexftp
83 gnome-volume-manager gstreamer0.10-gnomevfs gtkhtml3.14 libao2
84 libavahi-compat-libdnssd1 libavahi-core5 libavcodec51 libbluetooth2
85 libcamel1.2-
11 libcdio7 libcucul0 libcupsys2 libcurl3 libdatrie0
86 libdirectfb-
1.0-
0 libdvdread3 libedataserver1.2-
9 libeel2-
2.20
87 libeel2-data libepc-
1.0-
1 libepc-ui-
1.0-
1 libfaad0 libgail-common
88 libgd2-noxpm libgda3-
3 libgda3-common libgdl-
1-
0 libgdl-
1-common
89 libggz2 libggzcore9 libggzmod4 libgksu1.2-
0 libgksuui1.0-
1 libgmyth0
90 libgnomecups1.0-
1 libgnomekbd2 libgnomekbdui2 libgnomeprint2.2-
0
91 libgnomeprint2.2-data libgnomeprintui2.2-
0 libgnomeprintui2.2-common
92 libgnomevfs2-bin libgpod3 libgraphviz4 libgtkhtml2-
0
93 libgtksourceview-common libgtksourceview1.0-
0 libgucharmap6
94 libhesiod0 libicu38 libiw29 libkpathsea4 libltdl3 libmagick++
10
95 libmagick10 libmalaga7 libmetacity0 libmtp7 libmysqlclient15off
96 libnautilus-burn4 libneon27 libnm-glib0 libnm-util0 libopal-
2.2
97 libosp5 libparted1.8-
10 libpoppler-glib3 libpoppler3 libpt-
1.10.10
98 libpt-
1.10.10-plugins-alsa libpt-
1.10.10-plugins-v4l libraw1394-
8
99 libsensors3 libslab0 libsmbios2 libsoup2.2-
8 libssh2-
1
100 libsuitesparse-
3.1.0 libswfdec-
0.6-
90 libtalloc1 libtotem-plparser10
101 libtrackerclient0 libxalan2-java libxalan2-java-gcj libxcb-xlib0
102 libxerces2-java libxerces2-java-gcj libxklavier12 libxtrap6
103 libxxf86misc1 libzephyr3 mysql-common nautilus-cd-burner
104 openoffice.org-writer2latex openssl-blacklist p7zip
105 python-
4suite-xml python-eggtrayicon python-gnome2-desktop
106 python-gnome2-extras python-gtkhtml2 python-gtkmozembed
107 python-numeric python-sexy serpentine svgalibg1 swfdec-gnome
108 swfdec-mozilla totem-gstreamer update-manager wodim
109 xserver-xorg-video-cyrix xserver-xorg-video-imstt
110 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
113 <p
><b
>apt-get kde
82</b
>
115 <br
>cupsddk-drivers karm kaudiocreator kcoloredit kcontrol kde kde-core
116 kdeaddons kdeartwork kdebase kdebase-bin kdebase-bin-kde3
117 kdebase-kio-plugins kdesktop kdeutils khelpcenter kicker
118 kicker-applets knewsticker kolourpaint konq-plugins konqueror korn
119 kpersonalizer kscreensaver ksplash libavcodec51 libdatrie0 libkiten1
120 libxcb-xlib0 quanta superkaramba texlive-base-bin xorg xserver-xorg
121 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
122 xserver-xorg-input-kbd xserver-xorg-input-mouse
123 xserver-xorg-input-synaptics xserver-xorg-input-wacom
124 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
125 xserver-xorg-video-ati xserver-xorg-video-chips
126 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
127 xserver-xorg-video-dummy xserver-xorg-video-fbdev
128 xserver-xorg-video-glint xserver-xorg-video-i128
129 xserver-xorg-video-i740 xserver-xorg-video-imstt
130 xserver-xorg-video-intel xserver-xorg-video-mach64
131 xserver-xorg-video-mga xserver-xorg-video-neomagic
132 xserver-xorg-video-nsc xserver-xorg-video-nv
133 xserver-xorg-video-openchrome xserver-xorg-video-r128
134 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
135 xserver-xorg-video-rendition xserver-xorg-video-s3
136 xserver-xorg-video-s3virge xserver-xorg-video-savage
137 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
138 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
139 xserver-xorg-video-tga xserver-xorg-video-trident
140 xserver-xorg-video-tseng xserver-xorg-video-v4l
141 xserver-xorg-video-vesa xserver-xorg-video-vga
142 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-
1.9</p
>
144 <p
><b
>aptitude kde
192</b
>
145 <br
>bluez-utils cpp-
4.3 cupsddk-drivers cvs dcoprss dhcdbd
146 djvulibre-desktop dosfstools eyesapplet fifteenapplet finger gettext
147 ghostscript-x imlib-base imlib11 indi kandy karm kasteroids
148 kaudiocreator kbackgammon kbstate kcoloredit kcontrol kcron kdat
149 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
150 kdebase-bin-kde3 kdebase-kio-plugins kdeedu-data
151 kdegraphics-kfile-plugins kdelirc kdemultimedia-kappfinder-data
152 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
153 kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh
154 kdict kdnssd kdvi kedit keduca kenolaba kfax kfaxview kfouleggs
155 kghostview khelpcenter khexedit kiconedit kitchensync klatin
156 klickety kmailcvt kmenuedit kmid kmilo kmoon kmrml kodo kolourpaint
157 kooka korn kpager kpdf kpercentage kpf kpilot kpoker kpovmodeler
158 krec kregexpeditor ksayit ksim ksirc ksirtet ksmiletris ksmserver
159 ksnake ksokoban ksplash ksvg ksysv ktip ktnef kuickshow kverbos
160 kview kviewshell kvoctrain kwifimanager kwin kwin4 kworldclock
161 kxsldbg libakode2 libao2 libarts1-akode libarts1-audiofile
162 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
163 libavahi-core5 libavc1394-
0 libavcodec51 libbluetooth2
164 libboost-python1.34
.1 libcucul0 libcurl3 libcvsservice0 libdatrie0
165 libdirectfb-
1.0-
0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
166 libgail-common libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-
0
167 libicu38 libiec61883-
0 libindex0 libiw29 libk3b3 libkcal2b libkcddb1
168 libkdeedu3 libkdepim1a libkgantt0 libkiten1 libkleopatra1 libkmime2
169 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
170 libksieve0 libktnef1 liblockdev1 libltdl3 libmagick10 libmimelib1c2a
171 libmozjs1d libmpcdec3 libneon27 libnm-util0 libopensync0 libpisock9
172 libpoppler-glib3 libpoppler-qt2 libpoppler3 libraw1394-
8 libsmbios2
173 libssh2-
1 libsuitesparse-
3.1.0 libtalloc1 libtiff-tools
174 libxalan2-java libxalan2-java-gcj libxcb-xlib0 libxerces2-java
175 libxerces2-java-gcj libxtrap6 mpeglib networkstatus
176 openoffice.org-writer2latex pmount poster psutils quanta quanta-data
177 superkaramba svgalibg1 tex-common texlive-base texlive-base-bin
178 texlive-common texlive-doc-base texlive-fonts-recommended
179 xserver-xorg-video-cyrix xserver-xorg-video-imstt
180 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
181 xulrunner-
1.9</p
>
187 <title>Åpne trådløsnett er et samfunnsgode
</title>
188 <link>http://people.skolelinux.org/pere/blog/__pne_tr__dl__snett_er_et_samfunnsgode.html
</link>
189 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/__pne_tr__dl__snett_er_et_samfunnsgode.html
</guid>
190 <pubDate>Sat,
12 Jun
2010 12:
45:
00 +
0200</pubDate>
192 <p
>Veldig glad for å oppdage via
193 <a href=
"http://yro.slashdot.org/story/
10/
06/
11/
1841256/Finland-To-Legalize-Use-of-Unsecured-Wi-Fi
">Slashdot
</a
>
194 at folk i Finland har forstått at åpne trådløsnett er et samfunnsgode.
195 Jeg ser på åpne trådløsnett som et fellesgode på linje med retten til
196 ferdsel i utmark og retten til å bevege seg i strandsonen. Jeg har
197 glede av åpne trådløsnett når jeg finner dem, og deler gladelig nett
198 med andre så lenge de ikke forstyrrer min bruk av eget nett.
199 Nettkapasiteten er sjelden en begrensning ved normal browsing og enkel
200 SSH-innlogging (som er min vanligste nettbruk), og nett kan brukes til
201 så mye positivt og nyttig (som nyhetslesing, sjekke været, kontakte
202 slekt og venner, holde seg oppdatert om politiske saker, kontakte
203 organisasjoner og politikere, etc), at det for meg er helt urimelig å
204 blokkere dette for alle som ikke gjør en flue fortred. De som mener
205 at potensialet for misbruk er grunn nok til å hindre all den positive
206 og lovlydige bruken av et åpent trådløsnett har jeg dermed ingen
207 forståelse for. En kan ikke eksistensen av forbrytere styre hvordan
208 samfunnet skal organiseres. Da får en et kontrollsamfunn de færreste
209 ønsker å leve i, og det at vi har et samfunn i Norge der tilliten til
210 hverandre er høy gjør at samfunnet fungerer ganske godt. Det bør vi
211 anstrenge oss for å beholde.
</p
>
216 <title>Automatic upgrade testing from Lenny to Squeeze
</title>
217 <link>http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html
</link>
218 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html
</guid>
219 <pubDate>Fri,
11 Jun
2010 22:
50:
00 +
0200</pubDate>
221 <p
>The last few days I have done some upgrade testing in Debian, to
222 see if the upgrade from Lenny to Squeeze will go smoothly. A few bugs
223 have been discovered and reported in the process
224 (
<a href=
"http://bugs.debian.org/
585410">#
585410</a
> in nagios3-cgi,
225 <a href=
"http://bugs.debian.org/
584879">#
584879</a
> already fixed in
226 enscript and
<a href=
"http://bugs.debian.org/
584861">#
584861</a
> in
227 kdebase-workspace-data), and to get a more regular testing going on, I
228 am working on a script to automate the test.
</p
>
230 <p
>The idea is to create a Lenny chroot and use tasksel to install a
231 Gnome or KDE desktop installation inside the chroot before upgrading
232 it. To ensure no services are started in the chroot, a policy-rc.d
233 script is inserted. To make sure tasksel believe it is to install a
234 desktop on a laptop, the tasksel tests are replaced in the chroot
235 (only acceptable because this is a throw-away chroot).
</p
>
237 <p
>A naive upgrade from Lenny to Squeeze using aptitude dist-upgrade
238 currently always fail because udev refuses to upgrade with the kernel
239 in Lenny, so to avoid that problem the file /etc/udev/kernel-upgrade
240 is created. The bug report
241 <a href=
"http://bugs.debian.org/
566000">#
566000</a
> make me suspect
242 this problem do not trigger in a chroot, but I touch the file anyway
243 to make sure the upgrade go well. Testing on virtual and real
244 hardware have failed me because of udev so far, and creating this file
245 do the trick in such settings anyway. This is a
246 <a href=
"http://www.linuxquestions.org/questions/debian-
26/failed-dist-upgrade-due-to-udev-config_sysfs_deprecated-nonsense-
804130/
">known
247 issue
</a
> and the current udev behaviour is intended by the udev
248 maintainer because he lack the resources to rewrite udev to keep
249 working with old kernels or something like that. I really wish the
250 udev upstream would keep udev backwards compatible, to avoid such
251 upgrade problem, but given that they fail to do so, I guess
252 documenting the way out of this mess is the best option we got for
253 Debian Squeeze.
</p
>
255 <p
>Anyway, back to the task at hand, testing upgrades. This test
256 script, which I call
<tt
>upgrade-test
</tt
> for now, is doing the
259 <blockquote
><pre
>
263 if [
"$
1" ] ; then
272 exec
&lt; /dev/null
274 mirror=http://ftp.skolelinux.org/debian
275 tmpdir=chroot-$from-upgrade-$to-$desktop
277 debootstrap $from $tmpdir $mirror
278 chroot $tmpdir aptitude update
279 cat
> $tmpdir/usr/sbin/policy-rc.d
&lt;
&lt;EOF
283 chmod a+rx $tmpdir/usr/sbin/policy-rc.d
287 mount -t proc proc $tmpdir/proc
288 # Make sure proc is unmounted also on failure
289 trap exit_cleanup EXIT INT
291 chroot $tmpdir aptitude -y install debconf-utils
293 # Make sure tasksel autoselection trigger. It need the test scripts
294 # to return the correct answers.
295 echo tasksel tasksel/desktop multiselect $desktop | \
296 chroot $tmpdir debconf-set-selections
298 # Include the desktop and laptop task
299 for test in desktop laptop ; do
300 echo
> $tmpdir/usr/lib/tasksel/tests/$test
&lt;
&lt;EOF
304 chmod a+rx $tmpdir/usr/lib/tasksel/tests/$test
307 DEBIAN_FRONTEND=noninteractive
308 DEBIAN_PRIORITY=critical
309 export DEBIAN_FRONTEND DEBIAN_PRIORITY
310 chroot $tmpdir tasksel --new-install
312 echo deb $mirror $to main
> $tmpdir/etc/apt/sources.list
313 chroot $tmpdir aptitude update
314 touch $tmpdir/etc/udev/kernel-upgrade
315 chroot $tmpdir aptitude -y dist-upgrade
317 </pre
></blockquote
>
319 <p
>I suspect it would be useful to test upgrades with both apt-get and
320 with aptitude, but I have not had time to look at how they behave
321 differently so far. I hope to get a cron job running to do the test
322 regularly and post the result on the web. The Gnome upgrade currently
323 work, while the KDE upgrade fail because of the bug in
324 kdebase-workspace-data
</p
>
326 <p
>I am not quite sure what kind of extract from the huge upgrade logs
327 (KDE
167 KiB, Gnome
516 KiB) it make sense to include in this blog
328 post, so I will refrain from trying. I can report that for Gnome,
329 aptitude report
760 packages upgraded,
448 newly installed,
129 to
330 remove and
1 not upgraded and
1024MB need to be downloaded while for
331 KDE the same numbers are
702 packages upgraded,
507 newly installed,
332 193 to remove and
0 not upgraded and
1117MB need to be downloaded
</p
>
334 <p
>I am very happy to notice that the Gnome desktop + laptop upgrade
335 is able to migrate to dependency based boot sequencing and parallel
336 booting without a hitch. Was unsure if there were still bugs with
337 packages failing to clean up their obsolete init.d script during
338 upgrades, and no such problem seem to affect the Gnome desktop+laptop
344 <title>Skolelinux er laget for sentraldrifting, naturligvis
</title>
345 <link>http://people.skolelinux.org/pere/blog/Skolelinux_er_laget_for_sentraldrifting__naturligvis.html
</link>
346 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Skolelinux_er_laget_for_sentraldrifting__naturligvis.html
</guid>
347 <pubDate>Wed,
9 Jun
2010 12:
30:
00 +
0200</pubDate>
349 <p
>Det er merkelig hvordan myter om Skolelinux overlever. En slik
350 myte er at Skolelinux ikke kan sentraldriftes og ha sentralt plasserte
351 tjenermaskiner. I siste Computerworld Norge er
352 <a href=
"http://www.idg.no/computerworld/article169432.ece
">IT-sjef
353 Viggo Billdal i Steinkjer intervjuet
</a
>, og forteller uten
356 <blockquote
><p
>Vi hadde Skolelinux, men det har vi sluttet med. Vi testet
357 om det lønte seg med Microsoft eller en åpen plattform. Vi fant ut at
358 Microsoft egentlig var totalt sett bedre egnet. Det var store
359 driftskostnader med Skolelinux, blant annet på grunn av
360 desentraliserte servere. Det var komplisert, så vi gikk vekk fra det
361 og bruker nå bare Windows.
</p
></blockquote
>
364 href=
"https://init.linpro.no/pipermail/skolelinux.no/bruker/
2010-June/
009101.html
">rask
365 sjekk
</a
> mot den norske brukerlista i Skolelinuxprosjektet forteller
366 at Steinkjers forsøk foregikk fram til
2004/
2005, og at Røysing skole
367 i Steinkjer skal ha vært svært fornøyd med Skolelinux men at kommunen
368 overkjørte skolen og krevde at de gikk over til Windows. Et søk på
369 nettet sendte meg til
370 <a href=
"http://www.dn.no/multimedia/archive/
00090/Dagens_it_nr__18_90826a.pdf
">Dagens
371 IT nr.
18 2005</a
> hvor en kan lese på side
18:
</p
>
373 <blockquote
><p
>Inge Tømmerås ved Røysing skole i Steinkjer kjører ennå
374 Microsoft, men forteller at kompetanseutfordringen med Skolelinux ikke
375 var så stor. Jeg syntes Skolelinux var utrolig lett å drifte uten
376 forkunnskaper. Men man må jo selvsagt ha tilgang på ekstern kompetanse
377 til installasjoner og maskinvarefeil, sier Tømmerås.
</p
></blockquote
>
379 <p
>Som systemarkitekten bak Skolelinux, kan jeg bare riste på hodet
380 over påstanden om at Skolelinux krever desentraliserte tjenere.
381 Skolelinux-arkitekturen er laget for sentralisert drift og plassering
382 av tjenerne lokalt eller sentralt alt etter behov og nettkapasitet.
383 Den er modellert på nettverks- og tjenerløsningen som brukes på
384 Universitetet i Tromsø og Oslo, der jeg jobber med utvikling av
385 driftstjenester. Dette er det heldigvis noen som har fått med seg, og
386 jeg er glad for å kunne sitere fra en kommentar på den overnevnte
387 artikkelen. Min venn og gamle kollega Sturle Sunde forteller der:
390 <p
>I Flora kommune køyrer vi Skulelinux på skular med alt frå
15 til
391 meir enn
500 elevar. Dei store skulane har eigen tenar, for det er
392 mest praktisk. Eg, som er driftsansvarleg for heile nettet, ser
393 sjeldan dei tenarane fysisk, men at dei står der gjer skulane mindre
394 avhengige av eksterne linjer som er trege eller dyre. Dei minste
395 skulane har ikkje eigen tenar. Å bruke sentral tenar er heller ikkje
396 noko problem. Småskulane klarar seg fint med
1 mbit-linje til ein
397 sentral tenar eller tenaren på ein større skule.
</p
>
399 <p
>Det beste med Skulelinux er halvtjukke klientar. Dei treng ikkje
400 harddisk og brukar minimalt med ressursar på tenaren fordi dei køyrer
401 programma lokalt. Eit klasserom med
30 sju-åtte år gamle maskiner har
402 mykje meir CPU og RAM totalt enn nokon moderne tenar til under
403 millionen. Det trengst to kommandoar på den sentrale tenaren for å
404 oppdatere alle klientane, både tynne og halvtjukke. Vi har ingen
405 problem med diskar som ryk heller, som var eit problem før fordi
406 elevane sat og sparka i maskinene. Og dei krev lite bandbreidde i
407 nettet, so det er fullt mogleg å køyre slike på småskular med trege
408 linjer mot tenaren på ein større skule.
</p
>
410 <p
>Flora kommune har nesten
800 Linux-maskiner i sitt skulenett, og
411 ein person som tek seg av drift av heile nettet, inkludert tenarar,
412 klientar, operativsystem, programvare, heimekontorløysing og
413 administrasjon av brukarar.
</p
>
415 <p
>No skal det seiast at vi ikkje køyrer rein Skulelinux ut av
416 boksen. Vi har gjort ein del tilpassingar mot noko Novell-greier som
417 var der frå før, og som har komplisert installasjonen vår. Etter at
418 oppsettet var gjort har løysinga vore stabil og kravd minimalt med
422 <p
>Jeg vet at Narvik, Harstad og Oslo er kommuner der Skolelinux
423 sentraldriftes med sentrale tjenere. Det forteller meg at Steinkjers
424 IT-sjef neppe bør skylde på Skolelinux-løsningen for sine
5 år gamle
430 <title>Upstart or sysvinit - as init.d scripts see it
</title>
431 <link>http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html
</link>
432 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html
</guid>
433 <pubDate>Sun,
6 Jun
2010 23:
55:
00 +
0200</pubDate>
435 <p
>If Debian is to migrate to upstart on Linux, I expect some init.d
436 scripts to migrate (some of) their operations to upstart job while
437 keeping the init.d for hurd and kfreebsd. The packages with such
438 needs will need a way to get their init.d scripts to behave
439 differently when used with sysvinit and with upstart. Because of
440 this, I had a look at the environment variables set when a init.d
441 script is running under upstart, and when it is not.
</p
>
443 <p
>With upstart, I notice these environment variables are set when a
444 script is started from rcS.d/ (ignoring some irrelevant ones like
447 <blockquote
><pre
>
453 UPSTART_EVENTS=startup
455 UPSTART_JOB=rc-sysinit
456 </pre
></blockquote
>
458 <p
>With sysvinit, these environment variables are set for the same
461 <blockquote
><pre
>
462 INIT_VERSION=sysvinit-
2.88
467 </pre
></blockquote
>
469 <p
>The RUNLEVEL and PREVLEVEL environment variables passed on from
470 sysvinit are not set by upstart. Not sure if it is intentional or not
471 to not be compatible with sysvinit in this regard.
</p
>
473 <p
>For scripts needing to behave differently when upstart is used,
474 looking for the UPSTART_JOB environment variable seem to be a good
480 <title>A manual for standards wars...
</title>
481 <link>http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html
</link>
482 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html
</guid>
483 <pubDate>Sun,
6 Jun
2010 14:
15:
00 +
0200</pubDate>
486 <a href=
"http://feedproxy.google.com/~r/robweir/antic-atom/~
3/QzU4RgoAGMg/weekly-links-
10.html
">blog
487 of Rob Weir
</a
> I came across the very interesting essay named
488 <a href=
"http://faculty.haas.berkeley.edu/shapiro/wars.pdf
">The Art of
489 Standards Wars
</a
> (PDF
25 pages). I recommend it for everyone
490 following the standards wars of today.
</p
>
495 <title>Sitesummary tip: Listing computer hardware models used at site
</title>
496 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html
</link>
497 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html
</guid>
498 <pubDate>Thu,
3 Jun
2010 12:
05:
00 +
0200</pubDate>
500 <p
>When using sitesummary at a site to track machines, it is possible
501 to get a list of the machine types in use thanks to the DMI
502 information extracted from each machine. The script to do so is
503 included in the sitesummary package, and here is example output from
504 the Skolelinux build servers:
</p
>
506 <blockquote
><pre
>
507 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
509 Dell Computer Corporation
1
512 eserver xSeries
345 -[
8670M1X]-
1
516 </pre
></blockquote
>
518 <p
>The quality of the report depend on the quality of the DMI tables
519 provided in each machine. Here there are Intel machines without model
520 information listed with Intel as vendor and mo model, and virtual Xen
521 machines listed as [no-dmi-info]. One can add -l as a command line
522 option to list the individual machines.
</p
>
524 <p
>A larger list is
525 <a href=
"http://narvikskolen.no/sitesummary/
">available from the the
526 city of Narvik
</a
>, which uses Skolelinux on all their shools and also
527 provide the basic sitesummary report publicly. In their report there
528 are ~
1400 machines. I know they use both Ubuntu and Skolelinux on
529 their machines, and as sitesummary is available in both distributions,
530 it is trivial to get all of them to report to the same central
536 <title>Togsatsing på norsk, mot sykkel
</title>
537 <link>http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html
</link>
538 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html
</guid>
539 <pubDate>Wed,
2 Jun
2010 23:
45:
00 +
0200</pubDate>
541 <p
>Det står dårlig til med toget når en finner på å la det
542 <a href=
"http://www.aftenposten.no/nyheter/iriks/article3677060.ece
">kappkjøre
543 med sykkel
</a
>... Jeg tror det trengs strukturendringer for å få
544 fikset på togproblemene i Norge.
</p
>
546 <p
>Mon tro hva toglinje mellom Narvik og Tromsø ville hatt slags
547 effekt på området der?
</p
>
552 <title>KDM fail at boot with NVidia cards - and no one try to fix it?
</title>
553 <link>http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html
</link>
554 <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>
555 <pubDate>Tue,
1 Jun
2010 17:
05:
00 +
0200</pubDate>
557 <p
>It is strange to watch how a bug in Debian causing KDM to fail to
558 start at boot when an NVidia video card is used is handled. The
559 problem seem to be that the nvidia X.org driver uses a long time to
560 initialize, and this duration is longer than kdm is configured to
563 <p
>I came across two bugs related to this issue,
564 <a href=
"http://bugs.debian.org/
583312">#
583312</a
> initially filed
565 against initscripts and passed on to nvidia-glx when it became obvious
566 that the nvidia drivers were involved, and
567 <a href=
"http://bugs.debian.org/
524751">#
524751</a
> initially filed against
568 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.
</p
>
570 <p
>To me, it seem that no-one is interested in actually solving the
571 problem nvidia video card owners experience and make sure the Debian
572 distribution work out of the box for these users. The nvidia driver
573 maintainers expect kdm to be set up to wait longer, while kdm expect
574 the nvidia driver maintainers to fix the driver to start faster, and
575 while they wait for each other I guess the users end up switching to a
576 distribution that work for them. I have no idea what the solution is,
577 but I am pretty sure that waiting for each other is not it.
</p
>
579 <p
>I wonder why we end up handling bugs this way.
</p
>
584 <title>Parallellized boot seem to hold up well in Debian/testing
</title>
585 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html
</link>
586 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html
</guid>
587 <pubDate>Thu,
27 May
2010 23:
55:
00 +
0200</pubDate>
589 <p
>A few days ago, parallel booting was enabled in Debian/testing.
590 The feature seem to hold up pretty well, but three fairly serious
591 issues are known and should be solved:
595 <li
>The wicd package seen to
596 <a href=
"http://bugs.debian.org/
508289">break NFS mounting
</a
> and
597 <a href=
"http://bugs.debian.org/
581586">network setup
</a
> when
598 parallel booting is enabled. No idea why, but the wicd maintainer
599 seem to be on the case.
</li
>
601 <li
>The nvidia X driver seem to
602 <a href=
"http://bugs.debian.org/
583312">have a race condition
</a
>
603 triggered more easily when parallel booting is in effect. The
604 maintainer is on the case.
</li
>
606 <li
>The sysv-rc package fail to properly enable dependency based boot
607 sequencing (the shutdown is broken) when old file-rc users
608 <a href=
"http://bugs.debian.org/
575080">try to switch back
</a
> to
609 sysv-rc. One way to solve it would be for file-rc to create
610 /etc/init.d/.legacy-bootordering, and another is to try to make
611 sysv-rc more robust. Will investigate some more and probably upload a
612 workaround in sysv-rc to help those trying to move from file-rc to
613 sysv-rc get a working shutdown.
</li
>
615 </ul
></p
>
617 <p
>All in all not many surprising issues, and all of them seem
618 solvable before Squeeze is released. In addition to these there are
619 some packages with bugs in their dependencies and run level settings,
620 which I expect will be fixed in a reasonable time span.
</p
>
622 <p
>If you report any problems with dependencies in init.d scripts to
623 the BTS, please usertag the report to get it to show up at
624 <a href=
"http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org
">the
625 list of usertagged bugs related to this
</a
>.
</p
>
627 <p
>Update: Correct bug number to file-rc issue.
</p
>