]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
Draft publisert.
[homepage.git] / blog / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css">
7 <link rel="alternate" title="RSS Feed" href="http://people.skolelinux.org/pere/blog/index.rss" type="application/rss+xml">
8
9 </head>
10 <body>
11
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21
22 <div class="entry">
23 <div class="title"><a href="http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html">LUMA, a very nice LDAP GUI</a></div>
24 <div class="date">2010-06-28 00:30</div>
25 <div class="body">
26 <p>The last few days I have been looking into the status of the LDAP
27 directory in Debian Edu, and in the process I started to miss a GUI
28 tool to browse the LDAP tree. The only one I was able to find in
29 Debian/Squeeze and Lenny is
30 <a href="http://luma.sourceforge.net/">LUMA</a>, which has proved to
31 be a great tool to get a overview of the current LDAP directory
32 populated by default in Skolelinux. Thanks to it, I have been able to
33 find empty and obsolete subtrees, misplaced objects and duplicate
34 objects. It will be installed by default in Debian/Squeeze. If you
35 are working with LDAP, give it a go. :)</p>
36
37 <p>I did notice one problem with it I have not had time to report to
38 the BTS yet. There is no .desktop file in the package, so the tool do
39 not show up in the Gnome and KDE menus, but only deep down in in the
40 Debian submenu in KDE. I hope that can be fixed before Squeeze is
41 released.</p>
42
43 <p>I have not yet been able to get it to modify the tree yet. I would
44 like to move objects and remove subtrees directly in the GUI, but have
45 not found a way to do that with LUMA yet. So in the mean time, I use
46 <a href="http://www.lichteblau.com/ldapvi/">ldapvi</a> for that.</p>
47
48 <p>If you have tips on other GUI tools for LDAP that might be useful
49 in Debian Edu, please contact us on debian-edu@lists.debian.org.</p>
50
51 <p>Update 2010-06-29: Ross Reedstrom tipped us about the
52 <a href="http://packages.qa.debian.org/g/gq.html">gq</a> package as a
53 useful GUI alternative. It seem like a good tool, but is unmaintained
54 in Debian and got a RC bug keeping it out of Squeeze. Unless that
55 changes, it will not be an option for Debian Edu based on Squeeze.</p>
56 </div>
57 <div class="tags">
58
59
60
61 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
62
63 </div>
64 </div>
65 <div class="padding"></div>
66
67 <div class="entry">
68 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Idea_for_a_change_to_LDAP_schemas_allowing_DNS_and_DHCP_info_to_be_combined_into_one_object.html">Idea for a change to LDAP schemas allowing DNS and DHCP info to be combined into one object</a></div>
69 <div class="date">2010-06-24 00:35</div>
70 <div class="body">
71 <p>A while back, I
72 <a href="http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html">complained
73 about the fact</a> that it is not possible with the provided schemas
74 for storing DNS and DHCP information in LDAP to combine the two sets
75 of information into one LDAP object representing a computer.</p>
76
77 <p>In the mean time, I discovered that a simple fix would be to make
78 the dhcpHost object class auxiliary, to allow it to be combined with
79 the dNSDomain object class, and thus forming one object for one
80 computer when storing both DHCP and DNS information in LDAP.</p>
81
82 <p>If I understand this correctly, it is not safe to do this change
83 without also changing the assigned number for the object class, and I
84 do not know enough about LDAP schema design to do that properly for
85 Debian Edu.</p>
86
87 <p>Anyway, for future reference, this is how I believe we could change
88 the
89 <a href="http://tools.ietf.org/html/draft-ietf-dhc-ldap-schema-00">DHCP
90 schema</a> to solve at least part of the problem with the LDAP schemas
91 available today from IETF.</p>
92
93 <pre>
94 --- dhcp.schema (revision 65192)
95 +++ dhcp.schema (working copy)
96 @@ -376,7 +376,7 @@
97 objectclass ( 2.16.840.1.113719.1.203.6.6
98 NAME 'dhcpHost'
99 DESC 'This represents information about a particular client'
100 - SUP top
101 + SUP top AUXILIARY
102 MUST cn
103 MAY (dhcpLeaseDN $ dhcpHWAddress $ dhcpOptionsDN $ dhcpStatements $ dhcpComments $ dhcpOption)
104 X-NDS_CONTAINMENT ('dhcpService' 'dhcpSubnet' 'dhcpGroup') )
105 </pre>
106
107 <p>I very much welcome clues on how to do this properly for Debian
108 Edu/Squeeze. We provide the DHCP schema in our debian-edu-config
109 package, and should thus be free to rewrite it as we see fit.</p>
110
111 <p>If you want to help out with implementing this for Debian Edu,
112 please contact us on debian-edu@lists.debian.org.</p>
113 </div>
114 <div class="tags">
115
116
117
118 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
119
120 </div>
121 </div>
122 <div class="padding"></div>
123
124 <div class="entry">
125 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Calling_tasksel_like_the_installer__while_still_getting_useful_output.html">Calling tasksel like the installer, while still getting useful output</a></div>
126 <div class="date">2010-06-16 14:55</div>
127 <div class="body">
128 <p>A few times I have had the need to simulate the way tasksel
129 installs packages during the normal debian-installer run. Until now,
130 I have ended up letting tasksel do the work, with the annoying problem
131 of not getting any feedback at all when something fails (like a
132 conffile question from dpkg or a download that fails), using code like
133 this:
134
135 <blockquote><pre>
136 export DEBIAN_FRONTEND=noninteractive
137 tasksel --new-install
138 </pre></blockquote>
139
140 This would invoke tasksel, let its automatic task selection pick the
141 tasks to install, and continue to install the requested tasks without
142 any output what so ever.
143
144 Recently I revisited this problem while working on the automatic
145 package upgrade testing, because tasksel would some times hang without
146 any useful feedback, and I want to see what is going on when it
147 happen. Then it occured to me, I can parse the output from tasksel
148 when asked to run in test mode, and use that aptitude command line
149 printed by tasksel then to simulate the tasksel run. I ended up using
150 code like this:
151
152 <blockquote><pre>
153 export DEBIAN_FRONTEND=noninteractive
154 cmd="$(in_target tasksel -t --new-install | sed 's/debconf-apt-progress -- //')"
155 $cmd
156 </pre></blockquote>
157
158 <p>The content of $cmd is typically something like "<tt>aptitude -q
159 --without-recommends -o APT::Install-Recommends=no -y install
160 ~t^desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired
161 ~pimportant</tt>", which will install the gnome desktop task, the
162 laptop task and all packages with priority standard , required and
163 important, just like tasksel would have done it during
164 installation.</p>
165
166 <p>A better approach is probably to extend tasksel to be able to
167 install packages without using debconf-apt-progress, for use cases
168 like this.</p>
169 </div>
170 <div class="tags">
171
172
173
174 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
175
176 </div>
177 </div>
178 <div class="padding"></div>
179
180 <div class="entry">
181 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Vinmonopolet_bryter_loven___penlyst___og_flere_planlegger____gj__re_det_samme.html">Vinmonopolet bryter loven åpenlyst - og flere planlegger å gjøre det samme</a></div>
182 <div class="date">2010-06-16 11:00</div>
183 <div class="body">
184 <p><a href="http://www.dagbladet.no/2010/06/16/nyheter/innenriks/streik/arbeidsliv/12157858/">Dagbladet
185 melder</a> at Vinmonopolet med bakgrunn i vekterstreiken som pågår i
186 Norge for tiden, har bestemt seg for med vitende og vilje å bryte
187 sentralbanklovens paragraf 14 ved å nekte folk å betale med
188 kontanter, og at flere butikker planlegger å følge deres eksempel.
189 Jeg synes det er hårreisende hvis de slipper unna med et slikt
190 soleklart lovbrudd, og lurer på hva slags muligheter jeg vil ha hvis
191 jeg blir nektet å handle med kontanter. Jeg handler i hovedsak med
192 kontanter selv, da jeg anser det som en borgerrett å kunne handle
193 anonymt uten at det blir registrert. For meg er det et angrep på mitt
194 personvern å nekte å ta imot kontant betaling.</p>
195
196 <p><a href="http://www.lovdata.no/all/tl-19850524-028-003.html#14">Paragrafen
197 i sentralbankloven</a> lyder:</p>
198
199 <blockquote>
200 <p>§ 14. Tvungent betalingsmiddel</p>
201
202 <p>Bankens sedler og mynter er tvungent betalingsmiddel i Norge. Ingen
203 er pliktig til i én betaling å ta imot mer enn femogtyve mynter av
204 hver enhet.</p>
205
206 <p>Sterkt skadde sedler og mynter er ikke tvungent
207 betalingsmiddel. Banken gir nærmere forskrifter om erstatning for
208 bortkomne, brente eller skadde sedler og mynter.</p>
209
210 <p>Selv om en avtale inneholder klausul om betaling av en
211 pengeforpliktelse i gullverdi, kan skyldneren frigjøre seg med tvungne
212 betalingsmidler uten hensyn til denne klausul.</p>
213 </blockquote>
214
215 <p>Det er med bakgrunn i denne lovet ikke tillatt å nekte å ta imot
216 kontakt betaling. Det er en lov jeg har sans for, og som jeg mener må
217 håndheves strengt.</p>
218 </div>
219 <div class="tags">
220
221
222
223 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>.
224
225 </div>
226 </div>
227 <div class="padding"></div>
228
229 <div class="entry">
230 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html">Officeshots taking shape</a></div>
231 <div class="date">2010-06-13 11:40</div>
232 <div class="body">
233 <p>For those of us caring about document exchange and
234 interoperability, <a href="http://www.officeshots.org/">OfficeShots</a>
235 is a great service. It is to ODF documents what
236 <a href="http://browsershots.org/">BrowserShots</a> is for web
237 pages.</p>
238
239 <p>A while back, I was contacted by Knut Yrvin at the part of Nokia
240 that used to be Trolltech, who wanted to help the OfficeShots project
241 and wondered if the University of Oslo where I work would be
242 interested in supporting the project. I helped him to navigate his
243 request to the right people at work, and his request was answered with
244 a spot in the machine room with power and network connected, and Knut
245 arranged funding for a machine to fill the spot. The machine is
246 administrated by the OfficeShots people, so I do not have daily
247 contact with its progress, and thus from time to time check back to
248 see how the project is doing.</p>
249
250 <p>Today I had a look, and was happy to see that the Dell box in our
251 machine room now is the host for several virtual machines running as
252 OfficeShots factories, and the project is able to render ODF documents
253 in 17 different document processing implementation on Linux and
254 Windows. This is great.</p>
255 </div>
256 <div class="tags">
257
258
259
260 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/standard">standard</a>.
261
262 </div>
263 </div>
264 <div class="padding"></div>
265
266 <div class="entry">
267 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__removals_by_apt_and_aptitude.html">Lenny->Squeeze upgrades, removals by apt and aptitude</a></div>
268 <div class="date">2010-06-13 09:05</div>
269 <div class="body">
270 <p>My
271 <a href="http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html">testing
272 of Debian upgrades</a> from Lenny to Squeeze continues, and I've
273 finally made the upgrade logs available from
274 <a href="http://people.skolelinux.org/pere/debian-upgrade-testing/">http://people.skolelinux.org/pere/debian-upgrade-testing/</a>.
275 I am now testing dist-upgrade of Gnome and KDE in a chroot using both
276 apt and aptitude, and found their differences interesting. This time
277 I will only focus on their removal plans.</p>
278
279 <p>After installing a Gnome desktop and the laptop task, apt-get wants
280 to remove 72 packages when dist-upgrading from Lenny to Squeeze. The
281 surprising part is that it want to remove xorg and all
282 xserver-xorg-video* drivers. Clearly not a good choice, but I am not
283 sure why. When asking aptitude to do the same, it want to remove 129
284 packages, but most of them are library packages I suspect are no
285 longer needed. Both of them want to remove bluetooth packages, which
286 I do not know. Perhaps these bluetooth packages are obsolete?</p>
287
288 <p>For KDE, apt-get want to remove 82 packages, among them kdebase
289 which seem like a bad idea and xorg the same way as with Gnome. Asking
290 aptitude for the same, it wants to remove 192 packages, none which are
291 too surprising.</p>
292
293 <p>I guess the removal of xorg during upgrades should be investigated
294 and avoided, and perhaps others as well. Here are the complete list
295 of planned removals. The complete logs is available from the URL
296 above. Note if you want to repeat these tests, that the upgrade test
297 for kde+apt-get hung in the tasksel setup because of dpkg asking
298 conffile questions. No idea why. I worked around it by using
299 '<tt>echo >> /proc/<em>pidofdpkg</em>/fd/0</tt>' to tell dpkg to
300 continue.</p>
301
302 <p><b>apt-get gnome 72</b>
303 <br>bluez-gnome cupsddk-drivers deskbar-applet gnome
304 gnome-desktop-environment gnome-network-admin gtkhtml3.14
305 iceweasel-gnome-support libavcodec51 libdatrie0 libgdl-1-0
306 libgnomekbd2 libgnomekbdui2 libmetacity0 libslab0 libxcb-xlib0
307 nautilus-cd-burner python-gnome2-desktop python-gnome2-extras
308 serpentine swfdec-mozilla update-manager xorg xserver-xorg
309 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
310 xserver-xorg-input-kbd xserver-xorg-input-mouse
311 xserver-xorg-input-synaptics xserver-xorg-input-wacom
312 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
313 xserver-xorg-video-ati xserver-xorg-video-chips
314 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
315 xserver-xorg-video-dummy xserver-xorg-video-fbdev
316 xserver-xorg-video-glint xserver-xorg-video-i128
317 xserver-xorg-video-i740 xserver-xorg-video-imstt
318 xserver-xorg-video-intel xserver-xorg-video-mach64
319 xserver-xorg-video-mga xserver-xorg-video-neomagic
320 xserver-xorg-video-nsc xserver-xorg-video-nv
321 xserver-xorg-video-openchrome xserver-xorg-video-r128
322 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
323 xserver-xorg-video-rendition xserver-xorg-video-s3
324 xserver-xorg-video-s3virge xserver-xorg-video-savage
325 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
326 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
327 xserver-xorg-video-tga xserver-xorg-video-trident
328 xserver-xorg-video-tseng xserver-xorg-video-v4l
329 xserver-xorg-video-vesa xserver-xorg-video-vga
330 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9
331 xulrunner-1.9-gnome-support</p>
332
333 <p><b>aptitude gnome 129</b>
334
335 <br>bluez-gnome bluez-utils cpp-4.3 cupsddk-drivers dhcdbd
336 djvulibre-desktop finger gnome-app-install gnome-mount
337 gnome-network-admin gnome-spell gnome-vfs-obexftp
338 gnome-volume-manager gstreamer0.10-gnomevfs gtkhtml3.14 libao2
339 libavahi-compat-libdnssd1 libavahi-core5 libavcodec51 libbluetooth2
340 libcamel1.2-11 libcdio7 libcucul0 libcupsys2 libcurl3 libdatrie0
341 libdirectfb-1.0-0 libdvdread3 libedataserver1.2-9 libeel2-2.20
342 libeel2-data libepc-1.0-1 libepc-ui-1.0-1 libfaad0 libgail-common
343 libgd2-noxpm libgda3-3 libgda3-common libgdl-1-0 libgdl-1-common
344 libggz2 libggzcore9 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0
345 libgnomecups1.0-1 libgnomekbd2 libgnomekbdui2 libgnomeprint2.2-0
346 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
347 libgnomevfs2-bin libgpod3 libgraphviz4 libgtkhtml2-0
348 libgtksourceview-common libgtksourceview1.0-0 libgucharmap6
349 libhesiod0 libicu38 libiw29 libkpathsea4 libltdl3 libmagick++10
350 libmagick10 libmalaga7 libmetacity0 libmtp7 libmysqlclient15off
351 libnautilus-burn4 libneon27 libnm-glib0 libnm-util0 libopal-2.2
352 libosp5 libparted1.8-10 libpoppler-glib3 libpoppler3 libpt-1.10.10
353 libpt-1.10.10-plugins-alsa libpt-1.10.10-plugins-v4l libraw1394-8
354 libsensors3 libslab0 libsmbios2 libsoup2.2-8 libssh2-1
355 libsuitesparse-3.1.0 libswfdec-0.6-90 libtalloc1 libtotem-plparser10
356 libtrackerclient0 libxalan2-java libxalan2-java-gcj libxcb-xlib0
357 libxerces2-java libxerces2-java-gcj libxklavier12 libxtrap6
358 libxxf86misc1 libzephyr3 mysql-common nautilus-cd-burner
359 openoffice.org-writer2latex openssl-blacklist p7zip
360 python-4suite-xml python-eggtrayicon python-gnome2-desktop
361 python-gnome2-extras python-gtkhtml2 python-gtkmozembed
362 python-numeric python-sexy serpentine svgalibg1 swfdec-gnome
363 swfdec-mozilla totem-gstreamer update-manager wodim
364 xserver-xorg-video-cyrix xserver-xorg-video-imstt
365 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
366 zip</p>
367
368 <p><b>apt-get kde 82</b>
369
370 <br>cupsddk-drivers karm kaudiocreator kcoloredit kcontrol kde kde-core
371 kdeaddons kdeartwork kdebase kdebase-bin kdebase-bin-kde3
372 kdebase-kio-plugins kdesktop kdeutils khelpcenter kicker
373 kicker-applets knewsticker kolourpaint konq-plugins konqueror korn
374 kpersonalizer kscreensaver ksplash libavcodec51 libdatrie0 libkiten1
375 libxcb-xlib0 quanta superkaramba texlive-base-bin xorg xserver-xorg
376 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
377 xserver-xorg-input-kbd xserver-xorg-input-mouse
378 xserver-xorg-input-synaptics xserver-xorg-input-wacom
379 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
380 xserver-xorg-video-ati xserver-xorg-video-chips
381 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
382 xserver-xorg-video-dummy xserver-xorg-video-fbdev
383 xserver-xorg-video-glint xserver-xorg-video-i128
384 xserver-xorg-video-i740 xserver-xorg-video-imstt
385 xserver-xorg-video-intel xserver-xorg-video-mach64
386 xserver-xorg-video-mga xserver-xorg-video-neomagic
387 xserver-xorg-video-nsc xserver-xorg-video-nv
388 xserver-xorg-video-openchrome xserver-xorg-video-r128
389 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
390 xserver-xorg-video-rendition xserver-xorg-video-s3
391 xserver-xorg-video-s3virge xserver-xorg-video-savage
392 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
393 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
394 xserver-xorg-video-tga xserver-xorg-video-trident
395 xserver-xorg-video-tseng xserver-xorg-video-v4l
396 xserver-xorg-video-vesa xserver-xorg-video-vga
397 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9</p>
398
399 <p><b>aptitude kde 192</b>
400 <br>bluez-utils cpp-4.3 cupsddk-drivers cvs dcoprss dhcdbd
401 djvulibre-desktop dosfstools eyesapplet fifteenapplet finger gettext
402 ghostscript-x imlib-base imlib11 indi kandy karm kasteroids
403 kaudiocreator kbackgammon kbstate kcoloredit kcontrol kcron kdat
404 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
405 kdebase-bin-kde3 kdebase-kio-plugins kdeedu-data
406 kdegraphics-kfile-plugins kdelirc kdemultimedia-kappfinder-data
407 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
408 kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh
409 kdict kdnssd kdvi kedit keduca kenolaba kfax kfaxview kfouleggs
410 kghostview khelpcenter khexedit kiconedit kitchensync klatin
411 klickety kmailcvt kmenuedit kmid kmilo kmoon kmrml kodo kolourpaint
412 kooka korn kpager kpdf kpercentage kpf kpilot kpoker kpovmodeler
413 krec kregexpeditor ksayit ksim ksirc ksirtet ksmiletris ksmserver
414 ksnake ksokoban ksplash ksvg ksysv ktip ktnef kuickshow kverbos
415 kview kviewshell kvoctrain kwifimanager kwin kwin4 kworldclock
416 kxsldbg libakode2 libao2 libarts1-akode libarts1-audiofile
417 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
418 libavahi-core5 libavc1394-0 libavcodec51 libbluetooth2
419 libboost-python1.34.1 libcucul0 libcurl3 libcvsservice0 libdatrie0
420 libdirectfb-1.0-0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
421 libgail-common libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-0
422 libicu38 libiec61883-0 libindex0 libiw29 libk3b3 libkcal2b libkcddb1
423 libkdeedu3 libkdepim1a libkgantt0 libkiten1 libkleopatra1 libkmime2
424 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
425 libksieve0 libktnef1 liblockdev1 libltdl3 libmagick10 libmimelib1c2a
426 libmozjs1d libmpcdec3 libneon27 libnm-util0 libopensync0 libpisock9
427 libpoppler-glib3 libpoppler-qt2 libpoppler3 libraw1394-8 libsmbios2
428 libssh2-1 libsuitesparse-3.1.0 libtalloc1 libtiff-tools
429 libxalan2-java libxalan2-java-gcj libxcb-xlib0 libxerces2-java
430 libxerces2-java-gcj libxtrap6 mpeglib networkstatus
431 openoffice.org-writer2latex pmount poster psutils quanta quanta-data
432 superkaramba svgalibg1 tex-common texlive-base texlive-base-bin
433 texlive-common texlive-doc-base texlive-fonts-recommended
434 xserver-xorg-video-cyrix xserver-xorg-video-imstt
435 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
436 xulrunner-1.9</p>
437
438 </div>
439 <div class="tags">
440
441
442
443 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
444
445 </div>
446 </div>
447 <div class="padding"></div>
448
449 <div class="entry">
450 <div class="title"><a href="http://people.skolelinux.org/pere/blog/__pne_tr__dl__snett_er_et_samfunnsgode.html">Åpne trådløsnett er et samfunnsgode</a></div>
451 <div class="date">2010-06-12 12:45</div>
452 <div class="body">
453 <p>Veldig glad for å oppdage via
454 <a href="http://yro.slashdot.org/story/10/06/11/1841256/Finland-To-Legalize-Use-of-Unsecured-Wi-Fi">Slashdot</a>
455 at folk i Finland har forstått at åpne trådløsnett er et samfunnsgode.
456 Jeg ser på åpne trådløsnett som et fellesgode på linje med retten til
457 ferdsel i utmark og retten til å bevege seg i strandsonen. Jeg har
458 glede av åpne trådløsnett når jeg finner dem, og deler gladelig nett
459 med andre så lenge de ikke forstyrrer min bruk av eget nett.
460 Nettkapasiteten er sjelden en begrensning ved normal browsing og enkel
461 SSH-innlogging (som er min vanligste nettbruk), og nett kan brukes til
462 så mye positivt og nyttig (som nyhetslesing, sjekke været, kontakte
463 slekt og venner, holde seg oppdatert om politiske saker, kontakte
464 organisasjoner og politikere, etc), at det for meg er helt urimelig å
465 blokkere dette for alle som ikke gjør en flue fortred. De som mener
466 at potensialet for misbruk er grunn nok til å hindre all den positive
467 og lovlydige bruken av et åpent trådløsnett har jeg dermed ingen
468 forståelse for. En kan ikke eksistensen av forbrytere styre hvordan
469 samfunnet skal organiseres. Da får en et kontrollsamfunn de færreste
470 ønsker å leve i, og det at vi har et samfunn i Norge der tilliten til
471 hverandre er høy gjør at samfunnet fungerer ganske godt. Det bør vi
472 anstrenge oss for å beholde.</p>
473 </div>
474 <div class="tags">
475
476
477
478 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
479
480 </div>
481 </div>
482 <div class="padding"></div>
483
484 <div class="entry">
485 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html">Automatic upgrade testing from Lenny to Squeeze</a></div>
486 <div class="date">2010-06-11 22:50</div>
487 <div class="body">
488 <p>The last few days I have done some upgrade testing in Debian, to
489 see if the upgrade from Lenny to Squeeze will go smoothly. A few bugs
490 have been discovered and reported in the process
491 (<a href="http://bugs.debian.org/585410">#585410</a> in nagios3-cgi,
492 <a href="http://bugs.debian.org/584879">#584879</a> already fixed in
493 enscript and <a href="http://bugs.debian.org/584861">#584861</a> in
494 kdebase-workspace-data), and to get a more regular testing going on, I
495 am working on a script to automate the test.</p>
496
497 <p>The idea is to create a Lenny chroot and use tasksel to install a
498 Gnome or KDE desktop installation inside the chroot before upgrading
499 it. To ensure no services are started in the chroot, a policy-rc.d
500 script is inserted. To make sure tasksel believe it is to install a
501 desktop on a laptop, the tasksel tests are replaced in the chroot
502 (only acceptable because this is a throw-away chroot).</p>
503
504 <p>A naive upgrade from Lenny to Squeeze using aptitude dist-upgrade
505 currently always fail because udev refuses to upgrade with the kernel
506 in Lenny, so to avoid that problem the file /etc/udev/kernel-upgrade
507 is created. The bug report
508 <a href="http://bugs.debian.org/566000">#566000</a> make me suspect
509 this problem do not trigger in a chroot, but I touch the file anyway
510 to make sure the upgrade go well. Testing on virtual and real
511 hardware have failed me because of udev so far, and creating this file
512 do the trick in such settings anyway. This is a
513 <a href="http://www.linuxquestions.org/questions/debian-26/failed-dist-upgrade-due-to-udev-config_sysfs_deprecated-nonsense-804130/">known
514 issue</a> and the current udev behaviour is intended by the udev
515 maintainer because he lack the resources to rewrite udev to keep
516 working with old kernels or something like that. I really wish the
517 udev upstream would keep udev backwards compatible, to avoid such
518 upgrade problem, but given that they fail to do so, I guess
519 documenting the way out of this mess is the best option we got for
520 Debian Squeeze.</p>
521
522 <p>Anyway, back to the task at hand, testing upgrades. This test
523 script, which I call <tt>upgrade-test</tt> for now, is doing the
524 trick:</p>
525
526 <blockquote><pre>
527 #!/bin/sh
528 set -ex
529
530 if [ "$1" ] ; then
531 desktop=$1
532 else
533 desktop=gnome
534 fi
535
536 from=lenny
537 to=squeeze
538
539 exec &lt; /dev/null
540 unset LANG
541 mirror=http://ftp.skolelinux.org/debian
542 tmpdir=chroot-$from-upgrade-$to-$desktop
543 fuser -mv .
544 debootstrap $from $tmpdir $mirror
545 chroot $tmpdir aptitude update
546 cat > $tmpdir/usr/sbin/policy-rc.d &lt;&lt;EOF
547 #!/bin/sh
548 exit 101
549 EOF
550 chmod a+rx $tmpdir/usr/sbin/policy-rc.d
551 exit_cleanup() {
552 umount $tmpdir/proc
553 }
554 mount -t proc proc $tmpdir/proc
555 # Make sure proc is unmounted also on failure
556 trap exit_cleanup EXIT INT
557
558 chroot $tmpdir aptitude -y install debconf-utils
559
560 # Make sure tasksel autoselection trigger. It need the test scripts
561 # to return the correct answers.
562 echo tasksel tasksel/desktop multiselect $desktop | \
563 chroot $tmpdir debconf-set-selections
564
565 # Include the desktop and laptop task
566 for test in desktop laptop ; do
567 echo > $tmpdir/usr/lib/tasksel/tests/$test &lt;&lt;EOF
568 #!/bin/sh
569 exit 2
570 EOF
571 chmod a+rx $tmpdir/usr/lib/tasksel/tests/$test
572 done
573
574 DEBIAN_FRONTEND=noninteractive
575 DEBIAN_PRIORITY=critical
576 export DEBIAN_FRONTEND DEBIAN_PRIORITY
577 chroot $tmpdir tasksel --new-install
578
579 echo deb $mirror $to main > $tmpdir/etc/apt/sources.list
580 chroot $tmpdir aptitude update
581 touch $tmpdir/etc/udev/kernel-upgrade
582 chroot $tmpdir aptitude -y dist-upgrade
583 fuser -mv
584 </pre></blockquote>
585
586 <p>I suspect it would be useful to test upgrades with both apt-get and
587 with aptitude, but I have not had time to look at how they behave
588 differently so far. I hope to get a cron job running to do the test
589 regularly and post the result on the web. The Gnome upgrade currently
590 work, while the KDE upgrade fail because of the bug in
591 kdebase-workspace-data</p>
592
593 <p>I am not quite sure what kind of extract from the huge upgrade logs
594 (KDE 167 KiB, Gnome 516 KiB) it make sense to include in this blog
595 post, so I will refrain from trying. I can report that for Gnome,
596 aptitude report 760 packages upgraded, 448 newly installed, 129 to
597 remove and 1 not upgraded and 1024MB need to be downloaded while for
598 KDE the same numbers are 702 packages upgraded, 507 newly installed,
599 193 to remove and 0 not upgraded and 1117MB need to be downloaded</p>
600
601 <p>I am very happy to notice that the Gnome desktop + laptop upgrade
602 is able to migrate to dependency based boot sequencing and parallel
603 booting without a hitch. Was unsure if there were still bugs with
604 packages failing to clean up their obsolete init.d script during
605 upgrades, and no such problem seem to affect the Gnome desktop+laptop
606 packages.</p>
607 </div>
608 <div class="tags">
609
610
611
612 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
613
614 </div>
615 </div>
616 <div class="padding"></div>
617
618 <div class="entry">
619 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Skolelinux_er_laget_for_sentraldrifting__naturligvis.html">Skolelinux er laget for sentraldrifting, naturligvis</a></div>
620 <div class="date">2010-06-09 12:30</div>
621 <div class="body">
622 <p>Det er merkelig hvordan myter om Skolelinux overlever. En slik
623 myte er at Skolelinux ikke kan sentraldriftes og ha sentralt plasserte
624 tjenermaskiner. I siste Computerworld Norge er
625 <a href="http://www.idg.no/computerworld/article169432.ece">IT-sjef
626 Viggo Billdal i Steinkjer intervjuet</a>, og forteller uten
627 blygsel:</p>
628
629 <blockquote><p>Vi hadde Skolelinux, men det har vi sluttet med. Vi testet
630 om det lønte seg med Microsoft eller en åpen plattform. Vi fant ut at
631 Microsoft egentlig var totalt sett bedre egnet. Det var store
632 driftskostnader med Skolelinux, blant annet på grunn av
633 desentraliserte servere. Det var komplisert, så vi gikk vekk fra det
634 og bruker nå bare Windows.</p></blockquote>
635
636 <p>En <a
637 href="https://init.linpro.no/pipermail/skolelinux.no/bruker/2010-June/009101.html">rask
638 sjekk</a> mot den norske brukerlista i Skolelinuxprosjektet forteller
639 at Steinkjers forsøk foregikk fram til 2004/2005, og at Røysing skole
640 i Steinkjer skal ha vært svært fornøyd med Skolelinux men at kommunen
641 overkjørte skolen og krevde at de gikk over til Windows. Et søk på
642 nettet sendte meg til
643 <a href="http://www.dn.no/multimedia/archive/00090/Dagens_it_nr__18_90826a.pdf">Dagens
644 IT nr. 18 2005</a> hvor en kan lese på side 18:</p>
645
646 <blockquote><p>Inge Tømmerås ved Røysing skole i Steinkjer kjører ennå
647 Microsoft, men forteller at kompetanseutfordringen med Skolelinux ikke
648 var så stor. ­ Jeg syntes Skolelinux var utrolig lett å drifte uten
649 forkunnskaper. Men man må jo selvsagt ha tilgang på ekstern kompetanse
650 til installasjoner og maskinvarefeil, sier Tømmerås.</p></blockquote>
651
652 <p>Som systemarkitekten bak Skolelinux, kan jeg bare riste på hodet
653 over påstanden om at Skolelinux krever desentraliserte tjenere.
654 Skolelinux-arkitekturen er laget for sentralisert drift og plassering
655 av tjenerne lokalt eller sentralt alt etter behov og nettkapasitet.
656 Den er modellert på nettverks- og tjenerløsningen som brukes på
657 Universitetet i Tromsø og Oslo, der jeg jobber med utvikling av
658 driftstjenester. Dette er det heldigvis noen som har fått med seg, og
659 jeg er glad for å kunne sitere fra en kommentar på den overnevnte
660 artikkelen. Min venn og gamle kollega Sturle Sunde forteller der:
661
662 <blockquote>
663 <p>I Flora kommune køyrer vi Skulelinux på skular med alt frå 15 til
664 meir enn 500 elevar. Dei store skulane har eigen tenar, for det er
665 mest praktisk. Eg, som er driftsansvarleg for heile nettet, ser
666 sjeldan dei tenarane fysisk, men at dei står der gjer skulane mindre
667 avhengige av eksterne linjer som er trege eller dyre. Dei minste
668 skulane har ikkje eigen tenar. Å bruke sentral tenar er heller ikkje
669 noko problem. Småskulane klarar seg fint med 1 mbit-linje til ein
670 sentral tenar eller tenaren på ein større skule.</p>
671
672 <p>Det beste med Skulelinux er halvtjukke klientar. Dei treng ikkje
673 harddisk og brukar minimalt med ressursar på tenaren fordi dei køyrer
674 programma lokalt. Eit klasserom med 30 sju-åtte år gamle maskiner har
675 mykje meir CPU og RAM totalt enn nokon moderne tenar til under
676 millionen. Det trengst to kommandoar på den sentrale tenaren for å
677 oppdatere alle klientane, både tynne og halvtjukke. Vi har ingen
678 problem med diskar som ryk heller, som var eit problem før fordi
679 elevane sat og sparka i maskinene. Og dei krev lite bandbreidde i
680 nettet, so det er fullt mogleg å køyre slike på småskular med trege
681 linjer mot tenaren på ein større skule.</p>
682
683 <p>Flora kommune har nesten 800 Linux-maskiner i sitt skulenett, og
684 ein person som tek seg av drift av heile nettet, inkludert tenarar,
685 klientar, operativsystem, programvare, heimekontorløysing og
686 administrasjon av brukarar.</p>
687
688 <p>No skal det seiast at vi ikkje køyrer rein Skulelinux ut av
689 boksen. Vi har gjort ein del tilpassingar mot noko Novell-greier som
690 var der frå før, og som har komplisert installasjonen vår. Etter at
691 oppsettet var gjort har løysinga vore stabil og kravd minimalt med
692 arbeid.</p>
693 </blockquote>
694
695 <p>Jeg vet at Narvik, Harstad og Oslo er kommuner der Skolelinux
696 sentraldriftes med sentrale tjenere. Det forteller meg at Steinkjers
697 IT-sjef neppe bør skylde på Skolelinux-løsningen for sine 5 år gamle
698 minner.</p>
699 </div>
700 <div class="tags">
701
702
703
704 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
705
706 </div>
707 </div>
708 <div class="padding"></div>
709
710 <div class="entry">
711 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html">Upstart or sysvinit - as init.d scripts see it</a></div>
712 <div class="date">2010-06-06 23:55</div>
713 <div class="body">
714 <p>If Debian is to migrate to upstart on Linux, I expect some init.d
715 scripts to migrate (some of) their operations to upstart job while
716 keeping the init.d for hurd and kfreebsd. The packages with such
717 needs will need a way to get their init.d scripts to behave
718 differently when used with sysvinit and with upstart. Because of
719 this, I had a look at the environment variables set when a init.d
720 script is running under upstart, and when it is not.</p>
721
722 <p>With upstart, I notice these environment variables are set when a
723 script is started from rcS.d/ (ignoring some irrelevant ones like
724 COLUMNS):</p>
725
726 <blockquote><pre>
727 DEFAULT_RUNLEVEL=2
728 previous=N
729 PREVLEVEL=
730 RUNLEVEL=
731 runlevel=S
732 UPSTART_EVENTS=startup
733 UPSTART_INSTANCE=
734 UPSTART_JOB=rc-sysinit
735 </pre></blockquote>
736
737 <p>With sysvinit, these environment variables are set for the same
738 script.</p>
739
740 <blockquote><pre>
741 INIT_VERSION=sysvinit-2.88
742 previous=N
743 PREVLEVEL=N
744 RUNLEVEL=S
745 runlevel=S
746 </pre></blockquote>
747
748 <p>The RUNLEVEL and PREVLEVEL environment variables passed on from
749 sysvinit are not set by upstart. Not sure if it is intentional or not
750 to not be compatible with sysvinit in this regard.</p>
751
752 <p>For scripts needing to behave differently when upstart is used,
753 looking for the UPSTART_JOB environment variable seem to be a good
754 choice.</p>
755 </div>
756 <div class="tags">
757
758
759
760 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
761
762 </div>
763 </div>
764 <div class="padding"></div>
765
766 <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14"></a></p>
767
768 <div id="sidebar">
769
770
771
772
773
774 <h2>Archive</h2>
775 <ul>
776
777 <li>2010
778 <ul>
779
780 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
781
782 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
783
784 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
785
786 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
787
788 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
789
790 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
791
792 </ul></li>
793
794 <li>2009
795 <ul>
796
797 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
798
799 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
800
801 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
802
803 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
804
805 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
806
807 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
808
809 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
810
811 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
812
813 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
814
815 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
816
817 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
818
819 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
820
821 </ul></li>
822
823 <li>2008
824 <ul>
825
826 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
827
828 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
829
830 </ul></li>
831
832 </ul>
833
834
835
836 <h2>Tags</h2>
837 <ul>
838
839 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (11)</a></li>
840
841 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
842
843 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
844
845 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (10)</a></li>
846
847 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (29)</a></li>
848
849 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (28)</a></li>
850
851 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (41)</a></li>
852
853 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
854
855 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (7)</a></li>
856
857 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (2)</a></li>
858
859 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (3)</a></li>
860
861 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (1)</a></li>
862
863 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
864
865 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (5)</a></li>
866
867 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (69)</a></li>
868
869 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (79)</a></li>
870
871 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (13)</a></li>
872
873 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (13)</a></li>
874
875 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (10)</a></li>
876
877 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
878
879 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (9)</a></li>
880
881 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>
882
883 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (13)</a></li>
884
885 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
886
887 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (10)</a></li>
888
889 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
890
891 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (6)</a></li>
892
893 </ul>
894
895 </div>
896
897 <p style="text-align: right">
898 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v3.7</a>
899 </p>
900 </body>
901 </html>