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