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: Entries Tagged english
</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=
"english.rss" type=
"application/rss+xml">
13 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
19 <p>Entries tagged "english".
</p>
26 <a href=
"http://people.skolelinux.org/pere/blog/The_sorry_state_of_multimedia_browser_plugins_in_Debian.html">The sorry state of multimedia browser plugins in Debian
</a>
34 <p>Recently I have spent some time evaluating the multimedia browser
35 plugins available in Debian Lenny, to see which one we should use by
36 default in Debian Edu. We need an embedded video playing plugin with
37 control buttons to pause or stop the video, and capable of streaming
38 all the multimedia content available on the web. The test results and
39 notes are available on
40 <a href=
"http://wiki.debian.org/DebianEdu/BrowserMultimedia">the
41 Debian wiki
</a>. I was surprised how few of the plugins are able to
42 fill this need. My personal video player favorite, VLC, has a really
43 bad plugin which fail on a lot of the test pages. A lot of the MIME
44 types I would expect to work with any free software player (like
45 video/ogg), just do not work. And simple formats like the
46 audio/x-mplegurl format (m3u playlists), just isn't supported by the
47 totem and vlc plugins. I hope the situation will improve soon. No
48 wonder sites use the proprietary Adobe flash to play video.
</p>
50 <p>For Lenny, we seem to end up with the mplayer plugin. It seem to
51 be the only one fitting our needs. :/
</p>
58 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/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
62 <div class=
"padding"></div>
66 <a href=
"http://people.skolelinux.org/pere/blog/Devcamp_brought_us_closer_to_the_Lenny_based_Debian_Edu_release.html">Devcamp brought us closer to the Lenny based Debian Edu release
</a>
74 <p>This weekend we had a small developer gathering for Debian Edu in
75 Oslo. Most of Saturday was used for the general assemly for the
76 member organization, but the rest of the weekend I used to tune the
77 LTSP installation. LTSP now work out of the box on the
10-network.
78 Acer Aspire One proved to be a very nice thin client, with both
79 screen, mouse and keybard in a small box. Was working on getting the
80 diskless workstation setup configured out of the box, but did not
81 finish it before the weekend was up.
</p>
83 <p>Did not find time to look at the
4 VGA cards in one box we got from
84 the Brazilian group, so that will have to wait for the next
85 development gathering. Would love to have the Debian Edu installer
86 automatically detect and configure a multiseat setup when it find one
94 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/ltsp">ltsp
</a>.
98 <div class=
"padding"></div>
102 <a href=
"http://people.skolelinux.org/pere/blog/Software_video_mixer_on_a_USB_stick.html">Software video mixer on a USB stick
</a>
110 <p>The
<a href=
"http://www.nuug.no/">Norwegian Unix User Group
</a> is
111 recording our montly presentation on video, and recently we have
112 worked on improving the quality of the recordings by mixing the slides
113 directly with the video stream. For this, we use the
114 <a href=
"http://dvswitch.alioth.debian.org/">dvswitch
</a> package from
115 the Debian video team. As this require quite one computer per video
116 source, and NUUG do not have enough laptops available, we need to
117 borrow laptops. And to avoid having to install extra software on
118 these borrwed laptops, I have wrapped up all the programs needed on a
119 bootable USB stick. The software required is dvswitch with assosiated
120 source, sink and mixer applications and
121 <a href=
"http://www.kinodv.org/">dvgrab
</a>. To allow this setup to
122 work without any configuration, I've patched dvswitch to use
123 <a href=
"http://www.avahi.org/">avahi
</a> to connect the various parts
124 together. And to allow us to use laptops without firewire plugs, I
125 upgraded dvgrab to the one from Debian/unstable to get one that work
126 with USB sources. We have not yet tested this setup in a production
127 setup, but I hope it will work properly, and allow us to set up a
128 video mixer in a very short time frame. We will need it for
129 <a href=
"http://www.goopen.no/">Go Open
2009</a>.
</p>
131 <p><a href=
"http://www.nuug.no/pub/video/bin/usbstick-dvswitch.img.gz">The
132 USB image
</a> is for a
1 GB memory stick, but can be used on any
133 larger stick as well.
</p>
140 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
144 <div class=
"padding"></div>
148 <a href=
"http://people.skolelinux.org/pere/blog/When_web_browser_developers_make_a_video_player___.html">When web browser developers make a video player...
</a>
156 <p>As part of the work we do in
<a href=
"http://www.nuug.no">NUUG
</a>
157 to publish video recordings of our monthly presentations, we provide a
158 page with embedded video for easy access to the recording. Putting a
159 good set of HTML tags together to get working embedded video in all
160 browsers and across all operating systems is not easy. I hope this
161 will become easier when the
<video
> tag is implemented in all
162 browsers, but I am not sure. We provide the recordings in several
163 formats, MPEG1, Ogg Theora, H
.264 and Quicktime, and want the
164 browser/media plugin to pick one it support and use it to play the
165 recording, using whatever embed mechanism the browser understand.
166 There is at least four different tags to use for this, the new HTML5
167 <video
> tag, the
<object
> tag, the
<embed
> tag and
168 the
<applet
> tag. All of these take a lot of options, and
169 finding the best options is a major challenge.
</p>
171 <p>I just tested the experimental Opera browser available from
<a
172 href=
"http://labs.opera.com">labs.opera.com
</a>, to see how it handled
173 a
<video
> tag with a few video sources and no extra attributes.
174 I was not very impressed. The browser start by fetching a picture
175 from the video stream. Not sure if it is the first frame, but it is
176 definitely very early in the recording. So far, so good. Next,
177 instead of streaming the
76 MiB video file, it start to download all
178 of it, but do not start to play the video. This mean I have to wait
179 for several minutes for the downloading to finish. When the download
180 is done, the playing of the video do not start! Waiting for the
181 download, but I do not get to see the video? Some testing later, I
182 discover that I have to add the
controls="true" attribute to be able
183 to get a play button to pres to start the video. Adding
184 autoplay="true" did not help. I sure hope this is a misfeature of the
185 test version of Opera, and that future implementations of the
186 <video
> tag will stream recordings by default, or at least start
187 playing when the download is done.
</p>
189 <p>The test page I used (since changed to add more attributes) is
190 <a href=
"http://www.nuug.no/aktiviteter/20090113-foredrag-om-foredrag/">available
191 from the nuug site
</a>. Will have to test it with the new Firefox
194 <p>In the test process, I discovered a missing feature. I was unable
195 to find a way to get the URL of the playing video out of Opera, so I
196 am not quite sure it picked the Ogg Theora version of the video. I
197 sure hope it was using the announced Ogg Theora support. :)
</p>
204 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
208 <div class=
"padding"></div>
212 <a href=
"http://people.skolelinux.org/pere/blog/Using_bar_codes_at_a_computing_center.html">Using bar codes at a computing center
</a>
220 <p>At work with the University of Oslo, we have several hundred computers
221 in our computing center. This give us a challenge in tracking the
222 location and cabling of the computers, when they are added, moved and
223 removed. Some times the location register is not updated when a
224 computer is inserted or moved and we then have to search the room for
225 the "missing" computer.
</p>
227 <p>In the last issue of Linux Journal, I came across a project
228 <a href=
"http://www.libdmtx.org/">libdmtx
</a> to write and read bar
229 code blocks as defined in the
230 <a href=
"http://en.wikipedia.org/wiki/Data_Matrix">The Data Matrix
231 Standard
</a>. This is bar codes that can be read with a normal
232 digital camera, for example that on a cell phone, and several such bar
233 codes can be read by libdmtx from one picture. The bar code standard
234 allow up to
2 KiB to be written in the tag. There is another project
235 with
<a href=
"http://www.terryburton.co.uk/barcodewriter/">a bar code
236 writer written in postscript
</a> capable of creating such bar codes,
237 but this was the first time I found a tool to read these bar
240 <p>It occurred to me that this could be used to tag and track the
241 machines in our computing center. If both racks and computers are
242 tagged this way, we can use a picture of the rack and all its
243 computers to detect the rack location of any computer in that rack.
244 If we do this regularly for the entire room, we will find all
245 locations, and can detect movements and removals.
</p>
247 <p>I decided to test if this would work in practice, and picked a
248 random rack and tagged all the machines with their names. Next, I
249 took pictures with my digital camera, and gave the dmtxread program
250 these JPEG pictures to see how many tags it could read. This worked
251 fairly well. If the pictures was well focused and not taken from the
252 side, all tags in the image could be read. Because of limited space
253 between the racks, I was unable to get a good picture of the entire
254 rack, but could without problem read all tags from a picture covering
255 about half the rack. I had to limit the search time used by dmtxread
256 to
60000 ms to make sure it terminated in a reasonable time frame.
</p>
258 <p>My conclusion is that this could work, and we should probably look
259 at adjusting our computer tagging procedures to use bar codes for
260 easier automatic tracking of computers.
</p>
267 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>.
271 <div class=
"padding"></div>
275 <a href=
"http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html">Checking server hardware support status for Dell, HP and IBM servers
</a>
283 <p>At work, we have a few hundred Linux servers, and with that amount
284 of hardware it is important to keep track of when the hardware support
285 contract expire for each server. We have a machine (and service)
286 register, which until recently did not contain much useful besides the
287 machine room location and contact information for the system owner for
288 each machine. To make it easier for us to track support contract
289 status, I've recently spent time on extending the machine register to
290 include information about when the support contract expire, and to tag
291 machines with expired contracts to make it easy to get a list of such
292 machines. I extended a perl script already being used to import
293 information about machines into the register, to also do some screen
294 scraping off the sites of Dell, HP and IBM (our majority of machines
295 are from these vendors), and automatically check the support status
296 for the relevant machines. This make the support status information
297 easily available and I hope it will make it easier for the computer
298 owner to know when to get new hardware or renew the support contract.
299 The result of this work documented that
27% of the machines in the
300 registry is without a support contract, and made it very easy to find
301 them.
27% might seem like a lot, but I see it more as the case of us
302 using machines a bit longer than the
3 years a normal support contract
303 last, to have test machines and a platform for less important
304 services. After all, the machines without a contract are working fine
305 at the moment and the lack of contract is only a problem if any of
306 them break down. When that happen, we can either fix it using spare
307 parts from other machines or move the service to another old
310 <p>I believe the code for screen scraping the Dell site was originally
311 written by Trond Hasle Amundsen, and later adjusted by me and Morten
312 Werner Forsbring. The HP scraping was written by me after reading a
313 nice article in ;login: about how to use WWW::Mechanize, and the IBM
314 scraping was written by me based on the Dell code. I know the HTML
315 parsing could be done using nice libraries, but did not want to
316 introduce more dependencies. This is the current incarnation:
</p>
324 sub get_support_info {
325 my ($machine, $model, $serial, $productnumber) = @_;
328 if ( $model =~ m/^Dell / ) {
329 # fetch website from Dell support
330 my $url = "http://support.euro.dell.com/support/topics/topic.aspx/emea/shared/support/my_systems_info/no/details?c=no
&cs=nodhs1
&l=no
&s=dhs
&ServiceTag=$serial";
331 my $webpage = get($url);
332 return undef unless ($webpage);
335 my @lines = split(/\n/, $webpage);
336 foreach my $line (@lines) {
337 next unless ($line =~ m/Beskrivelse/);
338 $line =~ s/
<[^
>]+
?>/;/gm;
339 $line =~ s/^.+?;(Beskrivelse;)/$
1/;
341 my @f = split(/\;/, $line);
344 while ($f[
3] eq "DELL") {
345 my ($type, $startstr, $endstr, $days) = @f[
0,
5,
7,
10];
347 my $start = POSIX::strftime("%Y-%m-%d",
348 localtime(str2time($startstr)));
349 my $end = POSIX::strftime("%Y-%m-%d",
350 localtime(str2time($endstr)));
351 $str .= "$type $start -
> $end ";
353 $lastend = $end if ($end gt $lastend);
355 my $today = POSIX::strftime("%Y-%m-%d", localtime(time));
356 tag_machine_unsupported($machine)
357 if ($lastend lt $today);
359 } elsif ( $model =~ m/^HP / ) {
360 my $mech = WWW::Mechanize-
>new();
362 'http://www1.itrc.hp.com/service/ewarranty/warrantyInput.do';
365 'BODServiceID' =
> 'NA',
366 'RegisteredPurchaseDate' =
> '',
368 'productNumber' =
> $productnumber,
369 'serialNumber1' =
> $serial,
371 $mech-
>submit_form( form_number =
> 2,
373 # Next step is screen scraping
374 my $content = $mech-
>content();
376 $content =~ s/
<[^
>]+
?>/;/gm;
377 $content =~ s/\s+/ /gm;
378 $content =~ s/;\s*;/;;/gm;
379 $content =~ s/;[\s;]+/;/gm;
381 my $today = POSIX::strftime("%Y-%m-%d", localtime(time));
383 while ($content =~ m/;Warranty Type;/) {
384 my ($type, $status, $startstr, $stopstr) = $content =~
385 m/;Warranty Type;([^;]+);.+?;Status;(\w+);Start Date;([^;]+);End Date;([^;]+);/;
386 $content =~ s/^.+?;Warranty Type;//;
387 my $start = POSIX::strftime("%Y-%m-%d",
388 localtime(str2time($startstr)));
389 my $end = POSIX::strftime("%Y-%m-%d",
390 localtime(str2time($stopstr)));
392 $str .= "$type ($status) $start -
> $end ";
394 tag_machine_unsupported($machine)
397 } elsif ( $model =~ m/^IBM / ) {
398 # This code ignore extended support contracts.
399 my ($producttype) = $model =~ m/.*-\[(.{
4}).+\]-/;
400 if ($producttype
&& $serial) {
402 get("http://www-
947.ibm.com/systems/support/supportsite.wss/warranty?action=warranty
&brandind=
5000008&Submit=Submit
&type=$producttype
&serial=$serial");
404 $content =~ s/
<[^
>]+
?>/;/gm;
405 $content =~ s/\s+/ /gm;
406 $content =~ s/;\s*;/;;/gm;
407 $content =~ s/;[\s;]+/;/gm;
409 $content =~ s/^.+?;Warranty status;//;
410 my ($status, $end) = $content =~ m/;Warranty status;([^;]+)\s*;Expiration date;(\S+) ;/;
412 $str .= "($status) -
> $end ";
414 my $today = POSIX::strftime("%Y-%m-%d", localtime(time));
415 tag_machine_unsupported($machine)
424 <p>Here are some examples on how to use the function, using fake
425 serial numbers. The information passed in as arguments are fetched
429 print get_support_info("hp.host", "HP ProLiant BL460c G1", "
1234567890"
431 print get_support_info("dell.host", "Dell Inc. PowerEdge
2950", "
1234567");
432 print get_support_info("ibm.host", "IBM eserver xSeries
345 -[
867061X]-",
436 <p>I would recommend this approach for tracking support contracts for
437 everyone with more than a few computers to administer. :)
</p>
439 <p>Update
2009-
03-
06: The IBM page do not include extended support
440 contracts, so it is useless in that case. The original Dell code do
441 not handle extended support contracts either, but has been updated to
449 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>.
453 <div class=
"padding"></div>
457 <a href=
"http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html">Time for new LDAP schemas replacing RFC
2307?
</a>
465 <p>The state of standardized LDAP schemas on Linux is far from
466 optimal. There is RFC
2307 documenting one way to store NIS maps in
467 LDAP, and a modified version of this normally called RFC
2307bis, with
468 some modifications to be compatible with Active Directory. The RFC
469 specification handle the content of a lot of system databases, but do
470 not handle DNS zones and DHCP configuration.
</p>
472 <p>In
<a href=
"http://www.skolelinux.org/">Debian Edu/Skolelinux
</a>,
473 we would like to store information about users, SMB clients/hosts,
474 filegroups, netgroups (users and hosts), DHCP and DNS configuration,
475 and LTSP configuration in LDAP. These objects have a lot in common,
476 but with the current LDAP schemas it is not possible to have one
477 object per entity. For example, one need to have at least three LDAP
478 objects for a given computer, one with the SMB related stuff, one with
479 DNS information and another with DHCP information. The schemas
480 provided for DNS and DHCP are impossible to combine into one LDAP
481 object. In addition, it is impossible to implement quick queries for
482 netgroup membership, because of the way NIS triples are implemented.
483 It just do not scale. I believe it is time for a few RFC
484 specifications to cleam up this mess.
</p>
486 <p>I would like to have one LDAP object representing each computer in
487 the network, and this object can then keep the SMB (ie host key), DHCP
488 (mac address/name) and DNS (name/IP address) settings in one place.
489 It need to be efficently stored to make sure it scale well.
</p>
491 <p>I would also like to have a quick way to map from a user or
492 computer and to the net group this user or computer is a member.
</p>
494 <p>Active Directory have done a better job than unix heads like myself
495 in this regard, and the unix side need to catch up. Time to start a
496 new IETF work group?
</p>
503 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>.
507 <div class=
"padding"></div>
511 <a href=
"http://people.skolelinux.org/pere/blog/Returning_from_Skolelinux_developer_gathering.html">Returning from Skolelinux developer gathering
</a>
519 <p>I'm sitting on the train going home from this weekends Debian
520 Edu/Skolelinux development gathering. I got a bit done tuning the
521 desktop, and looked into the dynamic service location protocol
522 implementation avahi. It look like it could be useful for us. Almost
523 30 people participated, and I believe it was a great environment to
524 get to know the Skolelinux system. Walter Bender, involved in the
525 development of the Sugar educational platform, presented his stuff and
526 also helped me improve my OLPC installation. He also showed me that
527 his Turtle Art application can be used in standalone mode, and we
528 agreed that I would help getting it packaged for Debian. As a
529 standalone application it would be great for Debian Edu. We also
530 tried to get the video conferencing working with two OLPCs, but that
531 proved to be too hard for us. The application seem to need more work
532 before it is ready for me. I look forward to getting home and relax
540 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/nuug">nuug
</a>.
544 <div class=
"padding"></div>
548 <a href=
"http://people.skolelinux.org/pere/blog/Standardize_on_protocols_and_formats__not_vendors_and_applications.html">Standardize on protocols and formats, not vendors and applications
</a>
556 <p>Where I work at the University of Oslo, one decision stand out as a
557 very good one to form a long lived computer infrastructure. It is the
558 simple one, lost by many in todays computer industry: Standardize on
559 open network protocols and open exchange/storage formats, not applications.
560 Applications come and go, while protocols and files tend to stay, and
561 thus one want to make it easy to change application and vendor, while
562 avoiding conversion costs and locking users to a specific platform or
565 <p>This approach make it possible to replace the client applications
566 independently of the server applications. One can even allow users to
567 use several different applications as long as they handle the selected
568 protocol and format. In the normal case, only one client application
569 is recommended and users only get help if they choose to use this
570 application, but those that want to deviate from the easy path are not
571 blocked from doing so.
</p>
573 <p>It also allow us to replace the server side without forcing the
574 users to replace their applications, and thus allow us to select the
575 best server implementation at any moment, when scale and resouce
576 requirements change.
</p>
578 <p>I strongly recommend standardizing - on open network protocols and
579 open formats, but I would never recommend standardizing on a single
580 application that do not use open network protocol or open formats.
</p>
587 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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard
</a>.
591 <div class=
"padding"></div>
595 <a href=
"http://people.skolelinux.org/pere/blog/Recording_video_from_cron_using_VLC.html">Recording video from cron using VLC
</a>
603 <p>One think I have wanted to figure out for a along time is how to
604 run vlc from cron to do recording of video streams on the net. The
605 task is trivial with mplayer, but I do not really trust the security
606 of mplayer (it crashes too often on strange input), and thus prefer
607 vlc. I finally found a way to do it today. I spent an hour or so
608 searching the web for recipes and reading the documentation. The
609 hardest part was to get rid of the GUI window, but after finding the
610 dummy interface, the command line finally presented itself:
</p>
612 <blockquote><pre>URL=http://www.ping.uio.no/video/rms-oslo_2009.ogg
614 DISPLAY= vlc -q $URL \
615 --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \
616 --intf=dummy
</pre></blockquote>
618 <p>The command stream the URL and store it in the SAVEFILE by
619 duplicating the output stream to "nodisplay" and the file, using the
620 dummy interface. The dummy interface and the nodisplay output make
621 sure no X interface is needed.
</p>
623 <p>The cron job then need to start this job with the appropriate URL
624 and file name to save, sleep for the duration wanted, and then kill
625 the vlc process with SIGTERM. Here is a complete script
626 <tt>vlc-record
</tt> to use from
<tt>at
</tt> or
<tt>cron
</tt>:
</p>
628 <blockquote><pre>#!/bin/sh
633 DISPLAY= vlc -q "$URL" \
634 --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \
635 --intf=dummy < /dev/null
> /dev/null
2>&
1 &
639 wait $pid
</pre></blockquote>
646 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
650 <div class=
"padding"></div>
654 <a href=
"http://people.skolelinux.org/pere/blog/No_patch_is_not_better_than_a_useless_patch.html">No patch is not better than a useless patch
</a>
663 <a href=
"http://blog.technologeek.org/2009/04/12/214">claim that no
664 patch is better than a useless patch
</a>. I completely disagree, as a
665 patch allow one to discuss a concrete and proposed solution, and also
666 prove that the issue at hand is important enough for someone to spent
667 time on fixing it. No patch do not provide any of these positive
675 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>.
679 <div class=
"padding"></div>
683 <a href=
"http://people.skolelinux.org/pere/blog/Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html">Two projects that have improved the quality of free software a lot
</a>
691 <p>There are two software projects that have had huge influence on the
692 quality of free software, and I wanted to mention both in case someone
693 do not yet know them.
</p>
695 <p>The first one is
<a href=
"http://valgrind.org/">valgrind
</a>, a
696 tool to detect and expose errors in the memory handling of programs.
697 It is easy to use, all one need to do is to run 'valgrind program',
698 and it will report any problems on stdout. It is even better if the
699 program include debug information. With debug information, it is able
700 to report the source file name and line number where the problem
701 occurs. It can report things like 'reading past memory block in file
702 X line N, the memory block was allocated in file Y, line M', and
703 'using uninitialised value in control logic'. This tool has made it
704 trivial to investigate reproducible crash bugs in programs, and have
705 reduced the number of this kind of bugs in free software a lot.
708 <a href=
"http://en.wikipedia.org/wiki/Coverity">Coverity
</a> which is
709 a source code checker. It is able to process the source of a program
710 and find problems in the logic without running the program. It
711 started out as the Stanford Checker and became well known when it was
712 used to find bugs in the Linux kernel. It is now a commercial tool
713 and the company behind it is running
714 <a href=
"http://www.scan.coverity.com/">a community service
</a> for the
715 free software community, where a lot of free software projects get
716 their source checked for free. Several thousand defects have been
717 found and fixed so far. It can find errors like 'lock L taken in file
718 X line N is never released if exiting in line M', or 'the code in file
719 Y lines O to P can never be executed'. The projects included in the
720 community service project have managed to get rid of a lot of
721 reliability problems thanks to Coverity.
</p>
723 <p>I believe tools like this, that are able to automatically find
724 errors in the source, are vital to improve the quality of software and
725 make sure we can get rid of the crashing and failing software we are
726 surrounded by today.
</p>
733 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>.
737 <div class=
"padding"></div>
741 <a href=
"http://people.skolelinux.org/pere/blog/Debian_boots_quicker_and_quicker.html">Debian boots quicker and quicker
</a>
749 <p>I spent Monday and tuesday this week in London with a lot of the
750 people involved in the boot system on Debian and Ubuntu, to see if we
751 could find more ways to speed up the boot system. This was an Ubuntu
753 <a href=
"https://wiki.ubuntu.com/FoundationsTeam/BootPerformance/DebianUbuntuSprint">developer
754 gathering
</a>. It was quite productive. We also discussed the future
755 of boot systems, and ways to handle the increasing number of boot
756 issues introduced by the Linux kernel becoming more and more
757 asynchronous and event base. The Ubuntu approach using udev and
758 upstart might be a good way forward. Time will show.
</p>
760 <p>Anyway, there are a few ways at the moment to speed up the boot
761 process in Debian. All of these should be applied to get a quick
766 <li>Use dash as /bin/sh.
</li>
768 <li>Disable the init.d/hwclock*.sh scripts and make sure the hardware
769 clock is in UTC.
</li>
771 <li>Install and activate the insserv package to enable
772 <a href=
"http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
773 based boot sequencing
</a>, and enable concurrent booting.
</li>
777 These points are based on the Google summer of code work done by
778 <a href=
"http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/">Carlos
781 <p>Support for makefile-style concurrency during boot was uploaded to
782 unstable yesterday. When we tested it, we were able to cut
6 seconds
783 from the boot sequence. It depend on very correct dependency
784 declaration in all init.d scripts, so I expect us to find edge cases
785 where the dependences in some scripts are slightly wrong when we start
788 <p>On our IRC channel for this effort, #pkg-sysvinit, a new idea was
789 introduced by Raphael Geissert today, one that could affect the
790 startup speed as well. Instead of starting some scripts concurrently
791 from rcS.d/ and another set of scripts from rc2.d/, it would be
792 possible to run a of them in the same process. A quick way to test
793 this would be to enable insserv and run 'mv /etc/rc2.d/S* /etc/rcS.d/;
794 insserv'. Will need to test if that work. :)
</p>
801 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>.
805 <div class=
"padding"></div>
809 <a href=
"http://people.skolelinux.org/pere/blog/Taking_over_sysvinit_development.html">Taking over sysvinit development
</a>
817 <p>After several years of frustration with the lack of activity from
818 the existing sysvinit upstream developer, I decided a few weeks ago to
819 take over the package and become the new upstream. The number of
820 patches to track for the Debian package was becoming a burden, and the
821 lack of synchronization between the distribution made it hard to keep
822 the package up to date.
</p>
824 <p>On the new sysvinit team is the SuSe maintainer Dr. Werner Fink,
825 and my Debian co-maintainer Kel Modderman. About
10 days ago, I made
826 a new upstream tarball with version number
2.87dsf (for Debian, SuSe
827 and Fedora), based on the patches currently in use in these
828 distributions. We Debian maintainers plan to move to this tarball as
829 the new upstream as soon as we find time to do the merge. Since the
830 new tarball was created, we agreed with Werner at SuSe to make a new
831 upstream project at
<a href=
"http://savannah.nongnu.org/">Savannah
</a>, and continue
832 development there. The project is registered and currently waiting
833 for approval by the Savannah administrators, and as soon as it is
834 approved, we will import the old versions from svn and continue
835 working on the future release.
</p>
837 <p>It is a bit ironic that this is done now, when some of the involved
838 distributions are moving to upstart as a syvinit replacement.
</p>
845 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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>.
849 <div class=
"padding"></div>
853 <a href=
"http://people.skolelinux.org/pere/blog/Debian_has_switched_to_dependency_based_boot_sequencing.html">Debian has switched to dependency based boot sequencing
</a>
861 <p>Since this evening, with the upload of sysvinit version
2.87dsf-
2,
862 and the upload of insserv version
1.12.0-
10 yesterday, Debian unstable
863 have been migrated to using dependency based boot sequencing. This
864 conclude work me and others have been doing for the last three days.
865 It feels great to see this finally part of the default Debian
866 installation. Now we just need to weed out the last few problems that
867 are bound to show up, to get everything ready for Squeeze.
</p>
869 <p>The next step is migrating /sbin/init from sysvinit to upstart, and
870 fixing the more fundamental problem of handing the event based
871 non-predictable kernel in the early boot.
</p>
878 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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>.
882 <div class=
"padding"></div>
886 <a href=
"http://people.skolelinux.org/pere/blog/ISO_still_hope_to_fix_OOXML.html">ISO still hope to fix OOXML
</a>
895 href=
"http://twerner.blogspot.com/2009/08/defects-of-office-open-xml.html">a
896 blog post from Torsten Werner
</a>, the current defect report for ISO
897 29500 (ISO OOXML) is
809 pages. His interesting point is that the
898 defect report is
71 pages more than the full ODF
1.1 specification.
899 Personally I find it more interesting that ISO still believe ISO OOXML
900 can be fixed in ISO. Personally, I believe it is broken beyon repair,
901 and I completely lack any trust in ISO for being able to get anywhere
902 close to solving the problems. I was part of the Norwegian committee
903 involved in the OOXML fast track process, and was not impressed with
904 Standard Norway and ISO in how they handled it.
</p>
906 <p>These days I focus on ODF instead, which seem like a specification
907 with the future ahead of it. We are working in NUUG to organise a ODF
908 seminar this autumn.
</p>
915 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard
</a>.
919 <div class=
"padding"></div>
923 <a href=
"http://people.skolelinux.org/pere/blog/Relative_popularity_of_document_formats__MS_Office_vs__ODF_.html">Relative popularity of document formats (MS Office vs. ODF)
</a>
931 <p>Just for fun, I did a search right now on Google for a few file ODF
932 and MS Office based formats (not to be mistaken for ISO or ECMA
933 OOXML), to get an idea of their relative usage. I searched using
934 'filetype:odt' and equvalent terms, and got these results:
</P>
937 <tr><th>Type
</th><th>ODF
</th><th>MS Office
</th></tr>
938 <tr><td>Tekst
</td> <td>odt:
282000</td> <td>docx:
308000</td></tr>
939 <tr><td>Presentasjon
</td> <td>odp:
75600</td> <td>pptx:
183000</td></tr>
940 <tr><td>Regneark
</td> <td>ods:
26500 </td> <td>xlsx:
145000</td></tr>
943 <p>Next, I added a 'site:no' limit to get the numbers for Norway, and
944 got these numbers:
</p>
947 <tr><th>Type
</th><th>ODF
</th><th>MS Office
</th></tr>
948 <tr><td>Tekst
</td> <td>odt:
2480 </td> <td>docx:
4460</td></tr>
949 <tr><td>Presentasjon
</td> <td>odp:
299 </td> <td>pptx:
741</td></tr>
950 <tr><td>Regneark
</td> <td>ods:
187 </td> <td>xlsx:
372</td></tr>
953 <p>I wonder how these numbers change over time.
</p>
955 <p>I am aware of Google returning different results and numbers based
956 on where the search is done, so I guess these numbers will differ if
957 they are conduced in another country. Because of this, I did the same
958 search from a machine in California, USA, a few minutes after the
959 search done from a machine here in Norway.
</p>
963 <tr><th>Type
</th><th>ODF
</th><th>MS Office
</th></tr>
964 <tr><td>Tekst
</td> <td>odt:
129000</td> <td>docx:
308000</td></tr>
965 <tr><td>Presentasjon
</td> <td>odp:
44200</td> <td>pptx:
93900</td></tr>
966 <tr><td>Regneark
</td> <td>ods:
26500 </td> <td>xlsx:
82400</td></tr>
969 <p>And with 'site:no':
972 <tr><th>Type
</th><th>ODF
</th><th>MS Office
</th></tr>
973 <tr><td>Tekst
</td> <td>odt:
2480</td> <td>docx:
3410</td></tr>
974 <tr><td>Presentasjon
</td> <td>odp:
175</td> <td>pptx:
604</td></tr>
975 <tr><td>Regneark
</td> <td>ods:
186 </td> <td>xlsx:
296</td></tr>
978 <p>Interesting difference, not sure what to conclude from these
986 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
990 <div class=
"padding"></div>
994 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html">Automatic Munin and Nagios configuration
</a>
1002 <p>One of the new features in the next Debian/Lenny based release of
1003 Debian Edu/Skolelinux, which is scheduled for release in the next few
1004 days, is automatic configuration of the service monitoring system
1005 Nagios. The previous release had automatic configuration of trend
1006 analysis using Munin, and this Lenny based release take that a step
1009 <p>When installing a Debian Edu Main-server, it is automatically
1010 configured as a Munin and Nagios server. In addition, it is
1011 configured to be a server for the
1012 <a href=
"http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">SiteSummary
1013 system
</a> I have written for use in Debian Edu. The SiteSummary
1014 system is inspired by a system used by the University of Oslo where I
1015 work. In short, the system provide a centralised collector of
1016 information about the computers on the network, and a client on each
1017 computer submitting information to this collector. This allow for
1018 automatic information on which packages are installed on each machine,
1019 which kernel the machines are using, what kind of configuration the
1020 packages got etc. This also allow us to automatically generate Munin
1021 and Nagios configuration.
</p>
1023 <p>All computers reporting to the sitesummary collector with the
1024 munin-node package installed is automatically enabled as a Munin
1025 client and graphs from the statistics collected from that machine show
1026 up automatically on http://www/munin/ on the Main-server.
</p>
1028 <p>All non-laptop computers reporting to the sitesummary collector are
1029 automatically monitored for network presence (ping and any network
1030 services detected). In addition, all computers (also laptops) with
1031 the nagios-nrpe-server package installed and configured the way
1032 sitesummary would configure it, are monitored for full disks, software
1033 raid status, swap free and other checks that need to run locally on
1036 <p>The result is that the administrator on a school using Debian Edu
1037 based on Lenny will be able to check the health of his installation
1038 with one look at the Nagios settings, without having to spend any time
1039 keeping the Nagios configuration up-to-date.
</p>
1041 <p>The only configuration one need to do to get Nagios up and running
1042 is to set the password used to get access via HTTP. The system
1043 administrator need to run "
<tt>htpasswd /etc/nagios3/htpasswd.users
1044 nagiosadmin
</tt>" to create a nagiosadmin user and set a password for
1045 it to be able to log into the Nagios web pages. After that,
1046 everything is taken care of.</p>
1053 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/nuug
">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sitesummary
">sitesummary</a>.
1057 <div class="padding
"></div>
1061 <a href="http://people.skolelinux.org/pere/blog/Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html
">Debian Edu / Skolelinux based on Lenny released, work continues</a>
1069 <p>On Tuesday, the Debian/Lenny based version of
1070 <a href="http://www.skolelinux.org/
">Skolelinux</a> was finally
1071 shipped. This was a major leap forward for the project, and I am very
1072 pleased that we finally got the release wrapped up. Work on the first
1073 point release starts imediately, as we plan to get that one out a
1074 month after the major release, to include all fixes for bugs we found
1075 and fixed too late in the release process to include last Tuesday.</p>
1077 <p>Perhaps it even is time for some partying?</p>
1079 <p>After this first point release, my plan is to focus again on the
1080 next major release, based on Squeeze. We will try to get as many of
1081 the fixes we need into the official Debian packages before the freeze,
1082 and have just a few weeks or months to make it happen.</p>
1089 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/nuug
">nuug</a>.
1093 <div class="padding
"></div>
1097 <a href="http://people.skolelinux.org/pere/blog/After_6_years_of_waiting__the_Xreset_d_feature_is_implemented.html
">After 6 years of waiting, the Xreset.d feature is implemented</a>
1105 <p>6 years ago, as part of the Debian Edu development I am involved
1106 in, I asked for a hook in the kdm and gdm setup to run scripts as root
1107 when the user log out. A bug was submitted against the xfree86-common
1108 package in 2004 (<a href="http://bugs.debian.org/
230422">#230422</a>),
1109 and revisited every time Debian Edu was working on a new release.
1110 Today, this finally paid off.</p>
1112 <p>The framework for this feature was today commited to the git
1113 repositry for the xorg package, and the git repository for xdm has
1114 been updated to use this framework. Next on my agenda is to make sure
1115 kdm and gdm also add code to use this framework.</p>
1117 <p>In Debian Edu, we want to ability to run commands as root when the
1118 user log out, to get rid of runaway processes and do general cleanup
1119 after a user. With this framework in place, we finally can do that in
1120 a generic way that work with all display managers using this
1121 framework. My goal is to get all display managers in Debian use it,
1122 similar to how they use the Xsession.d framework today.<p>
1129 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/nuug
">nuug</a>.
1133 <div class="padding
"></div>
1137 <a href="http://people.skolelinux.org/pere/blog/Kerberos_for_Debian_Edu_Squeeze_.html
">Kerberos for Debian Edu/Squeeze?</a>
1145 <p><a href="http://www.nuug.no/aktiviteter/
20100413-kerberos/
">Yesterdays
1146 NUUG presentation</a> about Kerberos was inspiring, and reminded me
1147 about the need to start using Kerberos in Skolelinux. Setting up a
1148 Kerberos server seem to be straight forward, and if we get this in
1149 place a long time before the Squeeze version of Debian freezes, we
1150 have a chance to migrate Skolelinux away from NFSv3 for the home
1151 directories, and over to an architecture where the infrastructure do
1152 not have to trust IP addresses and machines, and instead can trust
1153 users and cryptographic keys instead.</p>
1155 <p>A challenge will be integration and administration. Is there a
1156 Kerberos implementation for Debian where one can control the
1157 administration access in Kerberos using LDAP groups? With it, the
1158 school administration will have to maintain access control using flat
1159 files on the main server, which give a huge potential for errors.</p>
1161 <p>A related question I would like to know is how well Kerberos and
1162 pam-ccreds (offline password check) work together. Anyone know?</p>
1164 <p>Next step will be to use Kerberos for access control in Lwat and
1165 Nagios. I have no idea how much work that will be to implement. We
1166 would also need to document how to integrate with Windows AD, as such
1167 shared network will require two Kerberos realms that need to cooperate
1168 to work properly.</p>
1170 <p>I believe a good start would be to start using Kerberos on the
1171 skolelinux.no machines, and this way get ourselves experience with
1172 configuration and integration. A natural starting point would be
1173 setting up ldap.skolelinux.no as the Kerberos server, and migrate the
1174 rest of the machines from PAM via LDAP to PAM via Kerberos one at the
1177 <p>If you would like to contribute to get this working in Skolelinux,
1178 I recommend you to see the video recording from yesterdays NUUG
1179 presentation, and start using Kerberos at home. The video show show
1180 up in a few days.</p>
1187 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/nuug
">nuug</a>.
1191 <div class="padding
"></div>
1195 <a href="http://people.skolelinux.org/pere/blog/Great_book___Content__Selected_Essays_on_Technology__Creativity__Copyright__and_the_Future_of_the_Future_.html
">Great book: "Content: Selected Essays on Technology, Creativity, Copyright, and the Future of the Future"
</a>
1203 <p>The last few weeks i have had the pleasure of reading a
1204 thought-provoking collection of essays by Cory Doctorow, on topics
1205 touching copyright, virtual worlds, the future of man when the
1206 conscience mind can be duplicated into a computer and many more. The
1207 book titled "Content: Selected Essays on Technology, Creativity,
1208 Copyright, and the Future of the Future" is available with few
1209 restrictions on the web, for example from
1210 <a href=
"http://craphound.com/content/">his own site
</a>. I read the
1212 <a href=
"http://www.feedbooks.com/book/2883">feedbooks
</a> using
1213 <a href=
"http://www.fbreader.org/">fbreader
</a> and my N810. I
1214 strongly recommend this book.
</p>
1221 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling
</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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
1225 <div class=
"padding"></div>
1229 <a href=
"http://people.skolelinux.org/pere/blog/Thoughts_on_roaming_laptop_setup_for_Debian_Edu.html">Thoughts on roaming laptop setup for Debian Edu
</a>
1237 <p>For some years now, I have wondered how we should handle laptops in
1238 Debian Edu. The Debian Edu infrastructure is mostly designed to
1239 handle stationary computers, and less suited for computers that come
1242 <p>Now I finally believe I have an sensible idea on how to adjust
1243 Debian Edu for laptops, by introducing a new profile for them, for
1244 example called Roaming Workstations. Here are my thought on this.
1245 The setup would consist of the following:
</p>
1249 <li>During installation, the user name of the owner / primary user of
1250 the laptop is requested and a local home directory is set up for
1251 the user, with uid and gid information fetched from the LDAP
1252 server. This allow the user to work also when offline. The
1253 central home directory can be available in a subdirectory on
1254 request, for example mounted via CIFS. It could be mounted
1255 automatically when a user log in while on the Debian Edu network,
1256 and unmounted when the machine is taken away (network down,
1257 hibernate, etc), it can be set up to do automatic mounting on
1258 request (using autofs), or perhaps some GUI button on the desktop
1259 can be used to access it when needed. Perhaps it is enough to use
1260 the fish protocol in KDE?
</li>
1262 <li>Password checking is set up to use LDAP or Kerberos
1263 authentication when the machine is on the Debian Edu network, and
1264 to cache the password for offline checking when the machine unable
1265 to reach the LDAP or Kerberos server. This can be done using
1266 <a href=
"http://www.padl.com/OSS/pam_ccreds.html">libpam-ccreds
</a>
1267 or the Fedora developed
1268 <a href=
"https://fedoraproject.org/wiki/Features/SSSD">System
1269 Security Services Daemon
</a> packages.
</li>
1271 <li>File synchronisation with the central home directory is set up
1272 using a shared directory in both the local and the central home
1273 directory, using unison.
</li>
1275 <li>Printing should be set up to print to all printers broadcasting
1276 their existence on the local network, and should then work out of
1277 the box with CUPS. For sites needing accurate printer quotas, some
1278 system with Kerberos authentication or printing via ssh could be
1281 <li>For users that should have local root access to their laptop,
1282 sudo should be used to allow this to the local user.
</li>
1284 <li>It would be nice if user and group information from LDAP is
1285 cached on the client, but given that there are entries for the
1286 local user and primary group in /etc/, it should not be needed.
</li>
1290 <p>I believe all the pieces to implement this are in Debian/testing at
1291 the moment. If we work quickly, we should be able to get this ready
1292 in time for the Squeeze release to freeze. Some of the pieces need
1293 tweaking, like libpam-ccreds should get support for pam-auth-update
1294 (
<a href=
"http://bugs.debian.org/566718">#
566718</a>) and nslcd (or
1295 perhaps debian-edu-config) should get some integration code to stop
1296 its daemon when the LDAP server is unavailable to avoid long timeouts
1297 when disconnected from the net. If we get Kerberos enabled, we need
1298 to make sure we avoid long timeouts there too.
</p>
1300 <p>If you want to help out with implementing this for Debian Edu,
1301 please contact us on debian-edu@lists.debian.org.
</p>
1308 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/nuug">nuug
</a>.
1312 <div class=
"padding"></div>
1316 <a href=
"http://people.skolelinux.org/pere/blog/Forcing_new_users_to_change_their_password_on_first_login.html">Forcing new users to change their password on first login
</a>
1324 <p>One interesting feature in Active Directory, is the ability to
1325 create a new user with an expired password, and thus force the user to
1326 change the password on the first login attempt.
</p>
1328 <p>I'm not quite sure how to do that with the LDAP setup in Debian
1329 Edu, but did some initial testing with a local account. The account
1330 and password aging information is available in /etc/shadow, but
1331 unfortunately, it is not possible to specify an expiration time for
1332 passwords, only a maximum age for passwords.
</p>
1334 <p>A freshly created account (using adduser test) will have these
1335 settings in /etc/shadow:
</p>
1338 root@tjener:~# chage -l test
1339 Last password change : May
02,
2010
1340 Password expires : never
1341 Password inactive : never
1342 Account expires : never
1343 Minimum number of days between password change :
0
1344 Maximum number of days between password change :
99999
1345 Number of days of warning before password expires :
7
1349 <p>The only way I could come up with to create a user with an expired
1350 account, is to change the date of the last password change to the
1351 lowest value possible (January
1th
1970), and the maximum password age
1352 to the difference in days between that date and today. To make it
1353 simple, I went for
30 years (
30 *
365 =
10950) and January
2th (to
1354 avoid testing if
0 is a valid value).
</p>
1356 <p>After using these commands to set it up, it seem to work as
1360 root@tjener:~# chage -d
1 test; chage -M
10950 test
1361 root@tjener:~# chage -l test
1362 Last password change : Jan
02,
1970
1363 Password expires : never
1364 Password inactive : never
1365 Account expires : never
1366 Minimum number of days between password change :
0
1367 Maximum number of days between password change :
10950
1368 Number of days of warning before password expires :
7
1372 <p>So far I have tested this with ssh and console, and kdm (in
1373 Squeeze) login, and all ask for a new password before login in the
1374 user (with ssh, I was thrown out and had to log in again).
</p>
1376 <p>Perhaps we should set up something similar for Debian Edu, to make
1377 sure only the user itself have the account password?
</p>
1379 <p>If you want to comment on or help out with implementing this for
1380 Debian Edu, please contact us on debian-edu@lists.debian.org.
</p>
1382 <p>Update
2010-
05-
02 17:
20: Paul Tötterman tells me on IRC that the
1383 shadow(
8) page in Debian/testing now state that setting the date of
1384 last password change to zero (
0) will force the password to be changed
1385 on the first login. This was not mentioned in the manual in Lenny, so
1386 I did not notice this in my initial testing. I have tested it on
1387 Squeeze, and '
<tt>chage -d
0 username
</tt>' do work there. I have not
1388 tested it on Lenny yet.
</p>
1390 <p>Update
2010-
05-
02-
19:
05: Jim Paris tells me via email that an
1391 equivalent command to expire a password is '
<tt>passwd -e
1392 username
</tt>', which insert zero into the date of the last password
1400 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/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>.
1404 <div class=
"padding"></div>
1408 <a href=
"http://people.skolelinux.org/pere/blog/Parallellizing_the_boot_in_Debian_Squeeze___ready_for_wider_testing.html">Parallellizing the boot in Debian Squeeze - ready for wider testing
</a>
1416 <p>These days, the init.d script dependencies in Squeeze are quite
1417 complete, so complete that it is actually possible to run all the
1418 init.d scripts in parallell based on these dependencies. If you want
1419 to test your Squeeze system, make sure
1420 <a href=
"http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
1421 based boot sequencing
</a> is enabled, and add this line to
1422 /etc/default/rcS:
</p>
1425 CONCURRENCY=makefile
1428 <p>That is it. It will cause sysv-rc to use the startpar tool to run
1429 scripts in parallel using the dependency information stored in
1430 /etc/init.d/.depend.boot, /etc/init.d/.depend.start and
1431 /etc/init.d/.depend.stop to order the scripts. Startpar is configured
1432 to try to start the kdm and gdm scripts as early as possible, and will
1433 start the facilities required by kdm or gdm as early as possible to
1434 make this happen.
</p>
1436 <p>Give it a try, and see if you like the result. If some services
1437 fail to start properly, it is most likely because they have incomplete
1438 init.d script dependencies in their startup script (or some of their
1439 dependent scripts have incomplete dependencies). Report bugs and get
1440 the package maintainers to fix it. :)
</p>
1442 <p>Running scripts in parallel could be the default in Debian when we
1443 manage to get the init.d script dependencies complete and correct. I
1444 expect we will get there in Squeeze+
1, if we get manage to test and
1445 fix the remaining issues.
</p>
1447 <p>If you report any problems with dependencies in init.d scripts to
1448 the BTS, please usertag the report to get it to show up at
1449 <a href=
"http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
1450 list of usertagged bugs related to this
</a>.
</p>
1457 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>.
1461 <div class=
"padding"></div>
1465 <a href=
"http://people.skolelinux.org/pere/blog/systemd__an_interesting_alternative_to_upstart.html">systemd, an interesting alternative to upstart
</a>
1473 <p>The last few days a new boot system called
1474 <a href=
"http://www.freedesktop.org/wiki/Software/systemd">systemd
</a>
1476 <a href=
"http://0pointer.de/blog/projects/systemd.html">introduced
</a>
1478 to the free software world. I have not yet had time to play around
1479 with it, but it seem to be a very interesting alternative to
1480 <a href=
"http://upstart.ubuntu.com/">upstart
</a>, and might prove to be
1481 a good alternative for Debian when we are able to switch to an event
1482 based boot system. Tollef is
1483 <a href=
"http://bugs.debian.org/580814">in the process
</a> of getting
1484 systemd into Debian, and I look forward to seeing how well it work. I
1485 like the fact that systemd handles init.d scripts with dependency
1486 information natively, allowing them to run in parallel where upstart
1487 at the moment do not.
</p>
1489 <p>Unfortunately do systemd have the same problem as upstart regarding
1490 platform support. It only work on recent Linux kernels, and also need
1491 some new kernel features enabled to function properly. This means
1492 kFreeBSD and Hurd ports of Debian will need a port or a different boot
1493 system. Not sure how that will be handled if systemd proves to be the
1496 <p>In the mean time, based on the
1497 <a href=
"http://lists.debian.org/debian-devel/2010/05/msg00122.html">input
1498 on debian-devel@
</a> regarding parallel booting in Debian, I have
1499 decided to enable full parallel booting as the default in Debian as
1500 soon as possible (probably this weekend or early next week), to see if
1501 there are any remaining serious bugs in the init.d dependencies. A
1502 new version of the sysvinit package implementing this change is
1503 already in experimental. If all go well, Squeeze will be released
1504 with parallel booting enabled by default.
</p>
1511 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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>.
1515 <div class=
"padding"></div>
1519 <a href=
"http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html">Sitesummary tip: Listing MAC address of all clients
</a>
1527 <p>In the recent Debian Edu versions, the
1528 <a href=
"http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">sitesummary
1529 system
</a> is used to keep track of the machines in the school
1530 network. Each machine will automatically report its status to the
1531 central server after boot and once per night. The network setup is
1532 also reported, and using this information it is possible to get the
1533 MAC address of all network interfaces in the machines. This is useful
1534 to update the DHCP configuration.
</p>
1536 <p>To give some idea how to use sitesummary, here is a one-liner to
1537 ist all MAC addresses of all machines reporting to sitesummary. Run
1538 this on the collector host:
</p>
1541 perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });'
1544 <p>This will list all MAC addresses assosiated with all machine, one
1545 line per machine and with space between the MAC addresses.
</p>
1547 <p>To allow system administrators easier job at adding static DHCP
1548 addresses for hosts, it would be possible to extend this to fetch
1549 machine information from sitesummary and update the DHCP and DNS
1550 tables in LDAP using this information. Such tool is unfortunately not
1558 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/sitesummary">sitesummary
</a>.
1562 <div class=
"padding"></div>
1566 <a href=
"http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html">Parallellized boot is now the default in Debian/unstable
</a>
1574 <p>Since this evening, parallel booting is the default in
1575 Debian/unstable for machines using dependency based boot sequencing.
1576 Apparently the testing of concurrent booting has been wider than
1577 expected, if I am to believe the
1578 <a href=
"http://lists.debian.org/debian-devel/2010/05/msg00122.html">input
1579 on debian-devel@
</a>, and I concluded a few days ago to move forward
1580 with the feature this weekend, to give us some time to detect any
1581 remaining problems before Squeeze is frozen. If serious problems are
1582 detected, it is simple to change the default back to sequential boot.
1583 The upload of the new sysvinit package also activate a new upstream
1586 More information about
1587 <a href=
"http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
1588 based boot sequencing
</a> is available from the Debian wiki. It is
1589 currently possible to disable parallel booting when one run into
1590 problems caused by it, by adding this line to /etc/default/rcS:
</p>
1596 <p>If you report any problems with dependencies in init.d scripts to
1597 the BTS, please usertag the report to get it to show up at
1598 <a href=
"http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
1599 list of usertagged bugs related to this
</a>.
</p>
1606 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>.
1610 <div class=
"padding"></div>
1614 <a href=
"http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html">Pieces of the roaming laptop puzzle in Debian
</a>
1622 <p>Today, the last piece of the puzzle for roaming laptops in Debian
1623 Edu finally entered the Debian archive. Today, the new
1624 <a href=
"http://packages.qa.debian.org/libp/libpam-mklocaluser.html">libpam-mklocaluser
</a>
1625 package was accepted. Two days ago, two other pieces was accepted
1627 <a href=
"http://packages.qa.debian.org/p/pam-python.html">pam-python
</a>
1628 package needed by libpam-mklocaluser, and the
1629 <a href=
"http://packages.qa.debian.org/s/sssd.html">sssd
</a> package
1630 passed NEW on Monday. In addition, the
1631 <a href=
"http://packages.qa.debian.org/libp/libpam-ccreds.html">libpam-ccreds
</a>
1632 package we need is in experimental (version
10-
4) since Saturday, and
1633 hopefully will be moved to unstable soon.
</p>
1635 <p>This collection of packages allow for two different setups for
1636 roaming laptops. The traditional setup would be using libpam-ccreds,
1637 nscd and libpam-mklocaluser with LDAP or Kerberos authentication,
1638 which should work out of the box if the configuration changes proposed
1639 for nscd in
<a href=
"http://bugs.debian.org/485282">BTS report
1640 #
485282</a> is implemented. The alternative setup is to use sssd with
1641 libpam-mklocaluser to connect to LDAP or Kerberos and let sssd take
1642 care of the caching of passwords and group information.
</p>
1644 <p>I have so far been unable to get sssd to work with the LDAP server
1645 at the University, but suspect the issue is some SSL/GnuTLS related
1646 problem with the server certificate. I plan to update the Debian
1647 package to version
1.2, which is scheduled for next week, and hope to
1648 find time to make sure the next release will include both the
1649 Debian/Ubuntu specific patches. Upstream is friendly and responsive,
1650 and I am sure we will find a good solution.
</p>
1652 <p>The idea is to set up the roaming laptops to authenticate using
1653 LDAP or Kerberos and create a local user with home directory in /home/
1654 when a usre in LDAP logs in via KDM or GDM for the first time, and
1655 cache the password for offline checking, as well as caching group
1656 memberhips and other relevant LDAP information. The
1657 libpam-mklocaluser package was created to make sure the local home
1658 directory is in /home/, instead of /site/server/directory/ which would
1659 be the home directory if pam_mkhomedir was used. To avoid confusion
1660 with support requests and configuration, we do not want local laptops
1661 to have users in a path that is used for the same users home directory
1662 on the home directory servers.
</p>
1664 <p>One annoying problem with gdm is that it do not show the PAM
1665 message passed to the user from libpam-mklocaluser when the local user
1666 is created. Instead gdm simply reject the login with some generic
1667 message. The message is shown in kdm, ssh and login, so I guess it is
1668 a bug in gdm. Have not investigated if there is some other message
1669 type that can be used instead to get gdm to also show the message.
</p>
1671 <p>If you want to help out with implementing this for Debian Edu,
1672 please contact us on debian-edu@lists.debian.org.
</p>
1679 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/nuug">nuug
</a>.
1683 <div class=
"padding"></div>
1687 <a href=
"http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html">More flexible firmware handling in debian-installer
</a>
1695 <p>After a long break from debian-installer development, I finally
1696 found time today to return to the project. Having to spend less time
1697 working dependency based boot in debian, as it is almost complete now,
1698 definitely helped freeing some time.
</p>
1700 <p>A while back, I ran into a problem while working on Debian Edu. We
1701 include some firmware packages on the Debian Edu CDs, those needed to
1702 get disk and network controllers working. Without having these
1703 firmware packages available during installation, it is impossible to
1704 install Debian Edu on the given machine, and because our target group
1705 are non-technical people, asking them to provide firmware packages on
1706 an external medium is a support pain. Initially, I expected it to be
1707 enough to include the firmware packages on the CD to get
1708 debian-installer to find and use them. This proved to be wrong.
1709 Next, I hoped it was enough to symlink the relevant firmware packages
1710 to some useful location on the CD (tried /cdrom/ and
1711 /cdrom/firmware/). This also proved to not work, and at this point I
1712 found time to look at the debian-installer code to figure out what was
1715 <p>The firmware loading code is in the hw-detect package, and a closer
1716 look revealed that it would only look for firmware packages outside
1717 the installation media, so the CD was never checked for firmware
1718 packages. It would only check USB sticks, floppies and other
1719 "external" media devices. Today I changed it to also look in the
1720 /cdrom/firmware/ directory on the mounted CD or DVD, which should
1721 solve the problem I ran into with Debian edu. I also changed it to
1722 look in /firmware/, to make sure the installer also find firmware
1723 provided in the initrd when booting the installer via PXE, to allow us
1724 to provide the same feature in the PXE setup included in Debian
1727 <p>To make sure firmware deb packages with a license questions are not
1728 activated without asking if the license is accepted, I extended
1729 hw-detect to look for preinst scripts in the firmware packages, and
1730 run these before activating the firmware during installation. The
1731 license question is asked using debconf in the preinst, so this should
1732 solve the issue for the firmware packages I have looked at so far.
</p>
1734 <p>If you want to discuss the details of these features, please
1735 contact us on debian-boot@lists.debian.org.
</p>
1742 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>.
1746 <div class=
"padding"></div>
1750 <a href=
"http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html">Parallellized boot seem to hold up well in Debian/testing
</a>
1758 <p>A few days ago, parallel booting was enabled in Debian/testing.
1759 The feature seem to hold up pretty well, but three fairly serious
1760 issues are known and should be solved:
1764 <li>The wicd package seen to
1765 <a href=
"http://bugs.debian.org/508289">break NFS mounting
</a> and
1766 <a href=
"http://bugs.debian.org/581586">network setup
</a> when
1767 parallel booting is enabled. No idea why, but the wicd maintainer
1768 seem to be on the case.
</li>
1770 <li>The nvidia X driver seem to
1771 <a href=
"http://bugs.debian.org/583312">have a race condition
</a>
1772 triggered more easily when parallel booting is in effect. The
1773 maintainer is on the case.
</li>
1775 <li>The sysv-rc package fail to properly enable dependency based boot
1776 sequencing (the shutdown is broken) when old file-rc users
1777 <a href=
"http://bugs.debian.org/575080">try to switch back
</a> to
1778 sysv-rc. One way to solve it would be for file-rc to create
1779 /etc/init.d/.legacy-bootordering, and another is to try to make
1780 sysv-rc more robust. Will investigate some more and probably upload a
1781 workaround in sysv-rc to help those trying to move from file-rc to
1782 sysv-rc get a working shutdown.
</li>
1786 <p>All in all not many surprising issues, and all of them seem
1787 solvable before Squeeze is released. In addition to these there are
1788 some packages with bugs in their dependencies and run level settings,
1789 which I expect will be fixed in a reasonable time span.
</p>
1791 <p>If you report any problems with dependencies in init.d scripts to
1792 the BTS, please usertag the report to get it to show up at
1793 <a href=
"http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
1794 list of usertagged bugs related to this
</a>.
</p>
1796 <p>Update: Correct bug number to file-rc issue.
</p>
1803 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>.
1807 <div class=
"padding"></div>
1811 <a href=
"http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html">KDM fail at boot with NVidia cards - and no one try to fix it?
</a>
1819 <p>It is strange to watch how a bug in Debian causing KDM to fail to
1820 start at boot when an NVidia video card is used is handled. The
1821 problem seem to be that the nvidia X.org driver uses a long time to
1822 initialize, and this duration is longer than kdm is configured to
1825 <p>I came across two bugs related to this issue,
1826 <a href=
"http://bugs.debian.org/583312">#
583312</a> initially filed
1827 against initscripts and passed on to nvidia-glx when it became obvious
1828 that the nvidia drivers were involved, and
1829 <a href=
"http://bugs.debian.org/524751">#
524751</a> initially filed against
1830 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.
</p>
1832 <p>To me, it seem that no-one is interested in actually solving the
1833 problem nvidia video card owners experience and make sure the Debian
1834 distribution work out of the box for these users. The nvidia driver
1835 maintainers expect kdm to be set up to wait longer, while kdm expect
1836 the nvidia driver maintainers to fix the driver to start faster, and
1837 while they wait for each other I guess the users end up switching to a
1838 distribution that work for them. I have no idea what the solution is,
1839 but I am pretty sure that waiting for each other is not it.
</p>
1841 <p>I wonder why we end up handling bugs this way.
</p>
1848 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>.
1852 <div class=
"padding"></div>
1856 <a href=
"http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html">Sitesummary tip: Listing computer hardware models used at site
</a>
1864 <p>When using sitesummary at a site to track machines, it is possible
1865 to get a list of the machine types in use thanks to the DMI
1866 information extracted from each machine. The script to do so is
1867 included in the sitesummary package, and here is example output from
1868 the Skolelinux build servers:
</p>
1871 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
1873 Dell Computer Corporation
1
1876 eserver xSeries
345 -[
8670M1X]-
1
1882 <p>The quality of the report depend on the quality of the DMI tables
1883 provided in each machine. Here there are Intel machines without model
1884 information listed with Intel as vendor and mo model, and virtual Xen
1885 machines listed as [no-dmi-info]. One can add -l as a command line
1886 option to list the individual machines.
</p>
1889 <a href=
"http://narvikskolen.no/sitesummary/">available from the the
1890 city of Narvik
</a>, which uses Skolelinux on all their shools and also
1891 provide the basic sitesummary report publicly. In their report there
1892 are ~
1400 machines. I know they use both Ubuntu and Skolelinux on
1893 their machines, and as sitesummary is available in both distributions,
1894 it is trivial to get all of them to report to the same central
1902 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/sitesummary">sitesummary
</a>.
1906 <div class=
"padding"></div>
1910 <a href=
"http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html">A manual for standards wars...
</a>
1919 <a href=
"http://feedproxy.google.com/~r/robweir/antic-atom/~3/QzU4RgoAGMg/weekly-links-10.html">blog
1920 of Rob Weir
</a> I came across the very interesting essay named
1921 <a href=
"http://faculty.haas.berkeley.edu/shapiro/wars.pdf">The Art of
1922 Standards Wars
</a> (PDF
25 pages). I recommend it for everyone
1923 following the standards wars of today.
</p>
1930 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/standard">standard
</a>.
1934 <div class=
"padding"></div>
1938 <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>
1946 <p>If Debian is to migrate to upstart on Linux, I expect some init.d
1947 scripts to migrate (some of) their operations to upstart job while
1948 keeping the init.d for hurd and kfreebsd. The packages with such
1949 needs will need a way to get their init.d scripts to behave
1950 differently when used with sysvinit and with upstart. Because of
1951 this, I had a look at the environment variables set when a init.d
1952 script is running under upstart, and when it is not.
</p>
1954 <p>With upstart, I notice these environment variables are set when a
1955 script is started from rcS.d/ (ignoring some irrelevant ones like
1964 UPSTART_EVENTS=startup
1966 UPSTART_JOB=rc-sysinit
1969 <p>With sysvinit, these environment variables are set for the same
1973 INIT_VERSION=sysvinit-
2.88
1980 <p>The RUNLEVEL and PREVLEVEL environment variables passed on from
1981 sysvinit are not set by upstart. Not sure if it is intentional or not
1982 to not be compatible with sysvinit in this regard.
</p>
1984 <p>For scripts needing to behave differently when upstart is used,
1985 looking for the UPSTART_JOB environment variable seem to be a good
1993 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>.
1997 <div class=
"padding"></div>
2001 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html">Automatic upgrade testing from Lenny to Squeeze
</a>
2009 <p>The last few days I have done some upgrade testing in Debian, to
2010 see if the upgrade from Lenny to Squeeze will go smoothly. A few bugs
2011 have been discovered and reported in the process
2012 (
<a href=
"http://bugs.debian.org/585410">#
585410</a> in nagios3-cgi,
2013 <a href=
"http://bugs.debian.org/584879">#
584879</a> already fixed in
2014 enscript and
<a href=
"http://bugs.debian.org/584861">#
584861</a> in
2015 kdebase-workspace-data), and to get a more regular testing going on, I
2016 am working on a script to automate the test.
</p>
2018 <p>The idea is to create a Lenny chroot and use tasksel to install a
2019 Gnome or KDE desktop installation inside the chroot before upgrading
2020 it. To ensure no services are started in the chroot, a policy-rc.d
2021 script is inserted. To make sure tasksel believe it is to install a
2022 desktop on a laptop, the tasksel tests are replaced in the chroot
2023 (only acceptable because this is a throw-away chroot).
</p>
2025 <p>A naive upgrade from Lenny to Squeeze using aptitude dist-upgrade
2026 currently always fail because udev refuses to upgrade with the kernel
2027 in Lenny, so to avoid that problem the file /etc/udev/kernel-upgrade
2028 is created. The bug report
2029 <a href=
"http://bugs.debian.org/566000">#
566000</a> make me suspect
2030 this problem do not trigger in a chroot, but I touch the file anyway
2031 to make sure the upgrade go well. Testing on virtual and real
2032 hardware have failed me because of udev so far, and creating this file
2033 do the trick in such settings anyway. This is a
2034 <a href=
"http://www.linuxquestions.org/questions/debian-26/failed-dist-upgrade-due-to-udev-config_sysfs_deprecated-nonsense-804130/">known
2035 issue
</a> and the current udev behaviour is intended by the udev
2036 maintainer because he lack the resources to rewrite udev to keep
2037 working with old kernels or something like that. I really wish the
2038 udev upstream would keep udev backwards compatible, to avoid such
2039 upgrade problem, but given that they fail to do so, I guess
2040 documenting the way out of this mess is the best option we got for
2043 <p>Anyway, back to the task at hand, testing upgrades. This test
2044 script, which I call
<tt>upgrade-test
</tt> for now, is doing the
2062 mirror=http://ftp.skolelinux.org/debian
2063 tmpdir=chroot-$from-upgrade-$to-$desktop
2065 debootstrap $from $tmpdir $mirror
2066 chroot $tmpdir aptitude update
2067 cat
> $tmpdir/usr/sbin/policy-rc.d
<<EOF
2071 chmod a+rx $tmpdir/usr/sbin/policy-rc.d
2075 mount -t proc proc $tmpdir/proc
2076 # Make sure proc is unmounted also on failure
2077 trap exit_cleanup EXIT INT
2079 chroot $tmpdir aptitude -y install debconf-utils
2081 # Make sure tasksel autoselection trigger. It need the test scripts
2082 # to return the correct answers.
2083 echo tasksel tasksel/desktop multiselect $desktop | \
2084 chroot $tmpdir debconf-set-selections
2086 # Include the desktop and laptop task
2087 for test in desktop laptop ; do
2088 echo
> $tmpdir/usr/lib/tasksel/tests/$test
<<EOF
2092 chmod a+rx $tmpdir/usr/lib/tasksel/tests/$test
2095 DEBIAN_FRONTEND=noninteractive
2096 DEBIAN_PRIORITY=critical
2097 export DEBIAN_FRONTEND DEBIAN_PRIORITY
2098 chroot $tmpdir tasksel --new-install
2100 echo deb $mirror $to main
> $tmpdir/etc/apt/sources.list
2101 chroot $tmpdir aptitude update
2102 touch $tmpdir/etc/udev/kernel-upgrade
2103 chroot $tmpdir aptitude -y dist-upgrade
2107 <p>I suspect it would be useful to test upgrades with both apt-get and
2108 with aptitude, but I have not had time to look at how they behave
2109 differently so far. I hope to get a cron job running to do the test
2110 regularly and post the result on the web. The Gnome upgrade currently
2111 work, while the KDE upgrade fail because of the bug in
2112 kdebase-workspace-data
</p>
2114 <p>I am not quite sure what kind of extract from the huge upgrade logs
2115 (KDE
167 KiB, Gnome
516 KiB) it make sense to include in this blog
2116 post, so I will refrain from trying. I can report that for Gnome,
2117 aptitude report
760 packages upgraded,
448 newly installed,
129 to
2118 remove and
1 not upgraded and
1024MB need to be downloaded while for
2119 KDE the same numbers are
702 packages upgraded,
507 newly installed,
2120 193 to remove and
0 not upgraded and
1117MB need to be downloaded
</p>
2122 <p>I am very happy to notice that the Gnome desktop + laptop upgrade
2123 is able to migrate to dependency based boot sequencing and parallel
2124 booting without a hitch. Was unsure if there were still bugs with
2125 packages failing to clean up their obsolete init.d script during
2126 upgrades, and no such problem seem to affect the Gnome desktop+laptop
2134 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>.
2138 <div class=
"padding"></div>
2142 <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>
2151 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html">testing
2152 of Debian upgrades
</a> from Lenny to Squeeze continues, and I've
2153 finally made the upgrade logs available from
2154 <a href=
"http://people.skolelinux.org/pere/debian-upgrade-testing/">http://people.skolelinux.org/pere/debian-upgrade-testing/
</a>.
2155 I am now testing dist-upgrade of Gnome and KDE in a chroot using both
2156 apt and aptitude, and found their differences interesting. This time
2157 I will only focus on their removal plans.
</p>
2159 <p>After installing a Gnome desktop and the laptop task, apt-get wants
2160 to remove
72 packages when dist-upgrading from Lenny to Squeeze. The
2161 surprising part is that it want to remove xorg and all
2162 xserver-xorg-video* drivers. Clearly not a good choice, but I am not
2163 sure why. When asking aptitude to do the same, it want to remove
129
2164 packages, but most of them are library packages I suspect are no
2165 longer needed. Both of them want to remove bluetooth packages, which
2166 I do not know. Perhaps these bluetooth packages are obsolete?
</p>
2168 <p>For KDE, apt-get want to remove
82 packages, among them kdebase
2169 which seem like a bad idea and xorg the same way as with Gnome. Asking
2170 aptitude for the same, it wants to remove
192 packages, none which are
2173 <p>I guess the removal of xorg during upgrades should be investigated
2174 and avoided, and perhaps others as well. Here are the complete list
2175 of planned removals. The complete logs is available from the URL
2176 above. Note if you want to repeat these tests, that the upgrade test
2177 for kde+apt-get hung in the tasksel setup because of dpkg asking
2178 conffile questions. No idea why. I worked around it by using
2179 '
<tt>echo
>> /proc/
<em>pidofdpkg
</em>/fd/
0</tt>' to tell dpkg to
2182 <p><b>apt-get gnome
72</b>
2183 <br>bluez-gnome cupsddk-drivers deskbar-applet gnome
2184 gnome-desktop-environment gnome-network-admin gtkhtml3.14
2185 iceweasel-gnome-support libavcodec51 libdatrie0 libgdl-
1-
0
2186 libgnomekbd2 libgnomekbdui2 libmetacity0 libslab0 libxcb-xlib0
2187 nautilus-cd-burner python-gnome2-desktop python-gnome2-extras
2188 serpentine swfdec-mozilla update-manager xorg xserver-xorg
2189 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
2190 xserver-xorg-input-kbd xserver-xorg-input-mouse
2191 xserver-xorg-input-synaptics xserver-xorg-input-wacom
2192 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
2193 xserver-xorg-video-ati xserver-xorg-video-chips
2194 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
2195 xserver-xorg-video-dummy xserver-xorg-video-fbdev
2196 xserver-xorg-video-glint xserver-xorg-video-i128
2197 xserver-xorg-video-i740 xserver-xorg-video-imstt
2198 xserver-xorg-video-intel xserver-xorg-video-mach64
2199 xserver-xorg-video-mga xserver-xorg-video-neomagic
2200 xserver-xorg-video-nsc xserver-xorg-video-nv
2201 xserver-xorg-video-openchrome xserver-xorg-video-r128
2202 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
2203 xserver-xorg-video-rendition xserver-xorg-video-s3
2204 xserver-xorg-video-s3virge xserver-xorg-video-savage
2205 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
2206 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
2207 xserver-xorg-video-tga xserver-xorg-video-trident
2208 xserver-xorg-video-tseng xserver-xorg-video-v4l
2209 xserver-xorg-video-vesa xserver-xorg-video-vga
2210 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-
1.9
2211 xulrunner-
1.9-gnome-support
</p>
2213 <p><b>aptitude gnome
129</b>
2215 <br>bluez-gnome bluez-utils cpp-
4.3 cupsddk-drivers dhcdbd
2216 djvulibre-desktop finger gnome-app-install gnome-mount
2217 gnome-network-admin gnome-spell gnome-vfs-obexftp
2218 gnome-volume-manager gstreamer0.10-gnomevfs gtkhtml3.14 libao2
2219 libavahi-compat-libdnssd1 libavahi-core5 libavcodec51 libbluetooth2
2220 libcamel1.2-
11 libcdio7 libcucul0 libcupsys2 libcurl3 libdatrie0
2221 libdirectfb-
1.0-
0 libdvdread3 libedataserver1.2-
9 libeel2-
2.20
2222 libeel2-data libepc-
1.0-
1 libepc-ui-
1.0-
1 libfaad0 libgail-common
2223 libgd2-noxpm libgda3-
3 libgda3-common libgdl-
1-
0 libgdl-
1-common
2224 libggz2 libggzcore9 libggzmod4 libgksu1.2-
0 libgksuui1.0-
1 libgmyth0
2225 libgnomecups1.0-
1 libgnomekbd2 libgnomekbdui2 libgnomeprint2.2-
0
2226 libgnomeprint2.2-data libgnomeprintui2.2-
0 libgnomeprintui2.2-common
2227 libgnomevfs2-bin libgpod3 libgraphviz4 libgtkhtml2-
0
2228 libgtksourceview-common libgtksourceview1.0-
0 libgucharmap6
2229 libhesiod0 libicu38 libiw29 libkpathsea4 libltdl3 libmagick++
10
2230 libmagick10 libmalaga7 libmetacity0 libmtp7 libmysqlclient15off
2231 libnautilus-burn4 libneon27 libnm-glib0 libnm-util0 libopal-
2.2
2232 libosp5 libparted1.8-
10 libpoppler-glib3 libpoppler3 libpt-
1.10.10
2233 libpt-
1.10.10-plugins-alsa libpt-
1.10.10-plugins-v4l libraw1394-
8
2234 libsensors3 libslab0 libsmbios2 libsoup2.2-
8 libssh2-
1
2235 libsuitesparse-
3.1.0 libswfdec-
0.6-
90 libtalloc1 libtotem-plparser10
2236 libtrackerclient0 libxalan2-java libxalan2-java-gcj libxcb-xlib0
2237 libxerces2-java libxerces2-java-gcj libxklavier12 libxtrap6
2238 libxxf86misc1 libzephyr3 mysql-common nautilus-cd-burner
2239 openoffice.org-writer2latex openssl-blacklist p7zip
2240 python-
4suite-xml python-eggtrayicon python-gnome2-desktop
2241 python-gnome2-extras python-gtkhtml2 python-gtkmozembed
2242 python-numeric python-sexy serpentine svgalibg1 swfdec-gnome
2243 swfdec-mozilla totem-gstreamer update-manager wodim
2244 xserver-xorg-video-cyrix xserver-xorg-video-imstt
2245 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
2248 <p><b>apt-get kde
82</b>
2250 <br>cupsddk-drivers karm kaudiocreator kcoloredit kcontrol kde kde-core
2251 kdeaddons kdeartwork kdebase kdebase-bin kdebase-bin-kde3
2252 kdebase-kio-plugins kdesktop kdeutils khelpcenter kicker
2253 kicker-applets knewsticker kolourpaint konq-plugins konqueror korn
2254 kpersonalizer kscreensaver ksplash libavcodec51 libdatrie0 libkiten1
2255 libxcb-xlib0 quanta superkaramba texlive-base-bin xorg xserver-xorg
2256 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
2257 xserver-xorg-input-kbd xserver-xorg-input-mouse
2258 xserver-xorg-input-synaptics xserver-xorg-input-wacom
2259 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
2260 xserver-xorg-video-ati xserver-xorg-video-chips
2261 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
2262 xserver-xorg-video-dummy xserver-xorg-video-fbdev
2263 xserver-xorg-video-glint xserver-xorg-video-i128
2264 xserver-xorg-video-i740 xserver-xorg-video-imstt
2265 xserver-xorg-video-intel xserver-xorg-video-mach64
2266 xserver-xorg-video-mga xserver-xorg-video-neomagic
2267 xserver-xorg-video-nsc xserver-xorg-video-nv
2268 xserver-xorg-video-openchrome xserver-xorg-video-r128
2269 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
2270 xserver-xorg-video-rendition xserver-xorg-video-s3
2271 xserver-xorg-video-s3virge xserver-xorg-video-savage
2272 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
2273 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
2274 xserver-xorg-video-tga xserver-xorg-video-trident
2275 xserver-xorg-video-tseng xserver-xorg-video-v4l
2276 xserver-xorg-video-vesa xserver-xorg-video-vga
2277 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-
1.9</p>
2279 <p><b>aptitude kde
192</b>
2280 <br>bluez-utils cpp-
4.3 cupsddk-drivers cvs dcoprss dhcdbd
2281 djvulibre-desktop dosfstools eyesapplet fifteenapplet finger gettext
2282 ghostscript-x imlib-base imlib11 indi kandy karm kasteroids
2283 kaudiocreator kbackgammon kbstate kcoloredit kcontrol kcron kdat
2284 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
2285 kdebase-bin-kde3 kdebase-kio-plugins kdeedu-data
2286 kdegraphics-kfile-plugins kdelirc kdemultimedia-kappfinder-data
2287 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
2288 kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh
2289 kdict kdnssd kdvi kedit keduca kenolaba kfax kfaxview kfouleggs
2290 kghostview khelpcenter khexedit kiconedit kitchensync klatin
2291 klickety kmailcvt kmenuedit kmid kmilo kmoon kmrml kodo kolourpaint
2292 kooka korn kpager kpdf kpercentage kpf kpilot kpoker kpovmodeler
2293 krec kregexpeditor ksayit ksim ksirc ksirtet ksmiletris ksmserver
2294 ksnake ksokoban ksplash ksvg ksysv ktip ktnef kuickshow kverbos
2295 kview kviewshell kvoctrain kwifimanager kwin kwin4 kworldclock
2296 kxsldbg libakode2 libao2 libarts1-akode libarts1-audiofile
2297 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
2298 libavahi-core5 libavc1394-
0 libavcodec51 libbluetooth2
2299 libboost-python1.34
.1 libcucul0 libcurl3 libcvsservice0 libdatrie0
2300 libdirectfb-
1.0-
0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
2301 libgail-common libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-
0
2302 libicu38 libiec61883-
0 libindex0 libiw29 libk3b3 libkcal2b libkcddb1
2303 libkdeedu3 libkdepim1a libkgantt0 libkiten1 libkleopatra1 libkmime2
2304 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
2305 libksieve0 libktnef1 liblockdev1 libltdl3 libmagick10 libmimelib1c2a
2306 libmozjs1d libmpcdec3 libneon27 libnm-util0 libopensync0 libpisock9
2307 libpoppler-glib3 libpoppler-qt2 libpoppler3 libraw1394-
8 libsmbios2
2308 libssh2-
1 libsuitesparse-
3.1.0 libtalloc1 libtiff-tools
2309 libxalan2-java libxalan2-java-gcj libxcb-xlib0 libxerces2-java
2310 libxerces2-java-gcj libxtrap6 mpeglib networkstatus
2311 openoffice.org-writer2latex pmount poster psutils quanta quanta-data
2312 superkaramba svgalibg1 tex-common texlive-base texlive-base-bin
2313 texlive-common texlive-doc-base texlive-fonts-recommended
2314 xserver-xorg-video-cyrix xserver-xorg-video-imstt
2315 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
2324 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>.
2328 <div class=
"padding"></div>
2332 <a href=
"http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html">Officeshots taking shape
</a>
2340 <p>For those of us caring about document exchange and
2341 interoperability,
<a href=
"http://www.officeshots.org/">OfficeShots
</a>
2342 is a great service. It is to ODF documents what
2343 <a href=
"http://browsershots.org/">BrowserShots
</a> is for web
2346 <p>A while back, I was contacted by Knut Yrvin at the part of Nokia
2347 that used to be Trolltech, who wanted to help the OfficeShots project
2348 and wondered if the University of Oslo where I work would be
2349 interested in supporting the project. I helped him to navigate his
2350 request to the right people at work, and his request was answered with
2351 a spot in the machine room with power and network connected, and Knut
2352 arranged funding for a machine to fill the spot. The machine is
2353 administrated by the OfficeShots people, so I do not have daily
2354 contact with its progress, and thus from time to time check back to
2355 see how the project is doing.
</p>
2357 <p>Today I had a look, and was happy to see that the Dell box in our
2358 machine room now is the host for several virtual machines running as
2359 OfficeShots factories, and the project is able to render ODF documents
2360 in
17 different document processing implementation on Linux and
2361 Windows. This is great.
</p>
2368 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>.
2372 <div class=
"padding"></div>
2376 <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>
2384 <p>A few times I have had the need to simulate the way tasksel
2385 installs packages during the normal debian-installer run. Until now,
2386 I have ended up letting tasksel do the work, with the annoying problem
2387 of not getting any feedback at all when something fails (like a
2388 conffile question from dpkg or a download that fails), using code like
2392 export DEBIAN_FRONTEND=noninteractive
2393 tasksel --new-install
2396 This would invoke tasksel, let its automatic task selection pick the
2397 tasks to install, and continue to install the requested tasks without
2398 any output what so ever.
2400 Recently I revisited this problem while working on the automatic
2401 package upgrade testing, because tasksel would some times hang without
2402 any useful feedback, and I want to see what is going on when it
2403 happen. Then it occured to me, I can parse the output from tasksel
2404 when asked to run in test mode, and use that aptitude command line
2405 printed by tasksel then to simulate the tasksel run. I ended up using
2409 export DEBIAN_FRONTEND=noninteractive
2410 cmd="$(in_target tasksel -t --new-install | sed 's/debconf-apt-progress -- //')"
2414 <p>The content of $cmd is typically something like "
<tt>aptitude -q
2415 --without-recommends -o APT::Install-Recommends=no -y install
2416 ~t^desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired
2417 ~pimportant
</tt>", which will install the gnome desktop task, the
2418 laptop task and all packages with priority standard , required and
2419 important, just like tasksel would have done it during
2422 <p>A better approach is probably to extend tasksel to be able to
2423 install packages without using debconf-apt-progress, for use cases
2431 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>.
2435 <div class="padding
"></div>
2439 <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>
2448 <a href="http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html
">complained
2449 about the fact</a> that it is not possible with the provided schemas
2450 for storing DNS and DHCP information in LDAP to combine the two sets
2451 of information into one LDAP object representing a computer.</p>
2453 <p>In the mean time, I discovered that a simple fix would be to make
2454 the dhcpHost object class auxiliary, to allow it to be combined with
2455 the dNSDomain object class, and thus forming one object for one
2456 computer when storing both DHCP and DNS information in LDAP.</p>
2458 <p>If I understand this correctly, it is not safe to do this change
2459 without also changing the assigned number for the object class, and I
2460 do not know enough about LDAP schema design to do that properly for
2463 <p>Anyway, for future reference, this is how I believe we could change
2465 <a href="http://tools.ietf.org/html/draft-ietf-dhc-ldap-schema-
00">DHCP
2466 schema</a> to solve at least part of the problem with the LDAP schemas
2467 available today from IETF.</p>
2470 --- dhcp.schema (revision 65192)
2471 +++ dhcp.schema (working copy)
2473 objectclass ( 2.16.840.1.113719.1.203.6.6
2475 DESC 'This represents information about a particular client'
2479 MAY (dhcpLeaseDN $ dhcpHWAddress $ dhcpOptionsDN $ dhcpStatements $ dhcpComments $ dhcpOption)
2480 X-NDS_CONTAINMENT ('dhcpService' 'dhcpSubnet' 'dhcpGroup') )
2483 <p>I very much welcome clues on how to do this properly for Debian
2484 Edu/Squeeze. We provide the DHCP schema in our debian-edu-config
2485 package, and should thus be free to rewrite it as we see fit.</p>
2487 <p>If you want to help out with implementing this for Debian Edu,
2488 please contact us on debian-edu@lists.debian.org.</p>
2495 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>.
2499 <div class="padding
"></div>
2503 <a href="http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html
">LUMA, a very nice LDAP GUI</a>
2511 <p>The last few days I have been looking into the status of the LDAP
2512 directory in Debian Edu, and in the process I started to miss a GUI
2513 tool to browse the LDAP tree. The only one I was able to find in
2514 Debian/Squeeze and Lenny is
2515 <a href="http://luma.sourceforge.net/
">LUMA</a>, which has proved to
2516 be a great tool to get a overview of the current LDAP directory
2517 populated by default in Skolelinux. Thanks to it, I have been able to
2518 find empty and obsolete subtrees, misplaced objects and duplicate
2519 objects. It will be installed by default in Debian/Squeeze. If you
2520 are working with LDAP, give it a go. :)</p>
2522 <p>I did notice one problem with it I have not had time to report to
2523 the BTS yet. There is no .desktop file in the package, so the tool do
2524 not show up in the Gnome and KDE menus, but only deep down in in the
2525 Debian submenu in KDE. I hope that can be fixed before Squeeze is
2528 <p>I have not yet been able to get it to modify the tree yet. I would
2529 like to move objects and remove subtrees directly in the GUI, but have
2530 not found a way to do that with LUMA yet. So in the mean time, I use
2531 <a href="http://www.lichteblau.com/ldapvi/
">ldapvi</a> for that.</p>
2533 <p>If you have tips on other GUI tools for LDAP that might be useful
2534 in Debian Edu, please contact us on debian-edu@lists.debian.org.</p>
2536 <p>Update 2010-06-29: Ross Reedstrom tipped us about the
2537 <a href="http://packages.qa.debian.org/g/gq.html
">gq</a> package as a
2538 useful GUI alternative. It seem like a good tool, but is unmaintained
2539 in Debian and got a RC bug keeping it out of Squeeze. Unless that
2540 changes, it will not be an option for Debian Edu based on Squeeze.</p>
2547 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>.
2551 <div class="padding
"></div>
2555 <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>
2563 <p>For a laptop, centralized user directories and password checking is
2564 a bit troubling. Laptops are typically used also when not connected
2565 to the network, and it is vital for a user to be able to log in or
2566 unlock the screen saver also when a central server is unavailable.
2567 This is possible by caching passwords and directory information (user
2568 and group attributes) locally, and the packages to do so are available
2569 in Debian. Here follow two recipes to set this up in Debian/Squeeze.
2570 It is also possible to set up in Debian/Lenny, but require more manual
2571 setup there because pam-auth-update is missing in Lenny.</p>
2573 <h2>LDAP/Kerberos + nscd + libpam-ccreds + libpam-mklocaluser/pam_mkhomedir</h2>
2575 This is the traditional method with a twist. The password caching is
2576 provided by libpam-ccreds (version 10-4 or later is needed on
2577 Squeeze), and the directory caching is done by nscd. The directory
2578 lookup and password checking is done using LDAP. If one want to use
2579 Kerberos for password checking the libpam-ldapd package can be
2580 replaced with libpam-krb5 or libpam-heimdal. If one is happy having a
2581 local home directory with the path listed in LDAP, one can use the
2582 pam_mkhomedir module from pam-modules to make this happen instead of
2583 using libpam-mklocaluser. A setup for pam-auth-update to enable
2584 pam_mkhomedir will have to be written until a fix for
2585 <a href="http://bugs.debian.org/
568577">bug #568577</a> is in the
2586 archive. Because I believe it is a bad idea to have local home
2587 directories using misleading paths like /site/server/partition/, I
2588 prefer to create a local user with the home directory in /home/. This
2589 is done using the libpam-mklocaluser package.</p>
2591 <p>These packages need to be installed and configured</p>
2594 libnss-ldapd libpam-ldapd nscd libpam-ccreds libpam-mklocaluser
2597 <p>The ldapd packages will ask for LDAP connection information, and
2598 one have to fill in the values that fits ones own site. Make sure the
2599 PAM part uses encrypted connections, to make sure the password is not
2600 sent in clear text to the LDAP server. I've been unable to get TLS
2601 certificate checking for a self signed certificate working, which make
2602 LDAP authentication unsafe for Debian Edu (nslcd is not checking if it
2603 is talking to the correct LDAP server), and very much welcome feedback
2604 on how to get this working.</p>
2606 <p>Because nscd do not have a default configuration fit for offline
2607 caching until <a href="http://bugs.debian.org/
485282">bug #485282</a>
2608 is fixed, this configuration should be used instead of the one
2609 currently in /etc/nscd.conf. The changes are in the fields
2610 reload-count and positive-time-to-live, and is based on the
2611 instructions I found in the
2612 <a href="http://www.flyn.org/laptopldap/
">LDAP for Mobile Laptops</a>
2613 instructions by Flyn Computing.</p>
2617 reload-count unlimited
2620 enable-cache passwd yes
2621 positive-time-to-live passwd 2592000
2622 negative-time-to-live passwd 20
2623 suggested-size passwd 211
2624 check-files passwd yes
2625 persistent passwd yes
2627 max-db-size passwd 33554432
2628 auto-propagate passwd yes
2630 enable-cache group yes
2631 positive-time-to-live group 2592000
2632 negative-time-to-live group 20
2633 suggested-size group 211
2634 check-files group yes
2635 persistent group yes
2637 max-db-size group 33554432
2638 auto-propagate group yes
2640 enable-cache hosts no
2641 positive-time-to-live hosts 2592000
2642 negative-time-to-live hosts 20
2643 suggested-size hosts 211
2644 check-files hosts yes
2645 persistent hosts yes
2647 max-db-size hosts 33554432
2649 enable-cache services yes
2650 positive-time-to-live services 2592000
2651 negative-time-to-live services 20
2652 suggested-size services 211
2653 check-files services yes
2654 persistent services yes
2656 max-db-size services 33554432
2659 <p>While we wait for a mechanism to update /etc/nsswitch.conf
2660 automatically like the one provided in
2661 <a href="http://bugs.debian.org/
496915">bug #496915</a>, the file
2662 content need to be manually replaced to ensure LDAP is used as the
2663 directory service on the machine. /etc/nsswitch.conf should normally
2670 hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
2676 netgroup: files ldap
2679 <p>The important parts are that ldap is listed last for passwd, group,
2680 shadow and netgroup.</p>
2682 <p>With these changes in place, any user in LDAP will be able to log
2683 in locally on the machine using for example kdm, get a local home
2684 directory created and have the password as well as user and group
2687 <h2>LDAP/Kerberos + nss-updatedb + libpam-ccreds +
2688 libpam-mklocaluser/pam_mkhomedir</h2>
2690 <p>Because nscd have had its share of problems, and seem to have
2691 problems doing proper caching, I've seen suggestions and recipes to
2692 use nss-updatedb to copy parts of the LDAP database locally when the
2693 LDAP database is available. I have not tested such setup, because I
2694 discovered sssd.</p>
2696 <h2>LDAP/Kerberos + sssd + libpam-mklocaluser</h2>
2698 <p>A more flexible and robust setup than the nscd combination
2699 mentioned earlier that has shown up recently, is the
2700 <a href="https://fedorahosted.org/sssd/
">sssd</a> package from Redhat.
2701 It is part of the <a href="http://www.freeipa.org/
">FreeIPA</A> project
2702 to provide a Active Directory like directory service for Linux
2703 machines. The sssd system combines the caching of passwords and user
2704 information into one package, and remove the need for nscd and
2705 libpam-ccreds. It support LDAP and Kerberos, but not NIS. Version
2706 1.2 do not support netgroups, but it is said that it will support this
2707 in version 1.5 expected to show up later in 2010. Because the
2708 <a href="http://packages.qa.debian.org/s/sssd.html
">sssd package</a>
2709 was missing in Debian, I ended up co-maintaining it with Werner, and
2710 version 1.2 is now in testing.
2712 <p>These packages need to be installed and configured to get the
2713 roaming setup I want</p>
2716 libpam-sss libnss-sss libpam-mklocaluser
2719 The complete setup of sssd is done by editing/creating
2720 <tt>/etc/sssd/sssd.conf</tt>.
2724 config_file_version = 2
2725 reconnection_retries = 3
2731 filter_groups = root
2733 reconnection_retries = 3
2736 reconnection_retries = 3
2740 cache_credentials = true
2743 auth_provider = ldap
2744 chpass_provider = ldap
2746 ldap_uri = ldap://ldap
2747 ldap_search_base = dc=skole,dc=skolelinux,dc=no
2748 ldap_tls_reqcert = never
2749 ldap_tls_cacert = /etc/ssl/certs/ca-certificates.crt
2752 <p>I got the same problem here with certificate checking. Had to set
2753 "ldap_tls_reqcert = never" to get it working.
</p>
2755 <p>With the libnss-sss package in testing at the moment, the
2756 nsswitch.conf file is update automatically, so there is no need to
2757 modify it manually.
</p>
2759 <p>If you want to help out with implementing this for Debian Edu,
2760 please contact us on debian-edu@lists.debian.org.
</p>
2767 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>.
2771 <div class=
"padding"></div>
2775 <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>
2783 <p>Here is a short update on my
<a
2784 href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing/">my
2785 Debian Lenny-
>Squeeze upgrade testing
</a>. Here is a summary of the
2786 difference for Gnome when it is upgraded by apt-get and aptitude. I'm
2787 not reporting the status for KDE, because the upgrade crashes when
2788 aptitude try because of missing conflicts
2789 (
<a href=
"http://bugs.debian.org/584861">#
584861</a> and
2790 <a href=
"http://bugs.debian.org/585716">#
585716</a>).
</p>
2792 <p>At the end of the upgrade test script, dpkg -l is executed to get a
2793 complete list of the installed packages. Based on this I see these
2794 differences when I did a test run today. As usual, I do not really
2795 know what the correct set of packages would be, but thought it best to
2796 publish the difference.
</p>
2798 <p>Installed using apt-get, missing with aptitude
</p>
2801 at-spi cpp-
4.3 finger gnome-spell gstreamer0.10-gnomevfs
2802 libatspi1.0-
0 libcupsys2 libeel2-data libgail-common libgdl-
1-common
2803 libgnomeprint2.2-data libgnomeprintui2.2-common libgnomevfs2-bin
2804 libgtksourceview-common libpt-
1.10.10-plugins-alsa
2805 libpt-
1.10.10-plugins-v4l libservlet2.4-java libxalan2-java
2806 libxerces2-java openoffice.org-writer2latex openssl-blacklist p7zip
2807 python-
4suite-xml python-eggtrayicon python-gtkhtml2
2808 python-gtkmozembed svgalibg1 xserver-xephyr zip
2811 <p>Installed using apt-get, removed with aptitude
</p>
2814 bluez-utils dhcdbd djvulibre-desktop epiphany-gecko
2815 gnome-app-install gnome-mount gnome-vfs-obexftp gnome-volume-manager
2816 libao2 libavahi-compat-libdnssd1 libavahi-core5 libbind9-
50
2817 libbluetooth2 libcamel1.2-
11 libcdio7 libcucul0 libcurl3
2818 libdirectfb-
1.0-
0 libdvdread3 libedata-cal1.2-
6 libedataserver1.2-
9
2819 libeel2-
2.20 libepc-
1.0-
1 libepc-ui-
1.0-
1 libexchange-storage1.2-
3
2820 libfaad0 libgd2-noxpm libgda3-
3 libgda3-common libggz2 libggzcore9
2821 libggzmod4 libgksu1.2-
0 libgksuui1.0-
1 libgmyth0 libgnome-desktop-
2
2822 libgnome-pilot2 libgnomecups1.0-
1 libgnomeprint2.2-
0
2823 libgnomeprintui2.2-
0 libgpod3 libgraphviz4 libgtkhtml2-
0
2824 libgtksourceview1.0-
0 libgucharmap6 libhesiod0 libicu38 libisccc50
2825 libisccfg50 libiw29 libkpathsea4 libltdl3 liblwres50 libmagick++
10
2826 libmagick10 libmalaga7 libmtp7 libmysqlclient15off libnautilus-burn4
2827 libneon27 libnm-glib0 libnm-util0 libopal-
2.2 libosp5
2828 libparted1.8-
10 libpisock9 libpisync1 libpoppler-glib3 libpoppler3
2829 libpt-
1.10.10 libraw1394-
8 libsensors3 libsmbios2 libsoup2.2-
8
2830 libssh2-
1 libsuitesparse-
3.1.0 libswfdec-
0.6-
90 libtalloc1
2831 libtotem-plparser10 libtrackerclient0 libvoikko1 libxalan2-java-gcj
2832 libxerces2-java-gcj libxklavier12 libxtrap6 libxxf86misc1 libzephyr3
2833 mysql-common swfdec-gnome totem-gstreamer wodim
2836 <p>Installed using aptitude, missing with apt-get
</p>
2839 gnome gnome-desktop-environment hamster-applet python-gnomeapplet
2840 python-gnomekeyring python-wnck rhythmbox-plugins xorg
2841 xserver-xorg-input-all xserver-xorg-input-evdev
2842 xserver-xorg-input-kbd xserver-xorg-input-mouse
2843 xserver-xorg-input-synaptics xserver-xorg-video-all
2844 xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati
2845 xserver-xorg-video-chips xserver-xorg-video-cirrus
2846 xserver-xorg-video-dummy xserver-xorg-video-fbdev
2847 xserver-xorg-video-glint xserver-xorg-video-i128
2848 xserver-xorg-video-i740 xserver-xorg-video-mach64
2849 xserver-xorg-video-mga xserver-xorg-video-neomagic
2850 xserver-xorg-video-nouveau xserver-xorg-video-nv
2851 xserver-xorg-video-r128 xserver-xorg-video-radeon
2852 xserver-xorg-video-radeonhd xserver-xorg-video-rendition
2853 xserver-xorg-video-s3 xserver-xorg-video-s3virge
2854 xserver-xorg-video-savage xserver-xorg-video-siliconmotion
2855 xserver-xorg-video-sis xserver-xorg-video-sisusb
2856 xserver-xorg-video-tdfx xserver-xorg-video-tga
2857 xserver-xorg-video-trident xserver-xorg-video-tseng
2858 xserver-xorg-video-vesa xserver-xorg-video-vmware
2859 xserver-xorg-video-voodoo
2862 <p>Installed using aptitude, removed with apt-get
</p>
2865 deskbar-applet xserver-xorg xserver-xorg-core
2866 xserver-xorg-input-wacom xserver-xorg-video-intel
2867 xserver-xorg-video-openchrome
2870 <p>I was told on IRC that the xorg-xserver package was
2871 <a href=
"http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=9c8080d06c457932d3bfec021c69ac000aa60120">changed
2872 in git
</a> today to try to get apt-get to not remove xorg completely.
2873 No idea when it hits Squeeze, but when it does I hope it will reduce
2874 the difference somewhat.
2881 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>.
2885 <div class=
"padding"></div>
2889 <a href=
"http://people.skolelinux.org/pere/blog/jXplorer__a_very_nice_LDAP_GUI.html">jXplorer, a very nice LDAP GUI
</a>
2898 <a href=
"http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html">my
2899 last post
</a> about available LDAP tools in Debian, I was told about a
2900 LDAP GUI that is even better than luma. The java application
2901 <a href=
"http://jxplorer.org/">jXplorer
</a> is claimed to be capable of
2902 moving LDAP objects and subtrees using drag-and-drop, and can
2903 authenticate using Kerberos. I have only tested the Kerberos
2904 authentication, but do not have a LDAP setup allowing me to rewrite
2905 LDAP with my test user yet. It is
2906 <a href=
"http://packages.qa.debian.org/j/jxplorer.html">available in
2907 Debian
</a> testing and unstable at the moment. The only problem I
2908 have with it is how it handle errors. If something go wrong, its
2909 non-intuitive behaviour require me to go through some query work list
2910 and remove the failing query. Nothing big, but very annoying.
</p>
2917 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>.
2921 <div class=
"padding"></div>
2925 <a href=
"http://people.skolelinux.org/pere/blog/Idea_for_storing_LTSP_configuration_in_LDAP.html">Idea for storing LTSP configuration in LDAP
</a>
2933 <p>Vagrant mentioned on IRC today that ltsp_config now support
2934 sourcing files from /usr/share/ltsp/ltsp_config.d/ on the thin
2935 clients, and that this can be used to fetch configuration from LDAP if
2936 Debian Edu choose to store configuration there.
</p>
2938 <p>Armed with this information, I got inspired and wrote a test module
2939 to get configuration from LDAP. The idea is to look up the MAC
2940 address of the client in LDAP, and look for attributes on the form
2941 ltspconfigsetting=value, and use this to export SETTING=value to the
2944 <p>The goal is to be able to store the LTSP configuration attributes
2945 in a "computer" LDAP object used by both DNS and DHCP, and thus
2946 allowing us to store all information about a computer in one place.
</p>
2948 <p>This is a untested draft implementation, and I welcome feedback on
2949 this approach. A real LDAP schema for the ltspClientAux objectclass
2950 need to be written. Comments, suggestions, etc?
</p>
2953 # Store in /opt/ltsp/$arch/usr/share/ltsp/ltsp_config.d/ldap-config
2955 # Fetch LTSP client settings from LDAP based on MAC address
2957 # Uses ethernet address as stored in the dhcpHost objectclass using
2958 # the dhcpHWAddress attribute or ethernet address stored in the
2959 # ieee802Device objectclass with the macAddress attribute.
2961 # This module is written to be schema agnostic, and only depend on the
2962 # existence of attribute names.
2964 # The LTSP configuration variables are saved directly using a
2965 # ltspConfig prefix and uppercasing the rest of the attribute name.
2966 # To set the SERVER variable, set the ltspConfigServer attribute.
2968 # Some LDAP schema should be created with all the relevant
2969 # configuration settings. Something like this should work:
2971 # objectclass (
1.1.2.2 NAME 'ltspClientAux'
2974 # MAY ( ltspConfigServer $ ltsConfigSound $ ... )
2976 LDAPSERVER=$(debian-edu-ldapserver)
2977 if [ "$LDAPSERVER" ] ; then
2978 LDAPBASE=$(debian-edu-ldapserver -b)
2979 for MAC in $(LANG=C ifconfig |grep -i hwaddr| awk '{print $
5}'|sort -u) ; do
2980 filter="(|(dhcpHWAddress=ethernet $MAC)(macAddress=$MAC))"
2981 ldapsearch -h "$LDAPSERVER" -b "$LDAPBASE" -v -x "$filter" | \
2982 grep '^ltspConfig' | while read attr value ; do
2983 # Remove prefix and convert to upper case
2984 attr=$(echo $attr | sed 's/^ltspConfig//i' | tr a-z A-Z)
2985 # bass value on to clients
2986 eval "$attr=$value; export $attr"
2992 <p>I'm not sure this shell construction will work, because I suspect
2993 the while block might end up in a subshell causing the variables set
2994 there to not show up in ltsp-config, but if that is the case I am sure
2995 the code can be restructured to make sure the variables are passed on.
2996 I expect that can be solved with some testing. :)
</p>
2998 <p>If you want to help out with implementing this for Debian Edu,
2999 please contact us on debian-edu@lists.debian.org.
</p>
3001 <p>Update
2010-
07-
17: I am aware of another effort to store LTSP
3002 configuration in LDAP that was created around year
2000 by
3003 <a href=
"http://www.pcxperience.com/thinclient/documentation/ldap.html">PC
3004 Xperience, Inc.,
2000</a>. I found its
3005 <a href=
"http://people.redhat.com/alikins/ltsp/ldap/">files
</a> on a
3006 personal home page over at redhat.com.
</p>
3013 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>.
3017 <div class=
"padding"></div>
3021 <a href=
"http://people.skolelinux.org/pere/blog/Combining_PowerDNS_and_ISC_DHCP_LDAP_objects.html">Combining PowerDNS and ISC DHCP LDAP objects
</a>
3029 <p>For a while now, I have wanted to find a way to change the DNS and
3030 DHCP services in Debian Edu to use the same LDAP objects for a given
3031 computer, to avoid the possibility of having a inconsistent state for
3032 a computer in LDAP (as in DHCP but no DNS entry or the other way
3033 around) and make it easier to add computers to LDAP.
</p>
3035 <p>I've looked at how powerdns and dhcpd is using LDAP, and using this
3036 information finally found a solution that seem to work.
</p>
3038 <p>The old setup required three LDAP objects for a given computer.
3039 One forward DNS entry, one reverse DNS entry and one DHCP entry. If
3040 we switch powerdns to use its strict LDAP method (ldap-method=strict
3041 in pdns-debian-edu.conf), the forward and reverse DNS entries are
3042 merged into one while making it impossible to transfer the reverse map
3043 to a slave DNS server.
</p>
3045 <p>If we also replace the object class used to get the DNS related
3046 attributes to one allowing these attributes to be combined with the
3047 dhcphost object class, we can merge the DNS and DHCP entries into one.
3048 I've written such object class in the dnsdomainaux.schema file (need
3049 proper OIDs, but that is a minor issue), and tested the setup. It
3052 <p>With this test setup in place, we can get away with one LDAP object
3053 for both DNS and DHCP, and even the LTSP configuration I suggested in
3054 an earlier email. The combined LDAP object will look something like
3058 dn: cn=hostname,cn=group1,cn=THINCLIENTS,cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
3060 objectClass: dhcphost
3061 objectclass: domainrelatedobject
3062 objectclass: dnsdomainaux
3063 associateddomain: hostname.intern
3064 arecord:
10.11.12.13
3065 dhcphwaddress: ethernet
00:
00:
00:
00:
00:
00
3066 dhcpstatements: fixed-address hostname
3070 <p>The DNS server uses the associateddomain and arecord entries, while
3071 the DHCP server uses the dhcphwaddress and dhcpstatements entries
3072 before asking DNS to resolve the fixed-adddress. LTSP will use
3073 dhcphwaddress or associateddomain and the ldapconfig* attributes.
</p>
3075 <p>I am not yet sure if I can get the DHCP server to look for its
3076 dhcphost in a different location, to allow us to put the objects
3077 outside the "DHCP Config" subtree, but hope to figure out a way to do
3078 that. If I can't figure out a way to do that, we can still get rid of
3079 the hosts subtree and move all its content into the DHCP Config tree
3080 (which probably should be renamed to be more related to the new
3081 content. I suspect cn=dnsdhcp,ou=services or something like that
3082 might be a good place to put it.
</p>
3084 <p>If you want to help out with implementing this for Debian Edu,
3085 please contact us on debian-edu@lists.debian.org.
</p>
3092 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>.
3096 <div class=
"padding"></div>
3100 <a href=
"http://people.skolelinux.org/pere/blog/What_are_they_searching_for___PowerDNS_and_ISC_DHCP_in_LDAP.html">What are they searching for - PowerDNS and ISC DHCP in LDAP
</a>
3109 <a href=
"http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html">followup
</a>
3111 <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">previous
3113 <a href=
"http://people.skolelinux.org/pere/blog/Combining_PowerDNS_and_ISC_DHCP_LDAP_objects.html">merging
3114 all
</a> the computer related LDAP objects in Debian Edu.
</p>
3116 <p>As a step to try to see if it possible to merge the DNS and DHCP
3117 LDAP objects, I have had a look at how the packages pdns-backend-ldap
3118 and dhcp3-server-ldap in Debian use the LDAP server. The two
3119 implementations are quite different in how they use LDAP.
</p>
3121 To get this information, I started slapd with debugging enabled and
3122 dumped the debug output to a file to get the LDAP searches performed
3123 on a Debian Edu main-server. Here is a summary.
3125 <p><strong>powerdns
</strong></p>
3127 <a href=
"http://www.linuxnetworks.de/doc/index.php/PowerDNS_LDAP_Backend">Clues
3128 on how to
</a> set up PowerDNS to use a LDAP backend is available on
3131 <p>PowerDNS have two modes of operation using LDAP as its backend.
3132 One "strict" mode where the forward and reverse DNS lookups are done
3133 using the same LDAP objects, and a "tree" mode where the forward and
3134 reverse entries are in two different subtrees in LDAP with a structure
3135 based on the DNS names, as in tjener.intern and
3136 2.2.0.10.in-addr.arpa.
</p>
3138 <p>In tree mode, the server is set up to use a LDAP subtree as its
3139 base, and uses a "base" scoped search for the DNS name by adding
3140 "dc=tjener,dc=intern," to the base with a filter for
3141 "(associateddomain=tjener.intern)" for the forward entry and
3142 "dc=
2,dc=
2,dc=
0,dc=
10,dc=in-addr,dc=arpa," with a filter for
3143 "(associateddomain=
2.2.0.10.in-addr.arpa)" for the reverse entry. For
3144 forward entries, it is looking for attributes named dnsttl, arecord,
3145 nsrecord, cnamerecord, soarecord, ptrrecord, hinforecord, mxrecord,
3146 txtrecord, rprecord, afsdbrecord, keyrecord, aaaarecord, locrecord,
3147 srvrecord, naptrrecord, kxrecord, certrecord, dsrecord, sshfprecord,
3148 ipseckeyrecord, rrsigrecord, nsecrecord, dnskeyrecord, dhcidrecord,
3149 spfrecord and modifytimestamp. For reverse entries it is looking for
3150 the attributes dnsttl, arecord, nsrecord, cnamerecord, soarecord,
3151 ptrrecord, hinforecord, mxrecord, txtrecord, rprecord, aaaarecord,
3152 locrecord, srvrecord, naptrrecord and modifytimestamp. The equivalent
3153 ldapsearch commands could look like this:
</p>
3156 ldapsearch -h ldap \
3157 -b dc=tjener,dc=intern,ou=hosts,dc=skole,dc=skolelinux,dc=no \
3158 -s base -x '(associateddomain=tjener.intern)' dNSTTL aRecord nSRecord \
3159 cNAMERecord sOARecord pTRRecord hInfoRecord mXRecord tXTRecord \
3160 rPRecord aFSDBRecord KeyRecord aAAARecord lOCRecord sRVRecord \
3161 nAPTRRecord kXRecord certRecord dSRecord sSHFPRecord iPSecKeyRecord \
3162 rRSIGRecord nSECRecord dNSKeyRecord dHCIDRecord sPFRecord modifyTimestamp
3164 ldapsearch -h ldap \
3165 -b dc=
2,dc=
2,dc=
0,dc=
10,dc=in-addr,dc=arpa,ou=hosts,dc=skole,dc=skolelinux,dc=no \
3166 -s base -x '(associateddomain=
2.2.0.10.in-addr.arpa)'
3167 dnsttl, arecord, nsrecord, cnamerecord soarecord ptrrecord \
3168 hinforecord mxrecord txtrecord rprecord aaaarecord locrecord \
3169 srvrecord naptrrecord modifytimestamp
3172 <p>In Debian Edu/Lenny, the PowerDNS tree mode is used with
3173 ou=hosts,dc=skole,dc=skolelinux,dc=no as the base, and these are two
3174 example LDAP objects used there. In addition to these objects, the
3175 parent objects all th way up to ou=hosts,dc=skole,dc=skolelinux,dc=no
3179 dn: dc=tjener,dc=intern,ou=hosts,dc=skole,dc=skolelinux,dc=no
3181 objectclass: dnsdomain
3182 objectclass: domainrelatedobject
3185 associateddomain: tjener.intern
3187 dn: dc=
2,dc=
2,dc=
0,dc=
10,dc=in-addr,dc=arpa,ou=hosts,dc=skole,dc=skolelinux,dc=no
3189 objectclass: dnsdomain2
3190 objectclass: domainrelatedobject
3192 ptrrecord: tjener.intern
3193 associateddomain:
2.2.0.10.in-addr.arpa
3196 <p>In strict mode, the server behaves differently. When looking for
3197 forward DNS entries, it is doing a "subtree" scoped search with the
3198 same base as in the tree mode for a object with filter
3199 "(associateddomain=tjener.intern)" and requests the attributes dnsttl,
3200 arecord, nsrecord, cnamerecord, soarecord, ptrrecord, hinforecord,
3201 mxrecord, txtrecord, rprecord, aaaarecord, locrecord, srvrecord,
3202 naptrrecord and modifytimestamp. For reverse entires it also do a
3203 subtree scoped search but this time the filter is "(arecord=
10.0.2.2)"
3204 and the requested attributes are associateddomain, dnsttl and
3205 modifytimestamp. In short, in strict mode the objects with ptrrecord
3206 go away, and the arecord attribute in the forward object is used
3209 <p>The forward and reverse searches can be simulated using ldapsearch
3213 ldapsearch -h ldap -b ou=hosts,dc=skole,dc=skolelinux,dc=no -s sub -x \
3214 '(associateddomain=tjener.intern)' dNSTTL aRecord nSRecord \
3215 cNAMERecord sOARecord pTRRecord hInfoRecord mXRecord tXTRecord \
3216 rPRecord aFSDBRecord KeyRecord aAAARecord lOCRecord sRVRecord \
3217 nAPTRRecord kXRecord certRecord dSRecord sSHFPRecord iPSecKeyRecord \
3218 rRSIGRecord nSECRecord dNSKeyRecord dHCIDRecord sPFRecord modifyTimestamp
3220 ldapsearch -h ldap -b ou=hosts,dc=skole,dc=skolelinux,dc=no -s sub -x \
3221 '(arecord=
10.0.2.2)' associateddomain dnsttl modifytimestamp
3224 <p>In addition to the forward and reverse searches , there is also a
3225 search for SOA records, which behave similar to the forward and
3226 reverse lookups.
</p>
3228 <p>A thing to note with the PowerDNS behaviour is that it do not
3229 specify any objectclass names, and instead look for the attributes it
3230 need to generate a DNS reply. This make it able to work with any
3231 objectclass that provide the needed attributes.
</p>
3233 <p>The attributes are normally provided in the cosine (RFC
1274) and
3234 dnsdomain2 schemas. The latter is used for reverse entries like
3235 ptrrecord and recent DNS additions like aaaarecord and srvrecord.
</p>
3237 <p>In Debian Edu, we have created DNS objects using the object classes
3238 dcobject (for dc), dnsdomain or dnsdomain2 (structural, for the DNS
3239 attributes) and domainrelatedobject (for associatedDomain). The use
3240 of structural object classes make it impossible to combine these
3241 classes with the object classes used by DHCP.
</p>
3243 <p>There are other schemas that could be used too, for example the
3244 dnszone structural object class used by Gosa and bind-sdb for the DNS
3245 attributes combined with the domainrelatedobject object class, but in
3246 this case some unused attributes would have to be included as well
3247 (zonename and relativedomainname).
</p>
3249 <p>My proposal for Debian Edu would be to switch PowerDNS to strict
3250 mode and not use any of the existing objectclasses (dnsdomain,
3251 dnsdomain2 and dnszone) when one want to combine the DNS information
3252 with DHCP information, and instead create a auxiliary object class
3253 defined something like this (using the attributes defined for
3254 dnsdomain and dnsdomain2 or dnszone):
</p>
3257 objectclass ( some-oid NAME 'dnsDomainAux'
3260 MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $ SOARecord $ CNAMERecord $
3261 DNSTTL $ DNSClass $ PTRRecord $ HINFORecord $ MINFORecord $
3262 TXTRecord $ SIGRecord $ KEYRecord $ AAAARecord $ LOCRecord $
3263 NXTRecord $ SRVRecord $ NAPTRRecord $ KXRecord $ CERTRecord $
3264 A6Record $ DNAMERecord
3268 <p>This will allow any object to become a DNS entry when combined with
3269 the domainrelatedobject object class, and allow any entity to include
3270 all the attributes PowerDNS wants. I've sent an email to the PowerDNS
3271 developers asking for their view on this schema and if they are
3272 interested in providing such schema with PowerDNS, and I hope my
3273 message will be accepted into their mailing list soon.
</p>
3275 <p><strong>ISC dhcp
</strong></p>
3277 <p>The DHCP server searches for specific objectclass and requests all
3278 the object attributes, and then uses the attributes it want. This
3279 make it harder to figure out exactly what attributes are used, but
3280 thanks to the working example in Debian Edu I can at least get an idea
3281 what is needed without having to read the source code.
</p>
3283 <p>In the DHCP server configuration, the LDAP base to use and the
3284 search filter to use to locate the correct dhcpServer entity is
3285 stored. These are the relevant entries from
3286 /etc/dhcp3/dhcpd.conf:
</p>
3289 ldap-base-dn "dc=skole,dc=skolelinux,dc=no";
3290 ldap-dhcp-server-cn "dhcp";
3293 <p>The DHCP server uses this information to nest all the DHCP
3294 configuration it need. The cn "dhcp" is located using the given LDAP
3295 base and the filter "(&(objectClass=dhcpServer)(cn=dhcp))". The
3296 search result is this entry:
</p>
3299 dn: cn=dhcp,dc=skole,dc=skolelinux,dc=no
3302 objectClass: dhcpServer
3303 dhcpServiceDN: cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
3306 <p>The content of the dhcpServiceDN attribute is next used to locate the
3307 subtree with DHCP configuration. The DHCP configuration subtree base
3308 is located using a base scope search with base "cn=DHCP
3309 Config,dc=skole,dc=skolelinux,dc=no" and filter
3310 "(&(objectClass=dhcpService)(|(dhcpPrimaryDN=cn=dhcp,dc=skole,dc=skolelinux,dc=no)(dhcpSecondaryDN=cn=dhcp,dc=skole,dc=skolelinux,dc=no)))".
3311 The search result is this entry:
</p>
3314 dn: cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
3317 objectClass: dhcpService
3318 objectClass: dhcpOptions
3319 dhcpPrimaryDN: cn=dhcp, dc=skole,dc=skolelinux,dc=no
3320 dhcpStatements: ddns-update-style none
3321 dhcpStatements: authoritative
3322 dhcpOption: smtp-server code
69 = array of ip-address
3323 dhcpOption: www-server code
72 = array of ip-address
3324 dhcpOption: wpad-url code
252 = text
3327 <p>Next, the entire subtree is processed, one level at the time. When
3328 all the DHCP configuration is loaded, it is ready to receive requests.
3329 The subtree in Debian Edu contain objects with object classes
3330 top/dhcpService/dhcpOptions, top/dhcpSharedNetwork/dhcpOptions,
3331 top/dhcpSubnet, top/dhcpGroup and top/dhcpHost. These provide options
3332 and information about netmasks, dynamic range etc. Leaving out the
3333 details here because it is not relevant for the focus of my
3334 investigation, which is to see if it is possible to merge dns and dhcp
3335 related computer objects.
</p>
3337 <p>When a DHCP request come in, LDAP is searched for the MAC address
3338 of the client (
00:
00:
00:
00:
00:
00 in this example), using a subtree
3339 scoped search with "cn=DHCP Config,dc=skole,dc=skolelinux,dc=no" as
3340 the base and "(&(objectClass=dhcpHost)(dhcpHWAddress=ethernet
3341 00:
00:
00:
00:
00:
00))" as the filter. This is what a host object look
3345 dn: cn=hostname,cn=group1,cn=THINCLIENTS,cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
3348 objectClass: dhcpHost
3349 dhcpHWAddress: ethernet
00:
00:
00:
00:
00:
00
3350 dhcpStatements: fixed-address hostname
3353 <p>There is less flexiblity in the way LDAP searches are done here.
3354 The object classes need to have fixed names, and the configuration
3355 need to be stored in a fairly specific LDAP structure. On the
3356 positive side, the invidiual dhcpHost entires can be anywhere without
3357 the DN pointed to by the dhcpServer entries. The latter should make
3358 it possible to group all host entries in a subtree next to the
3359 configuration entries, and this subtree can also be shared with the
3360 DNS server if the schema proposed above is combined with the dhcpHost
3361 structural object class.
3363 <p><strong>Conclusion
</strong></p>
3365 <p>The PowerDNS implementation seem to be very flexible when it come
3366 to which LDAP schemas to use. While its "tree" mode is rigid when it
3367 come to the the LDAP structure, the "strict" mode is very flexible,
3368 allowing DNS objects to be stored anywhere under the base cn specified
3369 in the configuration.
</p>
3371 <p>The DHCP implementation on the other hand is very inflexible, both
3372 regarding which LDAP schemas to use and which LDAP structure to use.
3373 I guess one could implement ones own schema, as long as the
3374 objectclasses and attributes have the names used, but this do not
3375 really help when the DHCP subtree need to have a fairly fixed
3378 <p>Based on the observed behaviour, I suspect a LDAP structure like
3379 this might work for Debian Edu:
</p>
3383 cn=machine-info (dhcpService) - dhcpServiceDN points here
3384 cn=dhcp (dhcpServer)
3385 cn=dhcp-internal (dhcpSharedNetwork/dhcpOptions)
3386 cn=
10.0.2.0 (dhcpSubnet)
3387 cn=group1 (dhcpGroup/dhcpOptions)
3388 cn=dhcp-thinclients (dhcpSharedNetwork/dhcpOptions)
3389 cn=
192.168.0.0 (dhcpSubnet)
3390 cn=group1 (dhcpGroup/dhcpOptions)
3391 ou=machines - PowerDNS base points here
3392 cn=hostname (dhcpHost/domainrelatedobject/dnsDomainAux)
3395 <P>This is not tested yet. If the DHCP server require the dhcpHost
3396 entries to be in the dhcpGroup subtrees, the entries can be stored
3397 there instead of a common machines subtree, and the PowerDNS base
3398 would have to be moved one level up to the machine-info subtree.
</p>
3400 <p>The combined object under the machines subtree would look something
3404 dn: dc=hostname,ou=machines,cn=machine-info,dc=skole,dc=skolelinux,dc=no
3407 objectClass: dhcpHost
3408 objectclass: domainrelatedobject
3409 objectclass: dnsDomainAux
3410 associateddomain: hostname.intern
3411 arecord:
10.11.12.13
3412 dhcpHWAddress: ethernet
00:
00:
00:
00:
00:
00
3413 dhcpStatements: fixed-address hostname.intern
3416 </p>One could even add the LTSP configuration associated with a given
3417 machine, as long as the required attributes are available in a
3418 auxiliary object class.
</p>
3425 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>.
3429 <div class=
"padding"></div>
3433 <a href=
"http://people.skolelinux.org/pere/blog/OpenStreetmap_one_step_closer_to_having_routing_on_its_front_page.html">OpenStreetmap one step closer to having routing on its front page
</a>
3442 <a href=
"http://feedproxy.google.com/~r/Opengeodata/~3/wUTCzDZk3lc/project-of-the-week-which-way-home">todays
3443 opengeodata blog entry
</a>, I just discovered that the
3444 OpenStreetmap.org site have gotten
3445 <a href=
"http://nroets.dev.openstreetmap.org/demo/index.html?layers=B000FTFTT">support
3446 for calculating routes
</a>. The support is still experimental and
3447 only available from the development server, until more experience is
3448 gathered on the user interface and any scalability issues.
</p>
3450 <p>Earlier, the routing I knew about using the OpenStreetmap.org data
3451 was provided by
<a href=
"http://maps.cloudmade.com/">Cloudmade
</a>,
3452 but having it on the main page is required to make everyone aware of
3453 the issue. I've had people reject Openstreetmap.org as a viable
3454 alternative for them because the front page lacked routing support,
3455 and I hope their needs will be catered for when routing show up on the
3456 www.openstreetmap.org front page.
</p>
3463 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
3467 <div class=
"padding"></div>
3471 <a href=
"http://people.skolelinux.org/pere/blog/One_step_closer_to_single_signon_in_Debian_Edu.html">One step closer to single signon in Debian Edu
</a>
3479 <p>The last few months me and the other Debian Edu developers have
3480 been working hard to get the Debian/Squeeze based version of Debian
3481 Edu/Skolelinux into shape. This future version will use Kerberos for
3482 authentication, and services are slowly migrated to single signon,
3483 getting rid of password questions one at the time.
</p>
3485 <p>It will also feature a roaming workstation profile with local home
3486 directory, for laptops that are only some times on the Skolelinux
3487 network, and for this profile a shortcut is created in Gnome and KDE
3488 to gain access to the users home directory on the file server. This
3489 shortcut uses SMB at the moment, and yesterday I had time to test if
3490 SMB mounting had started working in KDE after we added the cifs-utils
3491 package. I was pleasantly surprised how well it worked.
</p>
3493 <p>Thanks to the recent changes to our samba configuration to get it
3494 to use Kerberos for authentication, there were no question about user
3495 password when mounting the SMB volume. A simple click on the shortcut
3496 in the KDE menu, and a window with the home directory popped
3499 <p>One step closer to a single signon solution out of the box in
3500 Debian Edu. We already had PAM, LDAP, IMAP and SMTP in place, and now
3501 also Samba. Next step is Cups and hopefully also NFS.
</p>
3503 <p>We had planned a alpha0 release of Debian Edu for today, but thanks
3504 to the autobuilder administrators for some architectures being slow to
3505 sign packages, we are still missing the fixed LTSP package we need for
3506 the release. It was uploaded three days ago with urgency=high, and if
3507 it had entered testing yesterday we would have been able to test it in
3508 time for a alpha0 release today. As the binaries for ia64 and powerpc
3509 still not uploaded to the Debian archive, we need to delay the alpha
3510 release another day.
</p>
3512 <p>If you want to help out with implementing Kerberos for Debian Edu,
3513 please contact us on debian-edu@lists.debian.org.
</p>
3520 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/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>.
3524 <div class=
"padding"></div>
3528 <a href=
"http://people.skolelinux.org/pere/blog/First_Debian_Edu_test_release__alpha0__based_on_Squeeze_is_released.html">First Debian Edu test release (alpha0) based on Squeeze is released
</a>
3536 <p>I just posted this announcement culminating several months of work
3537 with the next Debian Edu release. Not nearly done, but one major step
3541 <p>This is the first test release based on Squeeze. The focus of this
3542 release is to test the user application selection. To have a look,
3543 install the standalone profile and let the developers know if the set
3544 of installed packages i.e. applications should be modified. If some
3545 user application is missing, or if there are some applications that no
3546 longer make sense to be included in Debian Edu, please let us know.
3547 Also, if a useful application is missing the translation for your
3548 language of choice, please let us know too.
</p>
3550 <p>In addition, feedback and help to polish the desktop (menus,
3551 artwork, starters, etc.) is appreciated. We would like to ship a nice
3552 and handy KDE4 desktop targeted for schools out of the box.
</p>
3554 <p>The other profiles should be installable, but there is a lot more
3555 work left to be done before they are ready, so do not expect to
3558 <p>Changes compared to the lenny based version
</p>
3561 <li>Everything from Debian Squeeze
3563 <li>Desktop environment KDE
4.4 =
> the new KDE desktop in
3564 combination with some new artwork
3565 <li>Web browser Iceweasel
3.5
3566 <li>OpenOffice.org
3.2
3567 <li>Educational toolbox GCompris
9.3
3568 <li>Music creator Rosegarden
10.04.2
3569 <li>Image editor Gimp
2.6.10
3570 <li>Virtual universe Celestia
1.6.0
3571 <li>Virtual stargazer Stellarium
0.10.4
3572 <li>3D modeler Blender
2.49.2 (new application)
3573 <li>Video editor Kdenlive
0.7.7 (new application)
3575 <li>Now using Kerberos for password checking (migration not finished).
3581 <li>SMTP (sender verification)
3584 <li>New experimental roaming workstation profile for laptops.
</li>
3585 <li>Show welcome page to users when they first log in. The URL is
3586 fetched from LDAP.
</li>
3587 <li>New LXDE desktop option, in addition to KDE (default) and Gnome.
</li>
3588 <li>General cleanup (not finished)
</li>
3590 <p>The following features are not working as they should
</p>
3593 <li>No web based administration tool for creating users and groups. The
3594 scripts ldap-createuser-krb and ldap-add-user-to-group can be used
3596 <li>DVD installs are missing debian-installer images for the PXE boot,
3597 and do not set up the PXE menu on eth0 because of this. LTSP
3598 clients should still boot from eth1 on thin client servers.
</li>
3599 <li>The restructured KDE menu is not implemented.
</li>
3600 <li>The LDAP server setup need to be reviewed for security.
</li>
3601 <li>The LDAP directory structure need to be reworked.
</li>
3602 <li>Different sets of packages are installed when using the DVD and the
3603 netinst CD. More packages are installed using the netinst CD.
</li>
3604 <li>The jackd package fail to install. This is believed to be caused by
3605 some ongoing transition, and hopefully should be solved soon. The
3606 jackd1 package can be installed manually for those that need it.
</li>
3607 <li>Some packages lack translations. See
3608 http://wiki.debian.org/DebianEdu/Status/Squeeze for updated status,
3609 and help out with translations.
</li>
3612 <p>To download this multiarch netinstall release you can use
</p>
3615 <li><a href=
"ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso">ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-CD.iso
</a></li>
3616 <li><a href=
"http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso">http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-CD.iso
</a></li>
3617 <li>rsync -avzP ftp.skolelinux.org::skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-CD.iso
</li>
3619 <p>To download this multiarch dvd release you can use
</p>
3622 <li><a href=
"ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso">ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-DVD.iso
</a></li>
3623 <li><a href=
"http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso">http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-DVD.iso
</a></li>
3624 <li>rsync -avzP ftp.skolelinux.org::skolelinux-cd/squeeze-alpha/debian-edu-
6.0.0+edua0-DVD.iso
</li>
3627 <p>There is no source DVD available yet. It will be prepared when we
3628 get closer to the final release.
</p>
3630 <p>The MD5SUM of these images are
</p>
3633 <li>3dbf45d59f42a53518b6e3c9ec3b5eb6 debian-edu-
6.0.0+edua0-CD.iso
</li>
3634 <li>22f2cbfce281d1c6e478be452638675d debian-edu-
6.0.0+edua0-DVD.iso
</li>
3637 <p>The SHA1SUM of these images are
</p>
3639 <li>c53d1b69b40cf37cd27aefaf33f6f6a3821bedf0 debian-edu-
6.0.0+edua0-CD.iso
</li>
3640 <li>2ec29d7db676d59d32197b05c277ffe16348376c debian-edu-
6.0.0+edua0-DVD.iso
</li>
3642 <p>How to report bugs:
3643 http://wiki.debian.org/DebianEdu/HowTo/ReportBugsInBugzilla
</p>
3645 <p>Please direct replies to debian-edu@lists.debian.org
</p>
3653 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/nuug">nuug
</a>.
3657 <div class=
"padding"></div>
3661 <a href=
"http://people.skolelinux.org/pere/blog/Circular_package_dependencies_harms_apt_recovery.html">Circular package dependencies harms apt recovery
</a>
3669 <p>I discovered this while doing
3670 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html">automated
3671 testing of upgrades from Debian Lenny to Squeeze
</a>. A few packages
3672 in Debian still got circular dependencies, and it is often claimed
3673 that apt and aptitude should be able to handle this just fine, but
3674 some times these dependency loops causes apt to fail.
</p>
3676 <p>An example is from todays
3677 <a href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing//test-20100727-lenny-squeeze-kde-aptitude.txt">upgrade
3678 of KDE using aptitude
</a>. In it, a bug in kdebase-workspace-data
3679 causes perl-modules to fail to upgrade. The cause is simple. If a
3680 package fail to unpack, then only part of packages with the circular
3681 dependency might end up being unpacked when unpacking aborts, and the
3682 ones already unpacked will fail to configure in the recovery phase
3683 because its dependencies are unavailable.
</p>
3685 <p>In this log, the problem manifest itself with this error:
</p>
3688 dpkg: dependency problems prevent configuration of perl-modules:
3689 perl-modules depends on perl (
>=
5.10.1-
1); however:
3690 Version of perl on system is
5.10.0-
19lenny
2.
3691 dpkg: error processing perl-modules (--configure):
3692 dependency problems - leaving unconfigured
3695 <p>The perl/perl-modules circular dependency is already
3696 <a href=
"http://bugs.debian.org/527917">reported as a bug
</a>, and will
3697 hopefully be solved as soon as possible, but it is not the only one,
3698 and each one of these loops in the dependency tree can cause similar
3699 failures. Of course, they only occur when there are bugs in other
3700 packages causing the unpacking to fail, but it is rather nasty when
3701 the failure of one package causes the problem to become worse because
3702 of dependency loops.
</p>
3705 <a href=
"http://lists.debian.org/debian-devel/2010/06/msg00116.html">the
3706 tireless effort by Bill Allombert
</a>, the number of circular
3708 <a href=
"http://debian.semistable.com/debgraph.out.html">left in Debian
3709 is dropping
</a>, and perhaps it will reach zero one day. :)
</p>
3711 <p>Todays testing also exposed a bug in
3712 <a href=
"http://bugs.debian.org/590605">update-notifier
</a> and
3713 <a href=
"http://bugs.debian.org/590604">different behaviour
</a> between
3714 apt-get and aptitude, the latter possibly caused by some circular
3715 dependency. Reported both to BTS to try to get someone to look at
3723 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>.
3727 <div class=
"padding"></div>
3731 <a href=
"http://people.skolelinux.org/pere/blog/Debian_Edu_roaming_workstation___at_the_university_of_Oslo.html">Debian Edu roaming workstation - at the university of Oslo
</a>
3739 <p>The new roaming workstation profile in Debian Edu/Squeeze is fairly
3740 similar to the laptop setup am I working on using Ubuntu for the
3741 University of Oslo, and just for the heck of it, I tested today how
3742 hard it would be to integrate that profile into the university
3743 infrastructure. In this case, it is the university LDAP server,
3744 Active Directory Kerberos server and SMB mounting from the Netapp file
3747 <p>I was pleasantly surprised that the only three files needed to be
3748 changed (/etc/sssd/sssd.conf, /etc/ldap.conf and
3749 /etc/mklocaluser.d/
20-debian-edu-config) and one file had to be added
3750 (/usr/share/perl5/Debian/Edu_Local.pm), to get the client working.
3751 Most of the changes were to get the client to use the university LDAP
3752 for NSS and Kerberos server for PAM, but one was to change a hard
3753 coded DNS domain name in the mklocaluser hook from .intern to
3756 <p>This testing was so encouraging, that I went ahead and adjusted the
3757 Debian Edu scripts and setup in subversion to centralise the roaming
3758 workstation setup a bit more and avoid the hardcoded DNS domain name,
3759 so that when I test this tomorrow, I expect to get away with modifying
3760 only /etc/sssd/sssd.conf and /etc/ldap.conf to get it to use the
3761 university servers.
</p>
3763 <p>My goal is to get the clients to have no hardcoded settings and
3764 fetch all their initial setup during installation and first boot, to
3765 allow them to be inserted also into environments where the default
3766 setup in Debian Edu has been changed or as with the university, where
3767 the environment is different but provides the protocols Debian Edu
3775 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/nuug">nuug
</a>.
3779 <div class=
"padding"></div>
3783 <a href=
"http://people.skolelinux.org/pere/blog/Autodetecting_Client_setup_for_roaming_workstations_in_Debian_Edu.html">Autodetecting Client setup for roaming workstations in Debian Edu
</a>
3791 <p>A few days ago, I
3792 <a href=
"http://people.skolelinux.org/pere/blog/Debian_Edu_roaming_workstation___at_the_university_of_Oslo.html">tried
3793 to install
</a> a Roaming workation profile from Debian Edu/Squeeze
3794 while on the university network here at the University of Oslo, and
3795 noticed how much had to change to get it operational using the
3796 university infrastructure. It was fairly easy, but it occured to me
3797 that Debian Edu would improve a lot if I could get the client to
3798 connect without any changes at all, and thus let the client configure
3799 itself during installation and first boot to use the infrastructure
3800 around it. Now I am a huge step further along that road.
</p>
3802 <p>With our current squeeze-test packages, I can select the roaming
3803 workstation profile and get a working laptop connecting to the
3804 university LDAP server for user and group and our active directory
3805 servers for Kerberos authentication. All this without any
3806 configuration at all during installation. My users home directory got
3807 a bookmark in the KDE menu to mount it via SMB, with the correct URL.
3808 In short, openldap and sssd is correctly configured. In addition to
3809 this, the client look for http://wpad/wpad.dat to configure a web
3810 proxy, and when it fail to find it no proxy settings are stored in
3811 /etc/environment and /etc/apt/apt.conf. Iceweasel and KDE is
3812 configured to look for the same wpad configuration and also do not use
3813 a proxy when at the university network. If the machine is moved to a
3814 network with such wpad setup, it would automatically use it when DHCP
3815 gave it a IP address.
</p>
3817 <p>The LDAP server is located using DNS, by first looking for the DNS
3818 entry ldap.$domain. If this do not exist, it look for the
3819 _ldap._tcp.$domain SRV records and use the first one as the LDAP
3820 server. Next, it connects to the LDAP server and search all
3821 namingContexts entries for posixAccount or posixGroup objects, and
3822 pick the first one as the LDAP base. For Kerberos, a similar
3823 algorithm is used to locate the LDAP server, and the realm is the
3824 uppercase version of $domain.
</p>
3826 <p>So, what is not working, you might ask. SMB mounting my home
3827 directory do not work. No idea why, but suspected the incorrect
3828 Kerberos settings in /etc/krb5.conf and /etc/samba/smb.conf might be
3829 the cause. These are not properly configured during installation, and
3830 had to be hand-edited to get the correct Kerberos realm and server,
3831 but SMB mounting still do not work. :(
</p>
3833 <p>With this automatic configuration in place, I expect a Debian Edu
3834 roaming profile installation would be able to automatically detect and
3835 connect to any site using LDAP and Kerberos for NSS directory and PAM
3836 authentication. It should also work out of the box in a Active
3837 Directory environment providing posixAccount and posixGroup objects
3838 with UID and GID values.
</p>
3840 <p>If you want to help out with implementing these things for Debian
3841 Edu, please contact us on debian-edu@lists.debian.org.
</p>
3848 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/nuug">nuug
</a>.
3852 <div class=
"padding"></div>
3856 <a href=
"http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html">Testing if a file system can be used for home directories...
</a>
3864 <p>A few years ago, I was involved in a project planning to use
3865 Windows file servers as home directory servers for Debian
3866 Edu/Skolelinux machines. This was thought to be no problem, as the
3867 access would be through the SMB network file system protocol, and we
3868 knew other sites used SMB with unix and samba as the file server to
3869 mount home directories without any problems. But, after months of
3870 struggling, we had to conclude that our goal was impossible.
</p>
3872 <p>The reason is simply that while SMB can be used for home
3873 directories when the file server is Samba running on Unix, this only
3874 work because of Samba have some extensions and the fact that the
3875 underlying file system is a unix file system. When using a Windows
3876 file server, the underlying file system do not have POSIX semantics,
3877 and several programs will fail if the users home directory where they
3878 want to store their configuration lack POSIX semantics.
</p>
3880 <p>As part of this work, I wrote a small C program I want to share
3881 with you all, to replicate a few of the problematic applications (like
3882 OpenOffice.org and GCompris) and see if the file system was working as
3883 it should. If you find yourself in spooky file system land, it might
3884 help you find your way out again. This is the fs-test.c source:
</p>
3888 * Some tests to check the file system sematics. Used to verify that
3889 * CIFS from a windows server do not work properly as a linux home
3891 * License: GPL v2 or later
3893 * needs libsqlite3-dev and build-essential installed
3894 * compile with: gcc -Wall -lsqlite3 -DTEST_SQLITE fs-test.c -o fs-test
3897 #define _FILE_OFFSET_BITS
64
3898 #define _LARGEFILE_SOURCE
1
3899 #define _LARGEFILE64_SOURCE
1
3901 #define _GNU_SOURCE /* for asprintf() */
3903 #include
<errno.h
>
3904 #include
<fcntl.h
>
3905 #include
<stdio.h
>
3906 #include
<string.h
>
3907 #include
<stdlib.h
>
3908 #include
<sys/file.h
>
3909 #include
<sys/stat.h
>
3910 #include
<sys/types.h
>
3911 #include
<unistd.h
>
3915 * Test sqlite open, as done by gcompris require the libsqlite3-dev
3916 * package and linking with -lsqlite3. A more low level test is
3918 * See also
<URL: http://www.sqlite.org./faq.html#q5
>.
3920 #include
<sqlite3.h
>
3921 #define CREATE_TABLE_USERS \
3922 "CREATE TABLE users (user_id INT UNIQUE, login TEXT, lastname TEXT, firstname TEXT, birthdate TEXT, class_id INT ); "
3923 int test_sqlite_open(void) {
3925 char *name = "testsqlite.db";
3928 int rc = sqlite3_open(name, &db);
3930 printf("error: sqlite open of %s failed: %s\n", name, sqlite3_errmsg(db));
3936 rc = sqlite3_exec(db,CREATE_TABLE_USERS, NULL,
0, &zErrMsg);
3937 if( rc != SQLITE_OK ){
3938 printf("error: sqlite table create failed: %s\n", zErrMsg);
3942 printf("info: sqlite worked\n");
3946 #endif /* TEST_SQLITE */
3949 * Demonstrate locking issue found in gcompris using sqlite3. This
3950 * work with ext3, but not with cifs server on Windows
2003. This is
3951 * done in the sqlite3 library.
3953 *
<URL:http://www.cygwin.com/ml/cygwin/
2001-
08/msg00854.html
> and the
3954 * POSIX specification
3955 *
<URL:http://www.opengroup.org/onlinepubs/
009695399/functions/fcntl.html
>.
3957 int test_gcompris_locking(void) {
3959 char *name = "testsqlite.db";
3961 int fd = open(name, O_RDWR|O_CREAT|O_LARGEFILE,
0644);
3962 printf("info: testing fcntl locking\n");
3964 fl.l_whence = SEEK_SET;
3965 fl.l_pid = getpid();
3966 printf(" Read-locking
1 byte from
1073741824");
3967 fl.l_start =
1073741824;
3969 fl.l_type = F_RDLCK;
3970 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
3972 printf(" Read-locking
510 byte from
1073741826");
3973 fl.l_start =
1073741826;
3975 fl.l_type = F_RDLCK;
3976 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
3978 printf(" Unlocking
1 byte from
1073741824");
3979 fl.l_start =
1073741824;
3981 fl.l_type = F_UNLCK;
3982 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
3984 printf(" Write-locking
1 byte from
1073741824");
3985 fl.l_start =
1073741824;
3987 fl.l_type = F_WRLCK;
3988 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
3990 printf(" Write-locking
510 byte from
1073741826");
3991 fl.l_start =
1073741826;
3993 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
3995 printf(" Unlocking
2 byte from
1073741824");
3996 fl.l_start =
1073741824;
3998 fl.l_type = F_UNLCK;
3999 if (
0 != fcntl(fd, F_SETLK, &fl) ) printf(" - error!\n"); else printf("\n");
4006 * Test if permissions of freshly created directories allow entries
4007 * below them. This was a problem with OpenOffice.org and gcompris.
4008 * Mounting with option 'sync' seem to solve this problem while
4009 * slowing down file operations.
4011 int test_subdirectory_creation(void) {
4013 char *path = strdup("test");
4016 printf("info: testing subdirectory creation\n");
4017 for (level =
0; level
< LEVELS; level++) {
4018 char *newpath = NULL;
4019 if (-
1 == mkdir(path,
0777)) {
4020 printf(" error: Unable to create directory '%s': %s\n",
4021 path, strerror(errno));
4024 asprintf(&newpath, "%s/%s", path, "test");
4032 * Test if symlinks can be created. This was a problem detected with
4035 int test_symlinks(void) {
4036 printf("info: testing symlink creation\n");
4038 if (-
1 == symlink("file", "symlink"))
4039 printf(" error: Unable to create symlink\n");
4043 int main(int argc, char **argv) {
4044 printf("Testing POSIX/Unix sematics on file system\n");
4046 test_subdirectory_creation();
4049 #endif /* TEST_SQLITE */
4050 test_gcompris_locking();
4055 <p>When everything is working, it should print something like
4059 Testing POSIX/Unix sematics on file system
4060 info: testing symlink creation
4061 info: testing subdirectory creation
4063 info: testing fcntl locking
4064 Read-locking
1 byte from
1073741824
4065 Read-locking
510 byte from
1073741826
4066 Unlocking
1 byte from
1073741824
4067 Write-locking
1 byte from
1073741824
4068 Write-locking
510 byte from
1073741826
4069 Unlocking
2 byte from
1073741824
4072 <p>I do not remember the exact details of the problems we saw, but one
4073 of them was with locking, where if I remember correctly, POSIX allow a
4074 read-only lock to be upgraded to a read-write lock without unlocking
4075 the read-only lock (while Windows do not). Another was a bug in the
4076 CIFS/SMB client implementation in the Linux kernel where directory
4077 meta information would be wrong for a fraction of a second, making
4078 OpenOffice.org fail to create its deep directory tree because it was
4079 not allowed to create files in its freshly created directory.
</p>
4081 <p>Anyway, here is a nice tool for your tool box, might you never need
4084 <p>Update
2010-
08-
27: Michael Gebetsroither report that he found the
4085 script so useful that he created a GIT repository and stored it in
4086 <a href=
"http://github.com/gebi/fs-test">http://github.com/gebi/fs-test
</a>.
</p>
4093 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/nuug">nuug
</a>.
4097 <div class=
"padding"></div>
4101 <a href=
"http://people.skolelinux.org/pere/blog/No_hardcoded_config_on_Debian_Edu_clients.html">No hardcoded config on Debian Edu clients
</a>
4109 <p>As reported earlier, the last few days I have looked at how Debian
4110 Edu clients are configured, and tried to get rid of all hardcoded
4111 configuration settings on the clients. I believe the work to be
4112 mostly done, and the clients seem to work just fine with dynamically
4113 generated configuration.
</p>
4115 <p>What is the point, you might ask? The point is to allow a Debian
4116 Edu desktop to integrate into an existing network infrastructure
4117 without any manual configuration.
</p>
4119 <p>This is what happens when installing a Debian Edu client here at
4120 the University of Oslo using PXE. With the PXE installation, I am
4121 asked for language (Norwegian Bokmål), locality (Norway) and keyboard
4122 layout (no-latin1), Debian Edu profile (Roaming Workstation), if I
4123 accept to reformat the hard drive (yes), if I want to submit info to
4124 popcon.debian.org (no) and root password (secret). After answering
4125 these questions, the installer goes ahead and does its thing, and
4126 after around
50 minutes it is done. I press enter to finish the
4127 installation, and the machine reboots into KDE. When the machine is
4128 ready and kdm asks for login information, I enter my university
4129 username and password, am told by kdm that a local home directory has
4130 been created and that I must log in again, and finally log in with the
4131 same username and password to the KDE
4.4 desktop. At no point during
4132 this process did it ask for university specific settings, and all the
4133 required configuration was dynamically detected using information
4134 fetched via DHCP and DNS. The roaming workstation is now ready for
4137 <p>How was this done, you might wonder? First of all, here is the
4138 list of things that need to be configured on the client to get it
4139 working properly out of the box:
</p>
4142 <li>IP address/netmask and DNS server.
</li>
4143 <li>Web proxy URL.
</li>
4144 <li>LDAP server for NSS directory information (user, group, etc).
</li>
4145 <li>Kerberos server for PAM password checking.
</li>
4146 <li>SMB mount point to access the network home directory. (*)
</li>
4147 <li>Central syslog server to send syslog messages to. (*)
</li>
4148 <li>Sitesummary collector URL to submit info to central server. (*)
</li>
4151 <p>(Hm, did I forget anything? Let me knew if I did.)
</p>
4153 <p>The points marked (*) are not required to be able to use the
4154 machine, but needed to provide central storage and allowing system
4155 administrators to track their machines. Since yesterday, everything
4156 but the sitesummary collector URL is dynamically discovered at boot
4157 and installation time in the svn version of Debian Edu.
</p>
4159 <p>The IP and DNS setup is fetched during boot using DHCP as usual.
4160 When a DHCP update arrives, the proxy setup is updated by looking for
4161 http://wpat/wpad.dat and using the content of this WPAD file to
4162 configure the http and ftp proxy in /etc/environment and
4163 /etc/apt/apt.conf. I decided to update the proxy setup using a DHCP
4164 hook to ensure that the client stops using the Debian Edu proxy when
4165 it is moved outside the Debian Edu network, and instead uses any local
4166 proxy present on the new network when it moves around.
</p>
4168 <p>The DNS names of the LDAP, Kerberos and syslog server and related
4169 configuration are generated using DNS information at boot. First the
4170 installer looks for a host named ldap in the current DNS domain. If
4171 not found, it looks for _ldap._tcp SRV records in DNS instead. If an
4172 LDAP server is found, its root DSE entry is requested and the
4173 attributes namingContexts and defaultNamingContext are used to
4174 determine which LDAP base to use for NSS. If there are several
4175 namingContexts attibutes and the defaultNamingContext is present, that
4176 LDAP subtree is used as the base. If defaultNamingContext is missing,
4177 the subtrees listed as namingContexts are searched in sequence for any
4178 object with class posixAccount or posixGroup, and the first one with
4179 such an object is used as the LDAP base. For Kerberos, a similar
4180 search is done by first looking for a host named kerberos, and then
4181 for the _kerberos._tcp SRV record. I've been unable to find a way to
4182 look up the Kerberos realm, so for this the upper case string of the
4183 current DNS domain is used.
</p>
4185 <p>For the syslog server, the hosts syslog and loghost are searched
4186 for, and the _syslog._udp SRV record is consulted if no such host is
4187 found. This algorithm works for both Debian Edu and the University of
4188 Oslo. A similar strategy would work for locating the sitesummary
4189 server, but have not been implemented yet. I decided to fetch and
4190 save these settings during installation, to make sure moving to a
4191 different network does not change the set of users being allowed to
4192 log in nor the passwords required to log in. Usernames and passwords
4193 will be cached by sssd when the user logs in on the Debian Edu
4194 network, and will not change as the laptop move around. For a
4195 non-roaming machine, there is no caching, but given that it is
4196 supposed to stay in place it should not matter much. Perhaps we
4197 should switch those to use sssd too?
</p>
4199 <p>The user's SMB mount point for the network home directory is
4200 located when the user logs in for the first time. The LDAP server is
4201 consulted to look for the user's LDAP object and the sambaHomePath
4202 attribute is used if found. If it isn't found, the home directory
4203 path fetched from NSS is used instead. Assuming the path is of the
4204 form /site/server/directory/username, the second part is looked up in
4205 DNS and used to generate a SMB URL of the form
4206 smb://server.domain/username. This algorithm works for both Debian
4207 edu and the University of Oslo. Perhaps there are better attributes
4208 to use or a better algorithm that works for more sites, but this will
4211 <p>This work should make it easier to integrate the Debian Edu clients
4212 into any LDAP/Kerberos infrastructure, and make the current setup even
4213 more flexible than before. I suspect it will also work for thin
4214 client servers, allowing one to easily set up LTSP and hook it into a
4215 existing network infrastructure, but I have not had time to test this
4218 <p>If you want to help out with implementing these things for Debian
4219 Edu, please contact us on debian-edu@lists.debian.org.
</p>
4221 <p>Update
2010-
08-
09: Simon Farnsworth gave me a heads-up on how to
4222 detect Kerberos realm from DNS, by looking for _kerberos TXT entries
4223 before falling back to the upper case DNS domain name. Will have to
4224 implement it for Debian Edu. :)
</p>
4231 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/nuug">nuug
</a>.
4235 <div class=
"padding"></div>
4239 <a href=
"http://people.skolelinux.org/pere/blog/Rob_Weir__How_to_Crush_Dissent.html">Rob Weir: How to Crush Dissent
</a>
4247 <p>I found the notes from Rob Weir on
4248 <a href=
"http://feedproxy.google.com/~r/robweir/antic-atom/~3/VGb23-kta8c/how-to-crush-dissent.html">how
4249 to crush dissent
</a> matching my own thoughts on the matter quite
4250 well. Highly recommended for those wondering which road our society
4251 should go down. In my view we have been heading the wrong way for a
4259 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</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>.
4263 <div class=
"padding"></div>
4267 <a href=
"http://people.skolelinux.org/pere/blog/Broken_umask_handling_with_sshfs.html">Broken umask handling with sshfs
</a>
4275 <p>My file system sematics program
4276 <a href=
"http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html">presented
4277 a few days ago
</a> is very useful to verify that a file system can
4278 work as a unix home directory,and today I had to extend it a bit. I'm
4279 looking into alternatives for home directory access here at the
4280 University of Oslo, and one of the options is sshfs. My friend
4281 Finn-Arne mentioned a while back that they had used sshfs with Debian
4282 Edu, but stopped because of problems. I asked today what the problems
4283 where, and he mentioned that sshfs failed to handle umask properly.
4284 Trying to detect the problem I wrote this addition to my fs testing
4288 mode_t touch_get_mode(const char *name, mode_t mode) {
4290 int fd = open(name, O_RDWR|O_CREAT|O_LARGEFILE, mode);
4293 struct stat statbuf;
4294 if (-
1 != fstat(fd, &statbuf)) {
4295 retval = statbuf.st_mode &
0x1ff;
4302 /* Try to detect problem discovered using sshfs */
4303 int test_umask(void) {
4304 printf("info: testing umask effect on file creation\n");
4306 mode_t orig_umask = umask(
000);
4308 if (
0666 != (newmode = touch_get_mode("foobar",
0666))) {
4309 printf(" error: Wrong file mode %o when creating using mode
666 and umask
000\n",
4313 if (
0660 != (newmode = touch_get_mode("foobar",
0666))) {
4314 printf(" error: Wrong file mode %o when creating using mode
666 and umask
007\n",
4322 int main(int argc, char **argv) {
4329 <p>Sure enough. On NFS to a netapp, I get this result:
</p>
4332 Testing POSIX/Unix sematics on file system
4333 info: testing symlink creation
4334 info: testing subdirectory creation
4335 info: testing fcntl locking
4336 Read-locking
1 byte from
1073741824
4337 Read-locking
510 byte from
1073741826
4338 Unlocking
1 byte from
1073741824
4339 Write-locking
1 byte from
1073741824
4340 Write-locking
510 byte from
1073741826
4341 Unlocking
2 byte from
1073741824
4342 info: testing umask effect on file creation
4345 <p>When mounting the same directory using sshfs, I get this
4349 Testing POSIX/Unix sematics on file system
4350 info: testing symlink creation
4351 info: testing subdirectory creation
4352 info: testing fcntl locking
4353 Read-locking
1 byte from
1073741824
4354 Read-locking
510 byte from
1073741826
4355 Unlocking
1 byte from
1073741824
4356 Write-locking
1 byte from
1073741824
4357 Write-locking
510 byte from
1073741826
4358 Unlocking
2 byte from
1073741824
4359 info: testing umask effect on file creation
4360 error: Wrong file mode
644 when creating using mode
666 and umask
000
4361 error: Wrong file mode
640 when creating using mode
666 and umask
007
4364 <p>So, I can conclude that sshfs is better than smb to a Netapp or a
4365 Windows server, but not good enough to be used as a home
4368 <p>Update
2010-
08-
26: Reported the issue in
4369 <a href=
"http://bugs.debian.org/594498">BTS report #
594498</a></p>
4371 <p>Update
2010-
08-
27: Michael Gebetsroither report that he found the
4372 script so useful that he created a GIT repository and stored it in
4373 <a href=
"http://github.com/gebi/fs-test">http://github.com/gebi/fs-test
</a>.
</p>
4380 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/nuug">nuug
</a>.
4384 <div class=
"padding"></div>
4388 <a href=
"http://people.skolelinux.org/pere/blog/Broken_hard_link_handling_with_sshfs.html">Broken hard link handling with sshfs
</a>
4396 <p>Just got an email from Tobias Gruetzmacher as a followup on my
4397 <a href=
"http://people.skolelinux.org/pere/blog/Broken_umask_handling_with_sshfs.html">previous
4398 post about sshfs
</a>. He reported another problem with sshfs. It
4399 fail to handle hard links properly. A simple way to spot this is to
4400 look at the . and .. entries in the directory tree. These should have
4401 a link count
>1, but on sshfs the count is
1. I just tested to see
4402 what happen when trying to hardlink, and this fail as well:
</p>
4406 ln: creating hard link `bar' =
> `foo': Function not implemented
4410 <p>I have not yet found time to implement a test for this in my file
4411 system test code, but believe having working hard links is useful to
4412 avoid surprised unix programs. Not as useful as working file locking
4413 and symlinks, which are required to get a working desktop, but useful
4414 nevertheless. :)
</p>
4416 <p>The latest version of the file system test code is available via
4418 <a href=
"http://github.com/gebi/fs-test">http://github.com/gebi/fs-test
</a></p>
4425 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/nuug">nuug
</a>.
4429 <div class=
"padding"></div>
4433 <a href=
"http://people.skolelinux.org/pere/blog/My_first_perl_GUI_application___controlling_a_Spykee_robot.html">My first perl GUI application - controlling a Spykee robot
</a>
4441 <p>This evening I made my first Perl GUI application. The last few
4442 days I have worked on a Perl module for controlling my recently
4443 aquired Spykee robots, and the module is now getting complete enought
4444 that it is possible to use it to control the robot driving at least.
4445 It was now time to figure out how to use it to create some GUI to
4446 allow me to drive the robot around. I picked PerlQt as I have had
4447 positive experiences with the Qt API before, and spent a few minutes
4448 browsing the web for examples. Using Qt Designer seemed like a short
4449 cut, so I ended up writing the perl GUI using Qt Designer and
4450 compiling it into a perl program using the puic program from
4451 libqt-perl. Nothing fancy yet, but it got buttons to connect and
4454 <p>The perl module I have written provide a object oriented API for
4455 controlling the robot. Here is an small example on how to use it:
</p>
4459 Spykee::discover(sub {$robot{$_[
0]} = $_[
1]});
4460 my $host = (keys %robot)[
0];
4461 my $spykee = Spykee-
>new();
4462 $spykee-
>contact($host, "admin", "admin");
4474 <p>Thanks to the release of the source of the robot firmware, I could
4475 peek into the implementation at the other end to figure out how to
4476 implement the protocol used by the robot. I've implemented several of
4477 the commands the robot understand, but is still missing the camera
4478 support to make it possible to control the robot from remote. First I
4479 want to implement support for uploading new firmware and configuring
4480 the wireless network, to make it possible to bootstrap a Spykee robot
4481 without the producers Windows and MacOSX software (I only have Linux,
4482 so I had to ask a friend to come over to get the robot testing
4485 <p>Will release the source to the public soon, but need to figure out
4486 where to make it available first. I will add a link to
4487 <a href=
"http://wiki.nuug.no/grupper/robot/">the NUUG wiki
</a> for
4488 those that want to check back later to find it.
</p>
4495 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot
</a>.
4499 <div class=
"padding"></div>
4503 <a href=
"http://people.skolelinux.org/pere/blog/Some_notes_on_Flash_in_Debian_and_Debian_Edu.html">Some notes on Flash in Debian and Debian Edu
</a>
4511 <p>In the
<a href=
"http://popcon.debian.org/unknown/by_vote">Debian
4512 popularity-contest numbers
</a>, the adobe-flashplugin package the
4513 second most popular used package that is missing in Debian. The sixth
4514 most popular is flashplayer-mozilla. This is a clear indication that
4515 working flash is important for Debian users. Around
10 percent of the
4516 users submitting data to popcon.debian.org have this package
4519 <p>In the report written by Lars Risan in August
2008
4520 («
<a href=
"http://wiki.skolelinux.no/Dokumentasjon/Rapporter?action=AttachFile&do=view&target=Skolelinux_i_bruk_rapport_1.0.pdf">Skolelinux
4521 i bruk – Rapport for Hurum kommune, Universitetet i Agder og
4522 stiftelsen SLX Debian Labs
</a>»), one of the most important problems
4523 schools experienced with
<a href=
"http://www.skolelinux.org/">Debian
4524 Edu/Skolelinux
</a> was the lack of working Flash. A lot of educational
4525 web sites require Flash to work, and lacking working Flash support in
4526 the web browser and the problems with installing it was perceived as a
4527 good reason to stay with Windows.
</p>
4529 <p>I once saw a funny and sad comment in a web forum, where Linux was
4530 said to be the retarded cousin that did not really understand
4531 everything you told him but could work fairly well. This was a
4532 comment regarding the problems Linux have with proprietary formats and
4533 non-standard web pages, and is sad because it exposes a fairly common
4534 understanding of whose fault it is if web pages that only work in for
4535 example Internet Explorer
6 fail to work on Firefox, and funny because
4536 it explain very well how annoying it is for users when Linux
4537 distributions do not work with the documents they receive or the web
4538 pages they want to visit.
</p>
4540 <p>This is part of the reason why I believe it is important for Debian
4541 and Debian Edu to have a well working Flash implementation in the
4542 distribution, to get at least popular sites as Youtube and Google
4543 Video to working out of the box. For Squeeze, Debian have the chance
4544 to include the latest version of Gnash that will make this happen, as
4545 the new release
0.8.8 was published a few weeks ago and is resting in
4546 unstable. The new version work with more sites that version
0.8.7.
4547 The Gnash maintainers have asked for a freeze exception, but the
4548 release team have not had time to reply to it yet. I hope they agree
4549 with me that Flash is important for the Debian desktop users, and thus
4550 accept the new package into Squeeze.
</p>
4557 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/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
4561 <div class=
"padding"></div>
4565 <a href=
"http://people.skolelinux.org/pere/blog/Terms_of_use_for_video_produced_by_a_Canon_IXUS_130_digital_camera.html">Terms of use for video produced by a Canon IXUS
130 digital camera
</a>
4573 <p>A few days ago I had the mixed pleasure of bying a new digital
4574 camera, a Canon IXUS
130. It was instructive and very disturbing to
4575 be able to verify that also this camera producer have the nerve to
4576 specify how I can or can not use the videos produced with the camera.
4577 Even thought I was aware of the issue, the options with new cameras
4578 are limited and I ended up bying the camera anyway. What is the
4579 problem, you might ask? It is software patents, MPEG-
4, H
.264 and the
4580 MPEG-LA that is the problem, and our right to record our experiences
4581 without asking for permissions that is at risk.
4583 <p>On page
27 of the Danish instruction manual, this section is
4587 <p>This product is licensed under AT&T patents for the MPEG-
4 standard
4588 and may be used for encoding MPEG-
4 compliant video and/or decoding
4589 MPEG-
4 compliant video that was encoded only (
1) for a personal and
4590 non-commercial purpose or (
2) by a video provider licensed under the
4591 AT&T patents to provide MPEG-
4 compliant video.
</p>
4593 <p>No license is granted or implied for any other use for MPEG-
4
4597 <p>In short, the camera producer have chosen to use technology
4598 (MPEG-
4/H
.264) that is only provided if I used it for personal and
4599 non-commercial purposes, or ask for permission from the organisations
4600 holding the knowledge monopoly (patent) for technology used.
</p>
4602 <p>This issue has been brewing for a while, and I recommend you to
4604 "
<a href=
"http://www.osnews.com/story/23236/Why_Our_Civilization_s_Video_Art_and_Culture_is_Threatened_by_the_MPEG-LA">Why
4605 Our Civilization's Video Art and Culture is Threatened by the
4606 MPEG-LA
</a>" by Eugenia Loli-Queru and
4607 "<a href=
"http://webmink.com/2010/09/03/h-264-and-foss/">H
.264 Is Not
4608 The Sort Of Free That Matters
</a>" by Simon Phipps to learn more about
4609 the issue. The solution is to support the
4610 <a href="http://www.digistan.org/open-standard:definition
">free and
4611 open standards</a> for video, like <a href="http://www.theora.org/
">Ogg
4612 Theora</a>, and avoid MPEG-4 and H.264 if you can.</p>
4619 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/fildeling
">fildeling</a>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia
">multimedia</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/standard
">standard</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video
">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web
">web</a>.
4623 <div class="padding
"></div>
4627 <a href="http://people.skolelinux.org/pere/blog/Links_for_2010_10_03.html
">Links for 2010-10-03</a>
4637 <li><a href="http://arstechnica.com/business/news/
2010/
09/there-is-no-plan-b-why-the-ipv4-to-ipv6-transition-will-be-ugly.ars
">There
4638 is no Plan B: why the IPv4-to-IPv6 transition will be ugly</a></li>
4640 <li>Scanner looking under clothes
4641 <a href="http://www.dagbladet.no/
2010/
10/
03/nyheter/utenriks/reise/overvakingskamera/flyplasser/
13667192/
">has
4642 already been misused at Heathrow</a>.</li>
4644 <li><a href="http://wiki.softwarelivre.org/Landell
">Landell
4645 Webcasting</a> - interesting alternative for
4646 <ahref="http://dvswitch.alioth.debian.org/wiki/
">DVSwitch</a> with
4656 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/lenker
">lenker</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug</a>.
4660 <div class="padding
"></div>
4664 <a href="http://people.skolelinux.org/pere/blog/First_version_of_a_Perl_library_to_control_the_Spykee_robot.html
">First version of a Perl library to control the Spykee robot</a>
4672 <p>This summer I got the chance to buy cheap Spykee robots, and since
4673 then I have worked on getting Linux software in place to control them.
4674 The firmware for the robot is available from the producer, and using
4675 that source it was trivial to figure out the protocol specification.
4676 I've started on a perl library to control it, and made some demo
4677 programs using this perl library to allow one to control the
4680 <p>The library is quite functional already, and capable of controlling
4681 the driving, fetching video, uploading MP3s and play them. There are
4682 a few less important features too.</p>
4684 <p>Since a few weeks ago, I ran out of time to spend on this project,
4685 but I never got around to releasing the current source. I decided
4686 today that it was time to do something about it, and uploaded the
4687 source to my Debian package store at people.skolelinux.org.</p>
4689 <p>Because it was simpler for me, I made a Debian package and
4690 published the source and deb. If you got a spykee robot, grab the
4691 source or binary package:</p>
4694 <li><a href="http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0
.20101009-
1.tar.gz
">libspykee-perl_0.0.20101009-1.tar.gz</a></li>
4695 <li><a href="http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0
.20101009-
1.dsc
">libspykee-perl_0.0.20101009-1.dsc</a></li>
4696 <li><a href="http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0
.20101009-
1_all.deb
">libspykee-perl_0.0.20101009-1_all.deb</a></li>
4699 <p>If you are interested in helping out with developing this library,
4700 please let me know.</p>
4707 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/robot
">robot</a>.
4711 <div class="padding
"></div>
4715 <a href="http://people.skolelinux.org/pere/blog/Pledge_for_funding_to_the_Gnash_project_to_get_AVM2_support.html
">Pledge for funding to the Gnash project to get AVM2 support</a>
4723 <p><a href="http://www.getgnash.org/
">The Gnash project</a> is the
4724 most promising solution for a Free Software Flash implementation. It
4725 has done great so far, but there is still far to go, and recently its
4726 funding has dried up. I believe AVM2 support in Gnash is vital to the
4727 continued progress of the project, as more and more sites show up with
4728 AVM2 flash files.</p>
4730 <p>To try to get funding for developing such support, I have started
4731 <a href="http://www.pledgebank.com/gnash-avm2
">a pledge</a> with the
4736 <p>"I will pay
100$ to the Gnash project to develop AVM2 support but
4737 only if
10 other people will do the same.
"</p>
4739 <p>- Petter Reinholdtsen, free software developer</p>
4741 <p>Deadline to sign up by: 24th December 2010</p>
4743 <p>The Gnash project need to get support for the new Flash file
4744 format AVM2 to work with a lot of sites using Flash on the
4745 web. Gnash already work with a lot of Flash sites using the old AVM1
4746 format, but more and more sites are using the AVM2 format these
4747 days. The project web page is available from
4748 http://www.getgnash.org/ . Gnash is a free software implementation
4749 of Adobe Flash, allowing those of us that do not accept the terms of
4750 the Adobe Flash license to get access to Flash sites.</p>
4752 <p>The project need funding to get developers to put aside enough
4753 time to develop the AVM2 support, and this pledge is my way to try
4754 to get this to happen.</p>
4756 <p>The project accept donations via the OpenMediaNow foundation,
4757 <a href="http://www.openmedianow.org/?q=node/
32">http://www.openmedianow.org/?q=node/32</a> .</p>
4761 <p>I hope you will support this effort too. I hope more than 10
4762 people will participate to make this happen. The more money the
4763 project gets, the more features it can develop using these funds.
4771 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia
">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video
">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web
">web</a>.
4775 <div class="padding
"></div>
4779 <a href="http://people.skolelinux.org/pere/blog/Software_updates_2010_10_24.html
">Software updates 2010-10-24</a>
4787 <p>Some updates.</p>
4789 <p>My <a href="http://pledgebank.com/gnash-avm2
">gnash pledge</a> to
4790 raise money for the project is going well. The lower limit of 10
4791 signers was reached in 24 hours, and so far 13 people have signed it.
4792 More signers and more funding is most welcome, and I am really curious
4793 how far we can get before the time limit of December 24 is reached.
4796 <p>On the #gnash IRC channel on irc.freenode.net, I was just tipped
4797 about what appear to be a great code coverage tool capable of
4798 generating code coverage stats without any changes to the source code.
4800 <a href="http://simonkagstrom.github.com/kcov/index.html
">kcov</a>,
4801 and can be used using <tt>kcov <directory> <binary></tt>.
4802 It is missing in Debian, but the git source built just fine in Squeeze
4803 after I installed libelf-dev, libdwarf-dev, pkg-config and
4804 libglib2.0-dev. Failed to build in Lenny, but suspect that is
4805 solvable. I hope kcov make it into Debian soon.</p>
4807 <p>Finally found time to wrap up the release notes for <a
4808 href="http://lists.debian.org/debian-edu-announce/
2010/
10/msg00002.html
">a
4809 new alpha release of Debian Edu</a>, and just published the second
4810 alpha test release of the Squeeze based Debian Edu /
4811 <a href="http://www.skolelinux.org/
">Skolelinux</a>
4812 release. Give it a try if you need a complete linux solution for your
4813 school, including central infrastructure server, workstations, thin
4814 client servers and diskless workstations. A nice touch added
4815 yesterday is RDP support on the thin client servers, for windows
4816 clients to get a Linux desktop on request.</p>
4823 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/multimedia
">multimedia</a>.
4827 <div class="padding
"></div>
4831 <a href="http://people.skolelinux.org/pere/blog/Making_room_on_the_Debian_Edu_Sqeeze_DVD.html
">Making room on the Debian Edu/Sqeeze DVD</a>
4839 <p>Prioritising packages for the Debian Edu /
4840 <a href="http://www.skolelinux.org/
">Skolelinux</a> DVD, which is
4841 supposed provide a school with all the services and user applications
4842 needed on the pupils computer network has always been hard. Even
4843 schools without Internet connections should be able to get Debian Edu
4844 working using this DVD.</p>
4846 <p>The job became a lot harder when apt and aptitude started
4847 installing recommended packages by default. We want the same set of
4848 packages to be installed when using the DVD and the netinst CD, and
4849 that means all recommended packages need to be on the DVD. I created
4850 a patch for debian-cd in <a href="http://bugs.debian.org/
601203">BTS
4851 report #601203</a> to do this, and since this change was applied to
4852 the Debian Edu DVD build, we have been seriously short on space.</p>
4854 <p>A few days ago we decided to drop blender, wxmaxima and kicad from
4855 the default installation to save space on the DVD, believing that
4856 those needing these applications are few and can get them from the
4859 <p>Yesterday, I had a look what source packages to see which packages
4860 were using most space. A few large packages are well know;
4861 openoffice.org, openclipart and fluid-soundfont. But I also
4862 discovered that lilypond used 106 MiB and fglrx-driver used 53 MiB.
4863 The lilypond package is pulled in as a dependency for rosegarden, and
4864 when looking a bit closer I discovered that 99 MiB of the 106 MiB were
4865 the documentation package, which is recommended by the binary package.
4866 I decided to drop this documentation package from our DVD, as most of
4867 our users will use the GUI front-ends and do not need the lilypond
4868 documentation. Similarly, I dropped the non-free fglrx-driver package
4869 which might be installed by d-i when its hardware is detected, as the
4870 free X driver should work.</p>
4872 <p>With this change, we finally got space for the LXDE and Gnome
4873 desktop packages as well as the language specific packages making the
4874 DVD more useful again.</p>
4881 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/nuug
">nuug</a>.
4885 <div class="padding
"></div>
4889 <a href="http://people.skolelinux.org/pere/blog/Debian_in_3D.html
">Debian in 3D</a>
4897 <p><img src="http://thingiverse-production.s3.amazonaws.com/renders/
23/e0/c4/f9/
2b/debswagtdose_preview_medium.jpg
"></p>
4899 <p>3D printing is just great. I just came across this Debian logo in
4901 <a href="http://blog.thingiverse.com/
2010/
11/
09/participatory-branding/
">the
4902 thingiverse blog</a>.</p>
4909 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/
3d-printer
">3d-printer</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>.
4913 <div class="padding
"></div>
4917 <a href="http://people.skolelinux.org/pere/blog/Gnash_buildbot_slave_and_Debian_kfreebsd.html
">Gnash buildbot slave and Debian kfreebsd</a>
4926 <a href="http://www.listware.net/
201011/gnash-dev/
67431-gnash-dev-buildbot-looking-for-slaves.html
">the
4927 call from the Gnash project</a> for
4928 <a href="http://www.gnashdev.org:
8010">buildbot</a> slaves to test the
4929 current source, I have set up a virtual KVM machine on the Debian
4930 Edu/Skolelinux virtualization host to test the git source on
4931 Debian/Squeeze. I hope this can help the developers in getting new
4932 releases out more often.</p>
4934 <p>As the developers want less main-stream build platforms tested to,
4935 I have considered setting up a <a
4936 href="http://www.debian.org/ports/kfreebsd-gnu/
">Debian/kfreebsd</a>
4937 machine as well. I have also considered using the kfreebsd
4938 architecture in Debian as a file server in NUUG to get access to the 5
4939 TB zfs volume we currently use to store DV video. Because of this, I
4940 finally got around to do a test installation of Debian/Squeeze with
4941 kfreebsd. Installation went fairly smooth, thought I noticed some
4942 visual glitches in the cdebconf dialogs (black cursor left on the
4943 screen at random locations). Have not gotten very far with the
4944 testing. Noticed cfdisk did not work, but fdisk did so it was not a
4945 fatal problem. Have to spend some more time on it to see if it is
4946 useful as a file server for NUUG. Will try to find time to set up a
4947 gnash buildbot slave on the Debian Edu/Skolelinux this weekend.</p>
4954 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/nuug
">nuug</a>.
4958 <div class="padding
"></div>
4962 <a href="http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_and_KDE_desktop.html
">Lenny->Squeeze upgrades, apt vs aptitude with the Gnome and KDE desktop</a>
4970 <p>I'm still running upgrade testing of the
4971 <a href="http://people.skolelinux.org/~pere/debian-upgrade-testing/
">Lenny
4972 Gnome and KDE Desktop</a>, but have not had time to spend on reporting the
4973 status. Here is a short update based on a test I ran 20101118.</p>
4975 <p>I still do not know what a correct migration should look like, so I
4976 report any differences between apt and aptitude and hope someone else
4977 can see if anything should be changed.</p>
4979 <p>This is for Gnome:</p>
4981 <p>Installed using apt-get, missing with aptitude</p>
4984 apache2.2-bin aptdaemon at-spi baobab binfmt-support
4985 browser-plugin-gnash cheese-common cli-common cpp-4.3 cups-pk-helper
4986 dmz-cursor-theme empathy empathy-common finger
4987 freedesktop-sound-theme freeglut3 gconf-defaults-service gdm-themes
4988 gedit-plugins geoclue geoclue-hostip geoclue-localnet geoclue-manual
4989 geoclue-yahoo gnash gnash-common gnome gnome-backgrounds
4990 gnome-cards-data gnome-codec-install gnome-core
4991 gnome-desktop-environment gnome-disk-utility gnome-screenshot
4992 gnome-search-tool gnome-session-canberra gnome-spell
4993 gnome-system-log gnome-themes-extras gnome-themes-more
4994 gnome-user-share gs-common gstreamer0.10-fluendo-mp3
4995 gstreamer0.10-tools gtk2-engines gtk2-engines-pixbuf
4996 gtk2-engines-smooth hal-info hamster-applet libapache2-mod-dnssd
4997 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
4998 libart2.0-cil libatspi1.0-0 libboost-date-time1.42.0
4999 libboost-python1.42.0 libboost-thread1.42.0 libchamplain-0.4-0
5000 libchamplain-gtk-0.4-0 libcheese-gtk18 libclutter-gtk-0.10-0
5001 libcryptui0 libcupsys2 libdiscid0 libeel2-data libelf1 libepc-1.0-2
5002 libepc-common libepc-ui-1.0-2 libfreerdp-plugins-standard
5003 libfreerdp0 libgail-common libgconf2.0-cil libgdata-common libgdata7
5004 libgdl-1-common libgdu-gtk0 libgee2 libgeoclue0 libgexiv2-0 libgif4
5005 libglade2.0-cil libglib2.0-cil libgmime2.4-cil libgnome-vfs2.0-cil
5006 libgnome2.24-cil libgnomepanel2.24-cil libgnomeprint2.2-data
5007 libgnomeprintui2.2-common libgnomevfs2-bin libgpod-common libgpod4
5008 libgtk2.0-cil libgtkglext1 libgtksourceview-common
5009 libgtksourceview2.0-common libmono-addins-gui0.2-cil
5010 libmono-addins0.2-cil libmono-cairo2.0-cil libmono-corlib2.0-cil
5011 libmono-i18n-west2.0-cil libmono-posix2.0-cil
5012 libmono-security2.0-cil libmono-sharpzip2.84-cil
5013 libmono-system2.0-cil libmtp8 libmusicbrainz3-6
5014 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libopal3.6.8
5015 libpolkit-gtk-1-0 libpt-1.10.10-plugins-alsa
5016 libpt-1.10.10-plugins-v4l libpt2.6.7 libpython2.6 librpm1 librpmio1
5017 libsdl1.2debian libservlet2.4-java libsrtp0 libssh-4
5018 libtelepathy-farsight0 libtelepathy-glib0 libtidy-0.99-0
5019 libxalan2-java libxerces2-java media-player-info mesa-utils
5020 mono-2.0-gac mono-gac mono-runtime nautilus-sendto
5021 nautilus-sendto-empathy openoffice.org-writer2latex
5022 openssl-blacklist p7zip p7zip-full pkg-config python-4suite-xml
5023 python-aptdaemon python-aptdaemon-gtk python-axiom
5024 python-beautifulsoup python-bugbuddy python-clientform
5025 python-coherence python-configobj python-crypto python-cupshelpers
5026 python-cupsutils python-eggtrayicon python-elementtree
5027 python-epsilon python-evolution python-feedparser python-gdata
5028 python-gdbm python-gst0.10 python-gtkglext1 python-gtkmozembed
5029 python-gtksourceview2 python-httplib2 python-louie python-mako
5030 python-markupsafe python-mechanize python-nevow python-notify
5031 python-opengl python-openssl python-pam python-pkg-resources
5032 python-pyasn1 python-pysqlite2 python-rdflib python-serial
5033 python-tagpy python-twisted-bin python-twisted-conch
5034 python-twisted-core python-twisted-web python-utidylib python-webkit
5035 python-xdg python-zope.interface remmina remmina-plugin-data
5036 remmina-plugin-rdp remmina-plugin-vnc rhythmbox-plugin-cdrecorder
5037 rhythmbox-plugins rpm-common rpm2cpio seahorse-plugins shotwell
5038 software-center svgalibg1 system-config-printer-udev
5039 telepathy-gabble telepathy-mission-control-5 telepathy-salut tomboy
5040 totem totem-coherence totem-mozilla totem-plugins
5041 transmission-common xdg-user-dirs xdg-user-dirs-gtk xserver-xephyr
5045 Installed using apt-get, removed with aptitude
5048 arj bluez-utils cheese dhcdbd djvulibre-desktop ekiga eog
5049 epiphany-extensions epiphany-gecko evolution-exchange
5050 fast-user-switch-applet file-roller gcalctool gconf-editor gdm gedit
5051 gedit-common gnome-app-install gnome-games gnome-games-data
5052 gnome-nettool gnome-system-tools gnome-themes gnome-utils
5053 gnome-vfs-obexftp gnome-volume-manager gnuchess gucharmap
5054 guile-1.8-libs hal libavahi-compat-libdnssd1 libavahi-core5
5055 libavahi-ui0 libbind9-50 libbluetooth2 libcamel1.2-11 libcdio7
5056 libcucul0 libcurl3 libdirectfb-1.0-0 libdmx1 libdvdread3
5057 libedata-cal1.2-6 libedataserver1.2-9 libeel2-2.20 libepc-1.0-1
5058 libepc-ui-1.0-1 libexchange-storage1.2-3 libfaad0 libgadu3
5059 libgalago3 libgd2-noxpm libgda3-3 libgda3-common libggz2 libggzcore9
5060 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0 libgnome-desktop-2
5061 libgnome-pilot2 libgnomecups1.0-1 libgnomeprint2.2-0
5062 libgnomeprintui2.2-0 libgpod3 libgraphviz4 libgtk-vnc-1.0-0
5063 libgtkhtml2-0 libgtksourceview1.0-0 libgtksourceview2.0-0
5064 libgucharmap6 libhesiod0 libicu38 libisccc50 libisccfg50 libiw29
5065 libjaxp1.3-java-gcj libkpathsea4 liblircclient0 libltdl3 liblwres50
5066 libmagick++10 libmagick10 libmalaga7 libmozjs1d libmpfr1ldbl libmtp7
5067 libmysqlclient15off libnautilus-burn4 libneon27 libnm-glib0
5068 libnm-util0 libopal-2.2 libosp5 libparted1.8-10 libpisock9
5069 libpisync1 libpoppler-glib3 libpoppler3 libpt-1.10.10 libraw1394-8
5070 libsdl1.2debian-alsa libsensors3 libsexy2 libsmbios2 libsoup2.2-8
5071 libspeexdsp1 libssh2-1 libsuitesparse-3.1.0 libsvga1
5072 libswfdec-0.6-90 libtalloc1 libtotem-plparser10 libtrackerclient0
5073 libvoikko1 libxalan2-java-gcj libxerces2-java-gcj libxklavier12
5074 libxtrap6 libxxf86misc1 libzephyr3 mysql-common rhythmbox seahorse
5075 sound-juicer swfdec-gnome system-config-printer totem-common
5076 totem-gstreamer transmission-gtk vinagre vino w3c-dtd-xhtml wodim
5079 <p>Installed using aptitude, missing with apt-get</p>
5082 gstreamer0.10-gnomevfs
5085 <p>Installed using aptitude, removed with apt-get</p>
5091 <p>This is for KDE:</p>
5093 <p>Installed using apt-get, missing with aptitude</p>
5096 autopoint bomber bovo cantor cantor-backend-kalgebra cpp-4.3 dcoprss
5097 edict espeak espeak-data eyesapplet fifteenapplet finger gettext
5098 ghostscript-x git gnome-audio gnugo granatier gs-common
5099 gstreamer0.10-pulseaudio indi kaddressbook-plugins kalgebra
5100 kalzium-data kanjidic kapman kate-plugins kblocks kbreakout kbstate
5101 kde-icons-mono kdeaccessibility kdeaddons-kfile-plugins
5102 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
5103 kdeedu kdeedu-data kdeedu-kvtml-data kdegames kdegames-card-data
5104 kdegames-mahjongg-data kdegraphics-kfile-plugins kdelirc
5105 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
5106 kdepim-kfile-plugins kdepim-kio-plugins kdessh kdetoys kdewebdev
5107 kdiamond kdnssd kfilereplace kfourinline kgeography-data kigo
5108 killbots kiriki klettres-data kmoon kmrml knewsticker-scripts
5109 kollision kpf krosspython ksirk ksmserver ksquares kstars-data
5110 ksudoku kubrick kweather libasound2-plugins libboost-python1.42.0
5111 libcfitsio3 libconvert-binhex-perl libcrypt-ssleay-perl libdb4.6++
5112 libdjvulibre-text libdotconf1.0 liberror-perl libespeak1
5113 libfinance-quote-perl libgail-common libgsl0ldbl libhtml-parser-perl
5114 libhtml-tableextract-perl libhtml-tagset-perl libhtml-tree-perl
5115 libio-stringy-perl libkdeedu4 libkdegames5 libkiten4 libkpathsea5
5116 libkrossui4 libmailtools-perl libmime-tools-perl
5117 libnews-nntpclient-perl libopenbabel3 libportaudio2 libpulse-browse0
5118 libservlet2.4-java libspeechd2 libtiff-tools libtimedate-perl
5119 libunistring0 liburi-perl libwww-perl libxalan2-java libxerces2-java
5120 lirc luatex marble networkstatus noatun-plugins
5121 openoffice.org-writer2latex palapeli palapeli-data parley
5122 parley-data poster psutils pulseaudio pulseaudio-esound-compat
5123 pulseaudio-module-x11 pulseaudio-utils quanta-data rocs rsync
5124 speech-dispatcher step svgalibg1 texlive-binaries texlive-luatex
5128 <p>Installed using apt-get, removed with aptitude</p>
5131 amor artsbuilder atlantik atlantikdesigner blinken bluez-utils cvs
5132 dhcdbd djvulibre-desktop imlib-base imlib11 kalzium kanagram kandy
5133 kasteroids katomic kbackgammon kbattleship kblackbox kbounce kbruch
5134 kcron kdat kdemultimedia-kappfinder-data kdeprint kdict kdvi kedit
5135 keduca kenolaba kfax kfaxview kfouleggs kgeography kghostview
5136 kgoldrunner khangman khexedit kiconedit kig kimagemapeditor
5137 kitchensync kiten kjumpingcube klatin klettres klickety klines
5138 klinkstatus kmag kmahjongg kmailcvt kmenuedit kmid kmilo kmines
5139 kmousetool kmouth kmplot knetwalk kodo kolf kommander konquest kooka
5140 kpager kpat kpdf kpercentage kpilot kpoker kpovmodeler krec
5141 kregexpeditor kreversi ksame ksayit kshisen ksig ksim ksirc ksirtet
5142 ksmiletris ksnake ksokoban kspaceduel kstars ksvg ksysv kteatime
5143 ktip ktnef ktouch ktron kttsd ktuberling kturtle ktux kuickshow
5144 kverbos kview kviewshell kvoctrain kwifimanager kwin kwin4 kwordquiz
5145 kworldclock kxsldbg libakode2 libarts1-akode libarts1-audiofile
5146 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
5147 libavahi-core5 libavc1394-0 libbind9-50 libbluetooth2
5148 libboost-python1.34.1 libcucul0 libcurl3 libcvsservice0
5149 libdirectfb-1.0-0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
5150 libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-0 libicu38
5151 libiec61883-0 libindex0 libisccc50 libisccfg50 libiw29
5152 libjaxp1.3-java-gcj libk3b3 libkcal2b libkcddb1 libkdeedu3
5153 libkdegames1 libkdepim1a libkgantt0 libkleopatra1 libkmime2
5154 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
5155 libksieve0 libktnef1 liblockdev1 libltdl3 liblwres50 libmagick10
5156 libmimelib1c2a libmodplug0c2 libmozjs1d libmpcdec3 libmpfr1ldbl
5157 libneon27 libnm-util0 libopensync0 libpisock9 libpoppler-glib3
5158 libpoppler-qt2 libpoppler3 libraw1394-8 librss1 libsensors3
5159 libsmbios2 libssh2-1 libsuitesparse-3.1.0 libswfdec-0.6-90
5160 libtalloc1 libxalan2-java-gcj libxerces2-java-gcj libxtrap6 lskat
5161 mpeglib network-manager-kde noatun pmount tex-common texlive-base
5162 texlive-common texlive-doc-base texlive-fonts-recommended tidy
5163 ttf-dustin ttf-kochi-gothic ttf-sjfonts
5166 <p>Installed using aptitude, missing with apt-get</p>
5169 dolphin kde-core kde-plasma-desktop kde-standard kde-window-manager
5170 kdeartwork kdebase kdebase-apps kdebase-workspace
5171 kdebase-workspace-bin kdebase-workspace-data kdeutils kscreensaver
5172 kscreensaver-xsavers libgle3 libkonq5 libkonq5-templates libnetpbm10
5173 netpbm plasma-widget-folderview plasma-widget-networkmanagement
5174 xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
5175 xscreensaver-screensaver-bsod
5178 <p>Installed using aptitude, removed with apt-get</p>
5181 kdebase-bin konq-plugins konqueror
5189 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>.
5193 <div class="padding
"></div>
5197 <a href="http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html
">Migrating Xen virtual machines using LVM to KVM using disk images</a>
5205 <p>Most of the computers in use by the
5206 <a href="http://www.skolelinux.org/
">Debian Edu/Skolelinux project</a>
5207 are virtual machines. And they have been Xen machines running on a
5208 fairly old IBM eserver xseries 345 machine, and we wanted to migrate
5209 them to KVM on a newer Dell PowerEdge 2950 host machine. This was a
5210 bit harder that it could have been, because we set up the Xen virtual
5211 machines to get the virtual partitions from LVM, which as far as I
5212 know is not supported by KVM. So to migrate, we had to convert
5213 several LVM logical volumes to partitions on a virtual disk file.</p>
5216 <a href="http://searchnetworking.techtarget.com.au/articles/
35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
">a
5217 nice recipe</a> to do this, and wrote the following script to do the
5218 migration. It uses qemu-img from the qemu package to make the disk
5219 image, parted to partition it, losetup and kpartx to present the disk
5220 image partions as devices, and dd to copy the data. I NFS mounted the
5221 new servers storage area on the old server to do the migration.</p>
5227 # http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
5232 if [ -z "$
1" ] ; then
5233 echo "Usage: $
0 <hostname
>"
5239 if [ ! -e /dev/vg_data/$host-disk ] ; then
5240 echo "error: unable to find LVM volume for $host"
5244 # Partitions need to be a bit bigger than the LVM LVs. not sure why.
5245 disksize=$( lvs --units m | grep $host-disk | awk '{sum = sum + $
4} END { print int(sum *
1.05) }')
5246 swapsize=$( lvs --units m | grep $host-swap | awk '{sum = sum + $
4} END { print int(sum *
1.05) }')
5247 totalsize=$(( ( $disksize + $swapsize ) ))
5250 #dd if=/dev/zero of=$img bs=
1M count=$(( $disksize + $swapsize ))
5251 qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
5253 parted $img mklabel msdos
5254 parted $img mkpart primary linux-swap
0 $disksize
5255 parted $img mkpart primary ext2 $disksize $totalsize
5256 parted $img set
1 boot on
5259 losetup /dev/loop0 $img
5260 kpartx -a /dev/loop0
5262 dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=
1M
5263 fsck.ext3 -f /dev/mapper/loop0p1 || true
5264 mkswap /dev/mapper/loop0p2
5266 kpartx -d /dev/loop0
5267 losetup -d /dev/loop0
5270 <p>The script is perhaps so simple that it is not copyrightable, but
5271 if it is, it is licenced using GPL v2 or later at your discretion.
</p>
5273 <p>After doing this, I booted a Debian CD in rescue mode in KVM with
5274 the new disk image attached, installed grub-pc and linux-image-
686 and
5275 set up grub to boot from the disk image. After this, the KVM machines
5276 seem to work just fine.
</p>
5283 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>.
5287 <div class=
"padding"></div>
5291 <a href=
"http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html">Lenny-
>Squeeze upgrades of the Gnome and KDE desktop, now with apt-get autoremove
</a>
5299 <p>Michael Biebl suggested to me on IRC, that I changed my automated
5300 upgrade testing of the
5301 <a href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing/">Lenny
5302 Gnome and KDE Desktop
</a> to do
<tt>apt-get autoremove
</tt> when using apt-get.
5303 This seem like a very good idea, so I adjusted by test scripts and
5304 can now present the updated result from today:
</p>
5306 <p>This is for Gnome:
</p>
5308 <p>Installed using apt-get, missing with aptitude
</p>
5315 browser-plugin-gnash
5322 freedesktop-sound-theme
5324 gconf-defaults-service
5339 gnome-desktop-environment
5343 gnome-session-canberra
5348 gstreamer0.10-fluendo-mp3
5354 libapache2-mod-dnssd
5357 libaprutil1-dbd-sqlite3
5360 libboost-date-time1.42
.0
5361 libboost-python1.42
.0
5362 libboost-thread1.42
.0
5364 libchamplain-gtk-
0.4-
0
5366 libclutter-gtk-
0.10-
0
5373 libfreerdp-plugins-standard
5388 libgnomepanel2.24-cil
5393 libgtksourceview2.0-common
5394 libmono-addins-gui0.2-cil
5395 libmono-addins0.2-cil
5396 libmono-cairo2.0-cil
5397 libmono-corlib2.0-cil
5398 libmono-i18n-west2.0-cil
5399 libmono-posix2.0-cil
5400 libmono-security2.0-cil
5401 libmono-sharpzip2.84-cil
5402 libmono-system2.0-cil
5405 libndesk-dbus-glib1.0-cil
5406 libndesk-dbus1.0-cil
5416 libtelepathy-farsight0
5425 nautilus-sendto-empathy
5429 python-aptdaemon-gtk
5431 python-beautifulsoup
5446 python-gtksourceview2
5457 python-pkg-resources
5464 python-twisted-conch
5470 python-zope.interface
5475 rhythmbox-plugin-cdrecorder
5482 system-config-printer-udev
5484 telepathy-mission-control-
5
5497 <p>Installed using apt-get, removed with aptitude
</p>
5505 fast-user-switch-applet
5524 libgtksourceview2.0-
0
5526 libsdl1.2debian-alsa
5532 system-config-printer
5539 <p>Installed using aptitude, missing with apt-get
</p>
5542 gstreamer0.10-gnomevfs
5545 <p>Installed using aptitude, removed with apt-get
</p>
5551 <p>This is for KDE:
</p>
5553 <p>Installed using apt-get, missing with aptitude
</p>
5559 <p>Installed using apt-get, removed with aptitude
</p>
5566 <p>Installed using aptitude, missing with apt-get
</p>
5582 kdeartwork-emoticons
5584 kdeartwork-theme-icon
5588 kdebase-workspace-bin
5589 kdebase-workspace-data
5603 kscreensaver-xsavers
5618 plasma-dataengines-workspace
5620 plasma-desktopthemes-artwork
5621 plasma-runners-addons
5622 plasma-scriptengine-googlegadgets
5623 plasma-scriptengine-python
5624 plasma-scriptengine-qedje
5625 plasma-scriptengine-ruby
5626 plasma-scriptengine-webkit
5627 plasma-scriptengines
5628 plasma-wallpapers-addons
5629 plasma-widget-folderview
5630 plasma-widget-networkmanagement
5634 xscreensaver-data-extra
5636 xscreensaver-gl-extra
5637 xscreensaver-screensaver-bsod
5640 <p>Installed using aptitude, removed with apt-get
</p>
5644 google-gadgets-common
5662 libggadget-qt-
1.0-
0b
5667 libkonqsidebarplugin4a
5676 libplasma-geolocation-interface4
5678 libplasmagenericshell4
5692 libsmokeknewstuff2-
3
5693 libsmokeknewstuff3-
3
5695 libsmokektexteditor3
5703 libsmokeqtnetwork4-
3
5709 libsmokeqtuitools4-
3
5721 plasma-dataengines-addons
5722 plasma-scriptengine-superkaramba
5723 plasma-widget-lancelot
5724 plasma-widgets-addons
5725 plasma-widgets-workspace
5729 update-notifier-common
5732 <p>Running apt-get autoremove made the results using apt-get and
5733 aptitude a bit more similar, but there are still quite a lott of
5734 differences. I have no idea what packages should be installed after
5735 the upgrade, but hope those that do can have a look.
</p>
5742 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>.
5746 <div class=
"padding"></div>
5750 <a href=
"http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html">Why isn't Debian Edu using VLC?
</a>
5758 <p>In the latest issue of Linux Journal, the readers choices were
5759 presented, and the winner among the multimedia player were VLC.
5760 Personally, I like VLC, and it is my player of choice when I first try
5761 to play a video file or stream. Only if VLC fail will I drag out
5762 gmplayer to see if it can do better. The reason is mostly the failure
5763 model and trust. When VLC fail, it normally pop up a error message
5764 reporting the problem. When mplayer fail, it normally segfault or
5765 just hangs. The latter failure mode drain my trust in the program.
<p>
5767 <p>But even if VLC is my player of choice, we have choosen to use
5768 mplayer in
<a href=
"http://www.skolelinux.org/">Debian
5769 Edu/Skolelinux
</a>. The reason is simple. We need a good browser
5770 plugin to play web videos seamlessly, and the VLC browser plugin is
5771 not very good. For example, it lack in-line control buttons, so there
5772 is no way for the user to pause the video. Also, when I
5773 <a href=
"http://wiki.debian.org/DebianEdu/BrowserMultimedia">last
5774 tested the browser plugins
</a> available in Debian, the VLC plugin
5775 failed on several video pages where mplayer based plugins worked. If
5776 the browser plugin for VLC was as good as the gecko-mediaplayer
5777 package (which uses mplayer), we would switch.
</P>
5779 <p>While VLC is a good player, its user interface is slightly
5780 annoying. The most annoying feature is its inconsistent use of
5781 keyboard shortcuts. When the player is in full screen mode, its
5782 shortcuts are different from when it is playing the video in a window.
5783 For example, space only work as pause when in full screen mode. I
5784 wish it had consisten shortcuts and that space also would work when in
5785 window mode. Another nice shortcut in gmplayer is [enter] to restart
5786 the current video. It is very nice when playing short videos from the
5787 web and want to restart it when new people arrive to have a look at
5788 what is going on.
</p>
5795 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/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
5799 <div class=
"padding"></div>
5803 <a href=
"http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html">Debian Edu development gathering and General Assembly for FRiSK
</a>
5811 <p>On friday, the first Debian Edu / Skolelinux
5812 <a href=
"http://www.friprogramvareiskolen.no/Gathering/2010-12-03-05-Oslo">development
5813 gathering
</a> in a long time take place here in Oslo, Norway. I
5814 really look forward to seeing all the good people working on the
5815 Squeeze release. The gathering is open for everyone interested in
5816 learning more about Debian Edu / Skolelinux.
</p>
5818 <p>On Saturday, the Norwegian member organization taking care of
5819 organizing these development gatherings, Fri Programvare i Skolen,
5821 <a href=
"http://friprogramvareiskolen.no/Genfors/2010">General Assembly
5822 for
2010</a>. Membership is open for all, and currently there are
388
5823 people registered as members. Last year
32 members cast their vote in
5824 the memberdb based election system. I hope more people find time to
5832 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/nuug">nuug
</a>.
5836 <div class=
"padding"></div>
5840 <a href=
"http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html">Student group continue the work on my Reprap
3D printer
</a>
5848 <p>A few days ago, I was introduces to some students in the robot
5849 student assosiation
<a href=
"http://www.robotica.no/">Robotica
5850 Osloensis
</a> at the University of Oslo where I work, who planned to
5851 get their own
3D printer. They wanted to learn from me based on my
5852 work in the area. After having a short lunch meeting with them, I
5853 offered them to borrow my reprap kit, as I never had time to complete
5854 the build and this seem unlike to change any time soon. I look
5855 forward to see how this goes. This monday their volunteer driver
5856 picked up my kit and drove it to their lab, and tomorrow I am told the
5857 last exam is over so they can start work on getting the
3D printer
5860 <p>The robotic group have already build several robots on their own,
5861 and seem capable of getting the reprap operational. I really look
5862 forward to being able to print all the cool
3D designs published on
5863 <a href=
"http://www.thingiverse.com/">Thingiverse
</a>. I even got
5864 some
3D scans I got made during Dagen@IFI when one of the groups at
5865 the computer science department at the university demonstrated their
5866 very cool
3D scanner.
</p>
5873 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap
</a>.
5877 <div class=
"padding"></div>
5881 <a href=
"http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html">Now accepting bitcoins - anonymous and distributed p2p crypto-money
</a>
5889 <p>With this weeks lawless
5890 <a href=
"http://www.salon.com/news/opinion/glenn_greenwald/2010/12/06/wikileaks/index.html">governmental
5891 attacks
</a> on Wikileak and
5892 <a href=
"http://www.salon.com/technology/dan_gillmor/2010/12/06/war_on_speech">free
5893 speech
</a>, it has become obvious that PayPal, visa and mastercard can
5894 not be trusted to handle money transactions.
5896 <a href=
"http://webmink.com/2010/12/06/now-accepting-bitcoin/">Simon
5897 Phipps on bitcoin
</a> reminded me about a project that a friend of
5898 mine mentioned earlier. I decided to follow Simon's example, and get
5899 involved with
<a href=
"http://www.bitcoin.org/">BitCoin
</a>. I got
5900 some help from my friend to get it all running, and he even handed me
5901 some bitcoins to get started. I even donated a few bitcoins to Simon
5902 for helping me remember BitCoin.
</p>
5904 <p>So, what is bitcoins, you probably wonder? It is a digital
5905 crypto-currency, decentralised and handled using peer-to-peer
5906 networks. It allows anonymous transactions and prohibits central
5907 control over the transactions, making it impossible for governments
5908 and companies alike to block donations and other transactions. The
5909 source is free software, and while the key dependency wxWidgets
2.9
5910 for the graphical user interface is missing in Debian, the command
5911 line client builds just fine. Hopefully Jonas
5912 <a href=
"http://bugs.debian.org/578157">will get the package into
5913 Debian
</a> soon.
</p>
5915 <p>Bitcoins can be converted to other currencies, like USD and EUR.
5916 There are
<a href=
"http://www.bitcoin.org/trade">companies accepting
5917 bitcoins
</a> when selling services and goods, and there are even
5918 currency "stock" markets where the exchange rate is decided. There
5919 are not many users so far, but the concept seems promising. If you
5920 want to get started and lack a friend with any bitcoins to spare,
5922 <a href=
"https://freebitcoins.appspot.com/">some for free
</a> (
0.05
5923 bitcoin at the time of writing). Use
5924 <a href=
"http://www.bitcoinwatch.com/">BitcoinWatch
</a> to keep an eye
5925 on the current exchange rates.
</p>
5927 <p>As an experiment, I have decided to set up bitcoind on one of my
5928 machines. If you want to support my activity, please send Bitcoin
5929 donations to the address
5930 <b>15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</b>. Thank you!
</p>
5937 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin
</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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>.
5941 <div class=
"padding"></div>
5945 <a href=
"http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html">Some thoughts on BitCoins
</a>
5953 <p>As I continue to explore
5954 <a href=
"http://www.bitcoin.org/">BitCoin
</a>, I've starting to wonder
5955 what properties the system have, and how it will be affected by laws
5956 and regulations here in Norway. Here are some random notes.
</p>
5958 <p>One interesting thing to note is that since the transactions are
5959 verified using a peer to peer network, all details about a transaction
5960 is known to everyone. This means that if a BitCoin address has been
5961 published like I did with mine in my initial post about BitCoin, it is
5962 possible for everyone to see how many BitCoins have been transfered to
5963 that address. There is even a web service to look at the details for
5964 all transactions. There I can see that my address
5965 <a href=
"http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a>
5966 have received
16.06 Bitcoin, the
5967 <a href=
"http://blockexplorer.com/address/1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3">1LfdGnGuWkpSJgbQySxxCWhv
8MHqvwst
3</a>
5968 address of Simon Phipps have received
181.97 BitCoin and the address
5969 <a href=
"http://blockexplorer.com/address/1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt">1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt
</A>
5970 of EFF have received
2447.38 BitCoins so far. Thank you to each and
5971 every one of you that donated bitcoins to support my activity. The
5972 fact that anyone can see how much money was transfered to a given
5973 address make it more obvious why the BitCoin community recommend to
5974 generate and hand out a new address for each transaction. I'm told
5975 there is no way to track which addresses belong to a given person or
5976 organisation without the person or organisation revealing it
5977 themselves, as Simon, EFF and I have done.
</p>
5979 <p>In Norway, and in most other countries, there are laws and
5980 regulations limiting how much money one can transfer across the border
5981 without declaring it. There are money laundering, tax and accounting
5982 laws and regulations I would expect to apply to the use of BitCoin.
5983 If the Skolelinux foundation
5984 (
<a href=
"http://linuxiskolen.no/slxdebianlabs/donations.html">SLX
5985 Debian Labs
</a>) were to accept donations in BitCoin in addition to
5986 normal bank transfers like EFF is doing, how should this be accounted?
5987 Given that it is impossible to know if money can across the border or
5988 not, should everything or nothing be declared? What exchange rate
5989 should be used when calculating taxes? Would receivers have to pay
5990 income tax if the foundation were to pay Skolelinux contributors in
5991 BitCoin? I have no idea, but it would be interesting to know.
</p>
5993 <p>For a currency to be useful and successful, it must be trusted and
5994 accepted by a lot of users. It must be possible to get easy access to
5995 the currency (as a wage or using currency exchanges), and it must be
5996 easy to spend it. At the moment BitCoin seem fairly easy to get
5997 access to, but there are very few places to spend it. I am not really
5998 a regular user of any of the vendor types currently accepting BitCoin,
5999 so I wonder when my kind of show would start accepting BitCoins. I
6000 would like to buy electronics, travels and subway tickets, not herbs
6001 and books. :) The currency is young, and this will improve over time
6002 if it become popular, but I suspect regular banks will start to lobby
6003 to get BitCoin declared illegal if it become popular. I'm sure they
6004 will claim it is helping fund terrorism and money laundering (which
6005 probably would be true, as is any currency in existence), but I
6006 believe the problems should be solved elsewhere and not by blaming
6009 <p>The process of creating new BitCoins is called mining, and it is
6010 CPU intensive process that depend on a bit of luck as well (as one is
6011 competing against all the other miners currently spending CPU cycles
6012 to see which one get the next lump of cash. The "winner" get
50
6013 BitCoin when this happen. Yesterday I came across the obvious way to
6014 join forces to increase ones changes of getting at least some coins,
6015 by coordinating the work on mining BitCoins across several machines
6016 and people, and sharing the result if one is lucky and get the
50
6018 <a href=
"http://www.bluishcoder.co.nz/bitcoin-pool/">BitCoin Pool
</a>
6019 if this sounds interesting. I have not had time to try to set up a
6020 machine to participate there yet, but have seen that running on ones
6021 own for a few days have not yield any BitCoins througth mining
6029 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin
</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>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>.
6033 <div class=
"padding"></div>
6035 <p style=
"text-align: right;"><a href=
"english.rss"><img src=
"http://people.skolelinux.org/pere/blog/xml.gif" alt=
"RSS Feed" width=
"36" height=
"14"></a></p>
6048 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
6050 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
6052 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
6054 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
6056 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
6058 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
6060 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
6062 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
6064 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
6066 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
6068 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
6070 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
5)
</a></li>
6077 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
6079 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
6081 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
6083 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
6085 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
6087 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
6089 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
6091 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
6093 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
6095 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
6097 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
6099 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
6106 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
6108 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
6119 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
6121 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
6123 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
6125 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
2)
</a></li>
6127 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
10)
</a></li>
6129 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
45)
</a></li>
6131 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
52)
</a></li>
6133 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
76)
</a></li>
6135 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
1)
</a></li>
6137 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
11)
</a></li>
6139 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
5)
</a></li>
6141 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li>
6143 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li>
6145 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
6147 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
11)
</a></li>
6149 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
93)
</a></li>
6151 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
114)
</a></li>
6153 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
18)
</a></li>
6155 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
30)
</a></li>
6157 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
6159 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li>
6161 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
6163 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
22)
</a></li>
6165 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
3)
</a></li>
6167 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
16)
</a></li>
6169 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li>
6171 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
16)
</a></li>
6173 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li>
6175 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
14)
</a></li>