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/MS_Word_kr__ller_det_til_for_politiet_.html">MS Word krøller det til for politiet?
</a></div>
24 <div class=
"date">2010-
07-
08 14:
00</div>
26 <p>De siste dagene har Aftenposten
27 <a href=
"http://www.aftenposten.no/nyheter/iriks/article3718597.ece">fortalt
</a>
28 <a href=
"http://www.aftenposten.no/nyheter/iriks/article3724249.ece">hvordan
</a>
29 politet har brukt skriveverktøy som ikke håndterer arabisk tekst og
30 tekst som skal skrives fra høyre mot venstre når de har laget
31 løpeseddel for å be om informasjon fra publikum. Resultatet har vært
32 en uleselig arabisk-bit på løpeseddelen. Feilen har oppstått når
33 teksten har blitt "kopiert inn i programvare som ikke har støtte for
34 språk som skrives fra høyre mot venstre", og jeg er ganske sikker på
35 at det er snakk om Microsoft Office i dette tilfellet. Er det slik at
36 MS Office i norsk språkdrakt ikke har støtte for tekst som skal
37 skrives fra høyre mot venstre? Jeg tror alle utgaver av
38 OpenOffice.org har slik støtte, og det er jo ikke veldig vanskelig å
39 la slik støtte finnes i alle utgaver av et program hvis støtten først
40 er utviklet. Aftenpostens melding får meg til å undre om problemet
41 ville vært unngått hvis politiet brukte OpenOffice.org i stedet for MS
44 <p>Mon tro om det er flere eksempler på at MS Office har ødelagt for
45 offentlig myndighet?
</p>
51 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>.
55 <div class=
"padding"></div>
58 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_desktop.html">Lenny-
>Squeeze upgrades, apt vs aptitude with the Gnome desktop
</a></div>
59 <div class=
"date">2010-
07-
03 23:
55</div>
61 <p>Here is a short update on my
<a
62 href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing/">my
63 Debian Lenny-
>Squeeze upgrade testing
</a>. Here is a summary of the
64 difference for Gnome when it is upgraded by apt-get and aptitude. I'm
65 not reporting the status for KDE, because the upgrade crashes when
66 aptitude try because of missing conflicts
67 (
<a href=
"http://bugs.debian.org/584861">#
584861</a> and
68 <a href=
"http://bugs.debian.org/585716">#
585716</a>).
</p>
70 <p>At the end of the upgrade test script, dpkg -l is executed to get a
71 complete list of the installed packages. Based on this I see these
72 differences when I did a test run today. As usual, I do not really
73 know what the correct set of packages would be, but thought it best to
74 publish the difference.
</p>
76 <p>Installed using apt-get, missing with aptitude
</p>
79 at-spi cpp-
4.3 finger gnome-spell gstreamer0.10-gnomevfs
80 libatspi1.0-
0 libcupsys2 libeel2-data libgail-common libgdl-
1-common
81 libgnomeprint2.2-data libgnomeprintui2.2-common libgnomevfs2-bin
82 libgtksourceview-common libpt-
1.10.10-plugins-alsa
83 libpt-
1.10.10-plugins-v4l libservlet2.4-java libxalan2-java
84 libxerces2-java openoffice.org-writer2latex openssl-blacklist p7zip
85 python-
4suite-xml python-eggtrayicon python-gtkhtml2
86 python-gtkmozembed svgalibg1 xserver-xephyr zip
89 <p>Installed using apt-get, removed with aptitude
</p>
92 bluez-utils dhcdbd djvulibre-desktop epiphany-gecko
93 gnome-app-install gnome-mount gnome-vfs-obexftp gnome-volume-manager
94 libao2 libavahi-compat-libdnssd1 libavahi-core5 libbind9-
50
95 libbluetooth2 libcamel1.2-
11 libcdio7 libcucul0 libcurl3
96 libdirectfb-
1.0-
0 libdvdread3 libedata-cal1.2-
6 libedataserver1.2-
9
97 libeel2-
2.20 libepc-
1.0-
1 libepc-ui-
1.0-
1 libexchange-storage1.2-
3
98 libfaad0 libgd2-noxpm libgda3-
3 libgda3-common libggz2 libggzcore9
99 libggzmod4 libgksu1.2-
0 libgksuui1.0-
1 libgmyth0 libgnome-desktop-
2
100 libgnome-pilot2 libgnomecups1.0-
1 libgnomeprint2.2-
0
101 libgnomeprintui2.2-
0 libgpod3 libgraphviz4 libgtkhtml2-
0
102 libgtksourceview1.0-
0 libgucharmap6 libhesiod0 libicu38 libisccc50
103 libisccfg50 libiw29 libkpathsea4 libltdl3 liblwres50 libmagick++
10
104 libmagick10 libmalaga7 libmtp7 libmysqlclient15off libnautilus-burn4
105 libneon27 libnm-glib0 libnm-util0 libopal-
2.2 libosp5
106 libparted1.8-
10 libpisock9 libpisync1 libpoppler-glib3 libpoppler3
107 libpt-
1.10.10 libraw1394-
8 libsensors3 libsmbios2 libsoup2.2-
8
108 libssh2-
1 libsuitesparse-
3.1.0 libswfdec-
0.6-
90 libtalloc1
109 libtotem-plparser10 libtrackerclient0 libvoikko1 libxalan2-java-gcj
110 libxerces2-java-gcj libxklavier12 libxtrap6 libxxf86misc1 libzephyr3
111 mysql-common swfdec-gnome totem-gstreamer wodim
114 <p>Installed using aptitude, missing with apt-get
</p>
117 gnome gnome-desktop-environment hamster-applet python-gnomeapplet
118 python-gnomekeyring python-wnck rhythmbox-plugins xorg
119 xserver-xorg-input-all xserver-xorg-input-evdev
120 xserver-xorg-input-kbd xserver-xorg-input-mouse
121 xserver-xorg-input-synaptics xserver-xorg-video-all
122 xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati
123 xserver-xorg-video-chips xserver-xorg-video-cirrus
124 xserver-xorg-video-dummy xserver-xorg-video-fbdev
125 xserver-xorg-video-glint xserver-xorg-video-i128
126 xserver-xorg-video-i740 xserver-xorg-video-mach64
127 xserver-xorg-video-mga xserver-xorg-video-neomagic
128 xserver-xorg-video-nouveau xserver-xorg-video-nv
129 xserver-xorg-video-r128 xserver-xorg-video-radeon
130 xserver-xorg-video-radeonhd xserver-xorg-video-rendition
131 xserver-xorg-video-s3 xserver-xorg-video-s3virge
132 xserver-xorg-video-savage xserver-xorg-video-siliconmotion
133 xserver-xorg-video-sis xserver-xorg-video-sisusb
134 xserver-xorg-video-tdfx xserver-xorg-video-tga
135 xserver-xorg-video-trident xserver-xorg-video-tseng
136 xserver-xorg-video-vesa xserver-xorg-video-vmware
137 xserver-xorg-video-voodoo
140 <p>Installed using aptitude, removed with apt-get
</p>
143 deskbar-applet xserver-xorg xserver-xorg-core
144 xserver-xorg-input-wacom xserver-xorg-video-intel
145 xserver-xorg-video-openchrome
148 <p>I was told on IRC that the xorg-xserver package was
149 <a href=
"http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=9c8080d06c457932d3bfec021c69ac000aa60120">changed
150 in git
</a> today to try to get apt-get to not remove xorg completely.
151 No idea when it hits Squeeze, but when it does I hope it will reduce
152 the difference somewhat.
158 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>.
162 <div class=
"padding"></div>
165 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Caching_password__user_and_group_on_a_roaming_Debian_laptop.html">Caching password, user and group on a roaming Debian laptop
</a></div>
166 <div class=
"date">2010-
07-
01 11:
40</div>
168 <p>For a laptop, centralized user directories and password checking is
169 a bit troubling. Laptops are typically used also when not connected
170 to the network, and it is vital for a user to be able to log in or
171 unlock the screen saver also when a central server is unavailable.
172 This is possible by caching passwords and directory information (user
173 and group attributes) locally, and the packages to do so are available
174 in Debian. Here follow two recipes to set this up in Debian/Squeeze.
175 It is also possible to set up in Debian/Lenny, but require more manual
176 setup there because pam-auth-update is missing in Lenny.
</p>
178 <h2>LDAP/Kerberos + nscd + libpam-ccreds + libpam-mklocaluser/pam_mkhomedir
</h2>
180 This is the traditional method with a twist. The password caching is
181 provided by libpam-ccreds (version
10-
4 or later is needed on
182 Squeeze), and the directory caching is done by nscd. The directory
183 lookup and password checking is done using LDAP. If one want to use
184 Kerberos for password checking the libpam-ldapd package can be
185 replaced with libpam-krb5 or libpam-heimdal. If one is happy having a
186 local home directory with the path listed in LDAP, one can use the
187 pam_mkhomedir module from pam-modules to make this happen instead of
188 using libpam-mklocaluser. A setup for pam-auth-update to enable
189 pam_mkhomedir will have to be written until a fix for
190 <a href=
"http://bugs.debian.org/568577">bug #
568577</a> is in the
191 archive. Because I believe it is a bad idea to have local home
192 directories using misleading paths like /site/server/partition/, I
193 prefer to create a local user with the home directory in /home/. This
194 is done using the libpam-mklocaluser package.
</p>
196 <p>These packages need to be installed and configured
</p>
199 libnss-ldapd libpam-ldapd nscd libpam-ccreds libpam-mklocaluser
202 <p>The ldapd packages will ask for LDAP connection information, and
203 one have to fill in the values that fits ones own site. Make sure the
204 PAM part uses encrypted connections, to make sure the password is not
205 sent in clear text to the LDAP server. I've been unable to get TLS
206 certificate checking for a self signed certificate working, which make
207 LDAP authentication unsafe for Debian Edu (nslcd is not checking if it
208 is talking to the correct LDAP server), and very much welcome feedback
209 on how to get this working.
</p>
211 <p>Because nscd do not have a default configuration fit for offline
212 caching until
<a href=
"http://bugs.debian.org/485282">bug #
485282</a>
213 is fixed, this configuration should be used instead of the one
214 currently in /etc/nscd.conf. The changes are in the fields
215 reload-count and positive-time-to-live, and is based on the
216 instructions I found in the
217 <a href=
"http://www.flyn.org/laptopldap/">LDAP for Mobile Laptops
</a>
218 instructions by Flyn Computing.
</p>
222 reload-count unlimited
225 enable-cache passwd yes
226 positive-time-to-live passwd
2592000
227 negative-time-to-live passwd
20
228 suggested-size passwd
211
229 check-files passwd yes
230 persistent passwd yes
232 max-db-size passwd
33554432
233 auto-propagate passwd yes
235 enable-cache group yes
236 positive-time-to-live group
2592000
237 negative-time-to-live group
20
238 suggested-size group
211
239 check-files group yes
242 max-db-size group
33554432
243 auto-propagate group yes
245 enable-cache hosts no
246 positive-time-to-live hosts
2592000
247 negative-time-to-live hosts
20
248 suggested-size hosts
211
249 check-files hosts yes
252 max-db-size hosts
33554432
254 enable-cache services yes
255 positive-time-to-live services
2592000
256 negative-time-to-live services
20
257 suggested-size services
211
258 check-files services yes
259 persistent services yes
261 max-db-size services
33554432
264 <p>While we wait for a mechanism to update /etc/nsswitch.conf
265 automatically like the one provided in
266 <a href=
"http://bugs.debian.org/496915">bug #
496915</a>, the file
267 content need to be manually replaced to ensure LDAP is used as the
268 directory service on the machine. /etc/nsswitch.conf should normally
275 hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
284 <p>The important parts are that ldap is listed last for passwd, group,
285 shadow and netgroup.
</p>
287 <p>With these changes in place, any user in LDAP will be able to log
288 in locally on the machine using for example kdm, get a local home
289 directory created and have the password as well as user and group
292 <h2>LDAP/Kerberos + nss-updatedb + libpam-ccreds +
293 libpam-mklocaluser/pam_mkhomedir
</h2>
295 <p>Because nscd have had its share of problems, and seem to have
296 problems doing proper caching, I've seen suggestions and recipes to
297 use nss-updatedb to copy parts of the LDAP database locally when the
298 LDAP database is available. I have not tested such setup, because I
301 <h2>LDAP/Kerberos + sssd + libpam-mklocaluser
</h2>
303 <p>A more flexible and robust setup than the nscd combination
304 mentioned earlier that has shown up recently, is the
305 <a href=
"https://fedorahosted.org/sssd/">sssd
</a> package from Redhat.
306 It is part of the
<a href=
"http://www.freeipa.org/">FreeIPA
</A> project
307 to provide a Active Directory like directory service for Linux
308 machines. The sssd system combines the caching of passwords and user
309 information into one package, and remove the need for nscd and
310 libpam-ccreds. It support LDAP and Kerberos, but not NIS. Version
311 1.2 do not support netgroups, but it is said that it will support this
312 in version
1.5 expected to show up later in
2010. Because the
313 <a href=
"http://packages.qa.debian.org/s/sssd.html">sssd package
</a>
314 was missing in Debian, I ended up co-maintaining it with Werner, and
315 version
1.2 is now in testing.
317 <p>These packages need to be installed and configured to get the
318 roaming setup I want
</p>
321 libpam-sss libnss-sss libpam-mklocaluser
324 The complete setup of sssd is done by editing/creating
325 <tt>/etc/sssd/sssd.conf
</tt>.
329 config_file_version =
2
330 reconnection_retries =
3
338 reconnection_retries =
3
341 reconnection_retries =
3
345 cache_credentials = true
349 chpass_provider = ldap
351 ldap_uri = ldap://ldap
352 ldap_search_base = dc=skole,dc=skolelinux,dc=no
353 ldap_tls_reqcert = never
354 ldap_tls_cacert = /etc/ssl/certs/ca-certificates.crt
357 <p>I got the same problem here with certificate checking. Had to set
358 "ldap_tls_reqcert = never" to get it working.
</p>
360 <p>With the libnss-sss package in testing at the moment, the
361 nsswitch.conf file is update automatically, so there is no need to
362 modify it manually.
</p>
364 <p>If you want to help out with implementing this for Debian Edu,
365 please contact us on debian-edu@lists.debian.org.
</p>
371 Tags:
<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>.
375 <div class=
"padding"></div>
378 <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>
379 <div class=
"date">2010-
06-
28 00:
30</div>
381 <p>The last few days I have been looking into the status of the LDAP
382 directory in Debian Edu, and in the process I started to miss a GUI
383 tool to browse the LDAP tree. The only one I was able to find in
384 Debian/Squeeze and Lenny is
385 <a href=
"http://luma.sourceforge.net/">LUMA
</a>, which has proved to
386 be a great tool to get a overview of the current LDAP directory
387 populated by default in Skolelinux. Thanks to it, I have been able to
388 find empty and obsolete subtrees, misplaced objects and duplicate
389 objects. It will be installed by default in Debian/Squeeze. If you
390 are working with LDAP, give it a go. :)
</p>
392 <p>I did notice one problem with it I have not had time to report to
393 the BTS yet. There is no .desktop file in the package, so the tool do
394 not show up in the Gnome and KDE menus, but only deep down in in the
395 Debian submenu in KDE. I hope that can be fixed before Squeeze is
398 <p>I have not yet been able to get it to modify the tree yet. I would
399 like to move objects and remove subtrees directly in the GUI, but have
400 not found a way to do that with LUMA yet. So in the mean time, I use
401 <a href=
"http://www.lichteblau.com/ldapvi/">ldapvi
</a> for that.
</p>
403 <p>If you have tips on other GUI tools for LDAP that might be useful
404 in Debian Edu, please contact us on debian-edu@lists.debian.org.
</p>
406 <p>Update
2010-
06-
29: Ross Reedstrom tipped us about the
407 <a href=
"http://packages.qa.debian.org/g/gq.html">gq
</a> package as a
408 useful GUI alternative. It seem like a good tool, but is unmaintained
409 in Debian and got a RC bug keeping it out of Squeeze. Unless that
410 changes, it will not be an option for Debian Edu based on Squeeze.
</p>
416 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>.
420 <div class=
"padding"></div>
423 <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>
424 <div class=
"date">2010-
06-
24 00:
35</div>
427 <a href=
"http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html">complained
428 about the fact
</a> that it is not possible with the provided schemas
429 for storing DNS and DHCP information in LDAP to combine the two sets
430 of information into one LDAP object representing a computer.
</p>
432 <p>In the mean time, I discovered that a simple fix would be to make
433 the dhcpHost object class auxiliary, to allow it to be combined with
434 the dNSDomain object class, and thus forming one object for one
435 computer when storing both DHCP and DNS information in LDAP.
</p>
437 <p>If I understand this correctly, it is not safe to do this change
438 without also changing the assigned number for the object class, and I
439 do not know enough about LDAP schema design to do that properly for
442 <p>Anyway, for future reference, this is how I believe we could change
444 <a href=
"http://tools.ietf.org/html/draft-ietf-dhc-ldap-schema-00">DHCP
445 schema
</a> to solve at least part of the problem with the LDAP schemas
446 available today from IETF.
</p>
449 --- dhcp.schema (revision
65192)
450 +++ dhcp.schema (working copy)
452 objectclass (
2.16.840.1.113719.1.203.6.6
454 DESC 'This represents information about a particular client'
458 MAY (dhcpLeaseDN $ dhcpHWAddress $ dhcpOptionsDN $ dhcpStatements $ dhcpComments $ dhcpOption)
459 X-NDS_CONTAINMENT ('dhcpService' 'dhcpSubnet' 'dhcpGroup') )
462 <p>I very much welcome clues on how to do this properly for Debian
463 Edu/Squeeze. We provide the DHCP schema in our debian-edu-config
464 package, and should thus be free to rewrite it as we see fit.
</p>
466 <p>If you want to help out with implementing this for Debian Edu,
467 please contact us on debian-edu@lists.debian.org.
</p>
473 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>.
477 <div class=
"padding"></div>
480 <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>
481 <div class=
"date">2010-
06-
16 14:
55</div>
483 <p>A few times I have had the need to simulate the way tasksel
484 installs packages during the normal debian-installer run. Until now,
485 I have ended up letting tasksel do the work, with the annoying problem
486 of not getting any feedback at all when something fails (like a
487 conffile question from dpkg or a download that fails), using code like
491 export DEBIAN_FRONTEND=noninteractive
492 tasksel --new-install
495 This would invoke tasksel, let its automatic task selection pick the
496 tasks to install, and continue to install the requested tasks without
497 any output what so ever.
499 Recently I revisited this problem while working on the automatic
500 package upgrade testing, because tasksel would some times hang without
501 any useful feedback, and I want to see what is going on when it
502 happen. Then it occured to me, I can parse the output from tasksel
503 when asked to run in test mode, and use that aptitude command line
504 printed by tasksel then to simulate the tasksel run. I ended up using
508 export DEBIAN_FRONTEND=noninteractive
509 cmd="$(in_target tasksel -t --new-install | sed 's/debconf-apt-progress -- //')"
513 <p>The content of $cmd is typically something like "
<tt>aptitude -q
514 --without-recommends -o APT::Install-Recommends=no -y install
515 ~t^desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired
516 ~pimportant
</tt>", which will install the gnome desktop task, the
517 laptop task and all packages with priority standard , required and
518 important, just like tasksel would have done it during
521 <p>A better approach is probably to extend tasksel to be able to
522 install packages without using debconf-apt-progress, for use cases
529 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>.
533 <div class="padding
"></div>
536 <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>
537 <div class="date
">2010-06-16 11:00</div>
539 <p><a href="http://www.dagbladet.no/
2010/
06/
16/nyheter/innenriks/streik/arbeidsliv/
12157858/
">Dagbladet
540 melder</a> at Vinmonopolet med bakgrunn i vekterstreiken som pågår i
541 Norge for tiden, har bestemt seg for med vitende og vilje å bryte
542 sentralbanklovens paragraf 14 ved å nekte folk å betale med
543 kontanter, og at flere butikker planlegger å følge deres eksempel.
544 Jeg synes det er hårreisende hvis de slipper unna med et slikt
545 soleklart lovbrudd, og lurer på hva slags muligheter jeg vil ha hvis
546 jeg blir nektet å handle med kontanter. Jeg handler i hovedsak med
547 kontanter selv, da jeg anser det som en borgerrett å kunne handle
548 anonymt uten at det blir registrert. For meg er det et angrep på mitt
549 personvern å nekte å ta imot kontant betaling.</p>
551 <p><a href="http://www.lovdata.no/all/tl-
19850524-
028-
003.html#
14">Paragrafen
552 i sentralbankloven</a> lyder:</p>
555 <p>§ 14. Tvungent betalingsmiddel</p>
557 <p>Bankens sedler og mynter er tvungent betalingsmiddel i Norge. Ingen
558 er pliktig til i én betaling å ta imot mer enn femogtyve mynter av
561 <p>Sterkt skadde sedler og mynter er ikke tvungent
562 betalingsmiddel. Banken gir nærmere forskrifter om erstatning for
563 bortkomne, brente eller skadde sedler og mynter.</p>
565 <p>Selv om en avtale inneholder klausul om betaling av en
566 pengeforpliktelse i gullverdi, kan skyldneren frigjøre seg med tvungne
567 betalingsmidler uten hensyn til denne klausul.</p>
570 <p>Det er med bakgrunn i denne lovet ikke tillatt å nekte å ta imot
571 kontakt betaling. Det er en lov jeg har sans for, og som jeg mener må
572 håndheves strengt.</p>
578 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>.
582 <div class="padding
"></div>
585 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html
">Officeshots taking shape</a></div>
586 <div class="date
">2010-06-13 11:40</div>
588 <p>For those of us caring about document exchange and
589 interoperability, <a href="http://www.officeshots.org/
">OfficeShots</a>
590 is a great service. It is to ODF documents what
591 <a href="http://browsershots.org/
">BrowserShots</a> is for web
594 <p>A while back, I was contacted by Knut Yrvin at the part of Nokia
595 that used to be Trolltech, who wanted to help the OfficeShots project
596 and wondered if the University of Oslo where I work would be
597 interested in supporting the project. I helped him to navigate his
598 request to the right people at work, and his request was answered with
599 a spot in the machine room with power and network connected, and Knut
600 arranged funding for a machine to fill the spot. The machine is
601 administrated by the OfficeShots people, so I do not have daily
602 contact with its progress, and thus from time to time check back to
603 see how the project is doing.</p>
605 <p>Today I had a look, and was happy to see that the Dell box in our
606 machine room now is the host for several virtual machines running as
607 OfficeShots factories, and the project is able to render ODF documents
608 in 17 different document processing implementation on Linux and
609 Windows. This is great.</p>
615 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>.
619 <div class="padding
"></div>
622 <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>
623 <div class="date
">2010-06-13 09:05</div>
626 <a href="http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html
">testing
627 of Debian upgrades</a> from Lenny to Squeeze continues, and I've
628 finally made the upgrade logs available from
629 <a href="http://people.skolelinux.org/pere/debian-upgrade-testing/
">http://people.skolelinux.org/pere/debian-upgrade-testing/</a>.
630 I am now testing dist-upgrade of Gnome and KDE in a chroot using both
631 apt and aptitude, and found their differences interesting. This time
632 I will only focus on their removal plans.</p>
634 <p>After installing a Gnome desktop and the laptop task, apt-get wants
635 to remove 72 packages when dist-upgrading from Lenny to Squeeze. The
636 surprising part is that it want to remove xorg and all
637 xserver-xorg-video* drivers. Clearly not a good choice, but I am not
638 sure why. When asking aptitude to do the same, it want to remove 129
639 packages, but most of them are library packages I suspect are no
640 longer needed. Both of them want to remove bluetooth packages, which
641 I do not know. Perhaps these bluetooth packages are obsolete?</p>
643 <p>For KDE, apt-get want to remove 82 packages, among them kdebase
644 which seem like a bad idea and xorg the same way as with Gnome. Asking
645 aptitude for the same, it wants to remove 192 packages, none which are
648 <p>I guess the removal of xorg during upgrades should be investigated
649 and avoided, and perhaps others as well. Here are the complete list
650 of planned removals. The complete logs is available from the URL
651 above. Note if you want to repeat these tests, that the upgrade test
652 for kde+apt-get hung in the tasksel setup because of dpkg asking
653 conffile questions. No idea why. I worked around it by using
654 '<tt>echo >> /proc/<em>pidofdpkg</em>/fd/0</tt>' to tell dpkg to
657 <p><b>apt-get gnome 72</b>
658 <br>bluez-gnome cupsddk-drivers deskbar-applet gnome
659 gnome-desktop-environment gnome-network-admin gtkhtml3.14
660 iceweasel-gnome-support libavcodec51 libdatrie0 libgdl-1-0
661 libgnomekbd2 libgnomekbdui2 libmetacity0 libslab0 libxcb-xlib0
662 nautilus-cd-burner python-gnome2-desktop python-gnome2-extras
663 serpentine swfdec-mozilla update-manager xorg xserver-xorg
664 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
665 xserver-xorg-input-kbd xserver-xorg-input-mouse
666 xserver-xorg-input-synaptics xserver-xorg-input-wacom
667 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
668 xserver-xorg-video-ati xserver-xorg-video-chips
669 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
670 xserver-xorg-video-dummy xserver-xorg-video-fbdev
671 xserver-xorg-video-glint xserver-xorg-video-i128
672 xserver-xorg-video-i740 xserver-xorg-video-imstt
673 xserver-xorg-video-intel xserver-xorg-video-mach64
674 xserver-xorg-video-mga xserver-xorg-video-neomagic
675 xserver-xorg-video-nsc xserver-xorg-video-nv
676 xserver-xorg-video-openchrome xserver-xorg-video-r128
677 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
678 xserver-xorg-video-rendition xserver-xorg-video-s3
679 xserver-xorg-video-s3virge xserver-xorg-video-savage
680 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
681 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
682 xserver-xorg-video-tga xserver-xorg-video-trident
683 xserver-xorg-video-tseng xserver-xorg-video-v4l
684 xserver-xorg-video-vesa xserver-xorg-video-vga
685 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9
686 xulrunner-1.9-gnome-support</p>
688 <p><b>aptitude gnome 129</b>
690 <br>bluez-gnome bluez-utils cpp-4.3 cupsddk-drivers dhcdbd
691 djvulibre-desktop finger gnome-app-install gnome-mount
692 gnome-network-admin gnome-spell gnome-vfs-obexftp
693 gnome-volume-manager gstreamer0.10-gnomevfs gtkhtml3.14 libao2
694 libavahi-compat-libdnssd1 libavahi-core5 libavcodec51 libbluetooth2
695 libcamel1.2-11 libcdio7 libcucul0 libcupsys2 libcurl3 libdatrie0
696 libdirectfb-1.0-0 libdvdread3 libedataserver1.2-9 libeel2-2.20
697 libeel2-data libepc-1.0-1 libepc-ui-1.0-1 libfaad0 libgail-common
698 libgd2-noxpm libgda3-3 libgda3-common libgdl-1-0 libgdl-1-common
699 libggz2 libggzcore9 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0
700 libgnomecups1.0-1 libgnomekbd2 libgnomekbdui2 libgnomeprint2.2-0
701 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
702 libgnomevfs2-bin libgpod3 libgraphviz4 libgtkhtml2-0
703 libgtksourceview-common libgtksourceview1.0-0 libgucharmap6
704 libhesiod0 libicu38 libiw29 libkpathsea4 libltdl3 libmagick++10
705 libmagick10 libmalaga7 libmetacity0 libmtp7 libmysqlclient15off
706 libnautilus-burn4 libneon27 libnm-glib0 libnm-util0 libopal-2.2
707 libosp5 libparted1.8-10 libpoppler-glib3 libpoppler3 libpt-1.10.10
708 libpt-1.10.10-plugins-alsa libpt-1.10.10-plugins-v4l libraw1394-8
709 libsensors3 libslab0 libsmbios2 libsoup2.2-8 libssh2-1
710 libsuitesparse-3.1.0 libswfdec-0.6-90 libtalloc1 libtotem-plparser10
711 libtrackerclient0 libxalan2-java libxalan2-java-gcj libxcb-xlib0
712 libxerces2-java libxerces2-java-gcj libxklavier12 libxtrap6
713 libxxf86misc1 libzephyr3 mysql-common nautilus-cd-burner
714 openoffice.org-writer2latex openssl-blacklist p7zip
715 python-4suite-xml python-eggtrayicon python-gnome2-desktop
716 python-gnome2-extras python-gtkhtml2 python-gtkmozembed
717 python-numeric python-sexy serpentine svgalibg1 swfdec-gnome
718 swfdec-mozilla totem-gstreamer update-manager wodim
719 xserver-xorg-video-cyrix xserver-xorg-video-imstt
720 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
723 <p><b>apt-get kde 82</b>
725 <br>cupsddk-drivers karm kaudiocreator kcoloredit kcontrol kde kde-core
726 kdeaddons kdeartwork kdebase kdebase-bin kdebase-bin-kde3
727 kdebase-kio-plugins kdesktop kdeutils khelpcenter kicker
728 kicker-applets knewsticker kolourpaint konq-plugins konqueror korn
729 kpersonalizer kscreensaver ksplash libavcodec51 libdatrie0 libkiten1
730 libxcb-xlib0 quanta superkaramba texlive-base-bin xorg xserver-xorg
731 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
732 xserver-xorg-input-kbd xserver-xorg-input-mouse
733 xserver-xorg-input-synaptics xserver-xorg-input-wacom
734 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
735 xserver-xorg-video-ati xserver-xorg-video-chips
736 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
737 xserver-xorg-video-dummy xserver-xorg-video-fbdev
738 xserver-xorg-video-glint xserver-xorg-video-i128
739 xserver-xorg-video-i740 xserver-xorg-video-imstt
740 xserver-xorg-video-intel xserver-xorg-video-mach64
741 xserver-xorg-video-mga xserver-xorg-video-neomagic
742 xserver-xorg-video-nsc xserver-xorg-video-nv
743 xserver-xorg-video-openchrome xserver-xorg-video-r128
744 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
745 xserver-xorg-video-rendition xserver-xorg-video-s3
746 xserver-xorg-video-s3virge xserver-xorg-video-savage
747 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
748 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
749 xserver-xorg-video-tga xserver-xorg-video-trident
750 xserver-xorg-video-tseng xserver-xorg-video-v4l
751 xserver-xorg-video-vesa xserver-xorg-video-vga
752 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9</p>
754 <p><b>aptitude kde 192</b>
755 <br>bluez-utils cpp-4.3 cupsddk-drivers cvs dcoprss dhcdbd
756 djvulibre-desktop dosfstools eyesapplet fifteenapplet finger gettext
757 ghostscript-x imlib-base imlib11 indi kandy karm kasteroids
758 kaudiocreator kbackgammon kbstate kcoloredit kcontrol kcron kdat
759 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
760 kdebase-bin-kde3 kdebase-kio-plugins kdeedu-data
761 kdegraphics-kfile-plugins kdelirc kdemultimedia-kappfinder-data
762 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
763 kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh
764 kdict kdnssd kdvi kedit keduca kenolaba kfax kfaxview kfouleggs
765 kghostview khelpcenter khexedit kiconedit kitchensync klatin
766 klickety kmailcvt kmenuedit kmid kmilo kmoon kmrml kodo kolourpaint
767 kooka korn kpager kpdf kpercentage kpf kpilot kpoker kpovmodeler
768 krec kregexpeditor ksayit ksim ksirc ksirtet ksmiletris ksmserver
769 ksnake ksokoban ksplash ksvg ksysv ktip ktnef kuickshow kverbos
770 kview kviewshell kvoctrain kwifimanager kwin kwin4 kworldclock
771 kxsldbg libakode2 libao2 libarts1-akode libarts1-audiofile
772 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
773 libavahi-core5 libavc1394-0 libavcodec51 libbluetooth2
774 libboost-python1.34.1 libcucul0 libcurl3 libcvsservice0 libdatrie0
775 libdirectfb-1.0-0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
776 libgail-common libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-0
777 libicu38 libiec61883-0 libindex0 libiw29 libk3b3 libkcal2b libkcddb1
778 libkdeedu3 libkdepim1a libkgantt0 libkiten1 libkleopatra1 libkmime2
779 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
780 libksieve0 libktnef1 liblockdev1 libltdl3 libmagick10 libmimelib1c2a
781 libmozjs1d libmpcdec3 libneon27 libnm-util0 libopensync0 libpisock9
782 libpoppler-glib3 libpoppler-qt2 libpoppler3 libraw1394-8 libsmbios2
783 libssh2-1 libsuitesparse-3.1.0 libtalloc1 libtiff-tools
784 libxalan2-java libxalan2-java-gcj libxcb-xlib0 libxerces2-java
785 libxerces2-java-gcj libxtrap6 mpeglib networkstatus
786 openoffice.org-writer2latex pmount poster psutils quanta quanta-data
787 superkaramba svgalibg1 tex-common texlive-base texlive-base-bin
788 texlive-common texlive-doc-base texlive-fonts-recommended
789 xserver-xorg-video-cyrix xserver-xorg-video-imstt
790 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
798 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>.
802 <div class="padding
"></div>
805 <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>
806 <div class="date
">2010-06-12 12:45</div>
808 <p>Veldig glad for å oppdage via
809 <a href="http://yro.slashdot.org/story/
10/
06/
11/
1841256/Finland-To-Legalize-Use-of-Unsecured-Wi-Fi
">Slashdot</a>
810 at folk i Finland har forstått at åpne trådløsnett er et samfunnsgode.
811 Jeg ser på åpne trådløsnett som et fellesgode på linje med retten til
812 ferdsel i utmark og retten til å bevege seg i strandsonen. Jeg har
813 glede av åpne trådløsnett når jeg finner dem, og deler gladelig nett
814 med andre så lenge de ikke forstyrrer min bruk av eget nett.
815 Nettkapasiteten er sjelden en begrensning ved normal browsing og enkel
816 SSH-innlogging (som er min vanligste nettbruk), og nett kan brukes til
817 så mye positivt og nyttig (som nyhetslesing, sjekke været, kontakte
818 slekt og venner, holde seg oppdatert om politiske saker, kontakte
819 organisasjoner og politikere, etc), at det for meg er helt urimelig å
820 blokkere dette for alle som ikke gjør en flue fortred. De som mener
821 at potensialet for misbruk er grunn nok til å hindre all den positive
822 og lovlydige bruken av et åpent trådløsnett har jeg dermed ingen
823 forståelse for. En kan ikke eksistensen av forbrytere styre hvordan
824 samfunnet skal organiseres. Da får en et kontrollsamfunn de færreste
825 ønsker å leve i, og det at vi har et samfunn i Norge der tilliten til
826 hverandre er høy gjør at samfunnet fungerer ganske godt. Det bør vi
827 anstrenge oss for å beholde.</p>
833 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>.
837 <div class="padding
"></div>
839 <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>
853 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
01/
">January (2)</a></li>
855 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
02/
">February (1)</a></li>
857 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
03/
">March (3)</a></li>
859 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
04/
">April (3)</a></li>
861 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
05/
">May (9)</a></li>
863 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
06/
">June (14)</a></li>
865 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
07/
">July (3)</a></li>
872 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
01/
">January (8)</a></li>
874 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
02/
">February (8)</a></li>
876 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
03/
">March (12)</a></li>
878 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
04/
">April (10)</a></li>
880 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
05/
">May (9)</a></li>
882 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
06/
">June (3)</a></li>
884 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
07/
">July (4)</a></li>
886 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
08/
">August (3)</a></li>
888 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
09/
">September (1)</a></li>
890 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
10/
">October (2)</a></li>
892 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
11/
">November (3)</a></li>
894 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
12/
">December (3)</a></li>
901 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2008/
11/
">November (5)</a></li>
903 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2008/
12/
">December (7)</a></li>
914 <li><a href="http://people.skolelinux.org/pere/blog/tags/
3d-printer
">3d-printer (11)</a></li>
916 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga
">amiga (1)</a></li>
918 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros
">aros (1)</a></li>
920 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem
">bootsystem (10)</a></li>
922 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian
">debian (30)</a></li>
924 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu
">debian edu (30)</a></li>
926 <li><a href="http://people.skolelinux.org/pere/blog/tags/english
">english (43)</a></li>
928 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami
">fiksgatami (1)</a></li>
930 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling
">fildeling (7)</a></li>
932 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart
">kart (2)</a></li>
934 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap
">ldap (4)</a></li>
936 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker
">lenker (1)</a></li>
938 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp
">ltsp (1)</a></li>
940 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia
">multimedia (5)</a></li>
942 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk
">norsk (70)</a></li>
944 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug (80)</a></li>
946 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett
">opphavsrett (13)</a></li>
948 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern
">personvern (13)</a></li>
950 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap
">reprap (10)</a></li>
952 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss
">rss (1)</a></li>
954 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet
">sikkerhet (9)</a></li>
956 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary
">sitesummary (3)</a></li>
958 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard
">standard (13)</a></li>
960 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll
">stavekontroll (1)</a></li>
962 <li><a href="http://people.skolelinux.org/pere/blog/tags/video
">video (10)</a></li>
964 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap
">vitenskap (1)</a></li>
966 <li><a href="http://people.skolelinux.org/pere/blog/tags/web
">web (6)</a></li>
972 <p style="text-align: right
">
973 Created by <a href="http://steve.org.uk/Software/chronicle
">Chronicle v3.7</a>