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