For en stund tilbake gikk nyheten om
-Sandy
-Island, en øy som var dukket opp på noen kart, men som ikke var
-synlig når en sjekket den på satellittbilder. Dagbladet meldte for
-eksempel at
-«denne
-øya finnes på kart, men ikke i virkeligheten». Noe senere begynte
-jeg å lese
-historier
-om Ruffen til mine barn. Dette er historier om sjøormen Ruffen
-skapt av Tor à ge Bringsværd, som starter med følgende beskrivelse:
-
-
-«Langt ute i havet ligger en mystisk øy. Den er bare synlig hver
-tirsdag og fredag. Derfor står den ikke på noe kart. På denne øye
-ligger et slott, og i slottet bor en gammel, fin sjøormfamilie.»
-
-
-
Det virker åpenbart at Hr. Bringsværd tok feil når han trodde den
-ikke var på noe kart, og at noen tydeligvis har vært i nærheten en
-tirsdag eller en fredag og fått den med på et kart, mens
-satellittbildene er tatt på noen av de fem andre dagene i uka og
-dermed ikke ser øya. :)
-
-
I følge
-en
-senere artikkel i Dagbladet hevder Shaun Higgins, en forsker fra
-New Zealand, at et hvalfangstskip fra 1876 er opprinnelsen til at
-spøkelsesøya i det hele tatt havnet på kartet. Det fremgår ikke fra
-historien hvilken ukedag de var innom.
Today the Isenkram
-package finally made it into the archive, after lingering in NEW
-for many months. I uploaded it to the Debian experimental suite
-2013-01-27, and today it was accepted into the archive.
-
-
Isenkram is a system for suggesting to users what packages to
-install to work with a pluggable hardware device. The suggestion pop
-up when the device is plugged in. For example if a Lego Mindstorm NXT
-is inserted, it will suggest to install the program needed to program
-the NXT controller. Give it a go, and report bugs and suggestions to
-BTS. :)
+The Debian Edu Team is pleased to announce the release of Debian Edu
+Jessie 8.0+edu0~alpha0
+
+Debian Edu is a complete operating system for schools. Through its
+various installation profiles you can install servers, workstations
+and laptops which will work together on the school network. With
+Debian Edu, the teachers themselves or their technical support can
+roll out a complete multi-user multi-machine study environment within
+hours or a few days. Debian Edu comes with hundreds of applications
+pre-installed, but you can always add more packages from Debian.
+
+For those who want to give Debian Edu Jessie a try, download and
+installation instructions are available, including detailed
+instructions in the manual[1] explaining the first steps, such as
+setting up a network or adding users. Please note that the password
+for the user your prompted for during installation must have a length
+of at least 5 characters!
+
+ [1] <URL: https://wiki.debian.org/DebianEdu/Documentation/Jessie >
+
+Would you like to give your school's computer a longer life? Are you
+tired of sneaker administration, running from computer to computer
+reinstalling the operating system? Would you like to administrate all
+the computers in your school using only a couple of hours every week?
+Check out Debian Edu Jessie!
+
+Skolelinux is used by at least two hundred schools all over the world,
+mostly in Germany and Norway.
+
+About Debian Edu and Skolelinux
+===============================
+
+Debian Edu, also known as Skolelinux[2], is a Linux distribution based
+on Debian providing an out-of-the box environment of a completely
+configured school network. Immediately after installation a school
+server running all services needed for a school network is set up just
+waiting for users and machines being added via GOsa², a comfortable
+Web-UI. A netbooting environment is prepared using PXE, so after
+initial installation of the main server from CD or USB stick all other
+machines can be installed via the network. The provided school server
+provides LDAP database and Kerberos authentication service,
+centralized home directories, DHCP server, web proxy and many other
+services. The desktop contains more than 60 educational software
+packages[3] and more are available from the Debian archive, and
+schools can choose between KDE, Gnome, LXDE, Xfce and MATE desktop
+environment.
+
+ [2] <URL: http://www.skolelinux.org/ >
+ [3] <URL: http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html >
+
+Full release notes and manual
+=============================
+
+Below the download URLs there is a list of some of the new features
+and bugfixes of Debian Edu 8.0+edu0~alpha0 Codename Jessie. The full
+list is part of the manual. (See the feature list in the manual[4] for
+the English version.) For some languages manual translations are
+available, see the manual translation overview[5].
+
+ [4] <URL: https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features >
+ [5] <URL: http://maintainer.skolelinux.org/debian-edu-doc/ >
+
+Where to get it
+---------------
+
+To download the multiarch netinstall CD release (624 MiB) you can use
+
+ * ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso
+ * http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso
+ * rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso .
+
+The SHA1SUM of this image is: 361188818e036ce67280a572f757de82ebfeb095
+
+New features for Debian Edu 8.0+edu0~alpha0 Codename Jessie released 2014-10-27
+===============================================================================
+
+
+Installation changes
+--------------------
+
+ * PXE installation now installs firmware automatically for the hardware present.
+
+Software updates
+----------------
+
+Everything which is new in Debian Jessie 8.0, eg:
+
+ * Linux kernel 3.16.x
+ * Desktop environments KDE "Plasma" 4.11.12, GNOME 3.14, Xfce 4.10,
+ LXDE 0.5.6 and MATE 1.8 (KDE "Plasma" is installed by default; to
+ choose one of the others see manual.)
+ * the browsers Iceweasel 31 ESR and Chromium 38
+ * !LibreOffice 4.3.3
+ * GOsa 2.7.4
+ * LTSP 5.5.4
+ * CUPS print system 1.7.5
+ * new boot framework: systemd
+ * Educational toolbox GCompris 14.07
+ * Music creator Rosegarden 14.02
+ * Image editor Gimp 2.8.14
+ * Virtual stargazer Stellarium 0.13.0
+ * golearn 0.9
+ * tuxpaint 0.9.22
+ * New version of debian-installer from Debian Jessie.
+ * Debian Jessie includes about 42000 packages available for
+ installation.
+ * More information about Debian Jessie 8.0 is provided in the release
+ notes[6] and the installation manual[7].
+
+ [6] <URL: http://www.debian.org/releases/jessie/releasenotes >
+ [7] <URL: http://www.debian.org/releases/jessie/installmanual >
+
+Fixed bugs
+----------
+
+ * Inserting incorrect DNS information in Gosa will no longer break
+ DNS completely, but instead stop DNS updates until the incorrect
+ information is corrected (Debian bug #710362)
+ * and many others.
+
+Documentation and translation updates
+-------------------------------------
+
+ * The Debian Edu Jessie Manual is fully translated to German, French,
+ Italian, Danish and Dutch. Partly translated versions exist for
+ Norwegian Bokmal and Spanish.
+
+Other changes
+-------------
+
+ * Due to new Squid settings, powering off or rebooting the main
+ server takes more time.
+ * To manage printers localhost:631 has to be used, currently www:631
+ doesn't work.
+
+Regressions / known problems
+----------------------------
+
+ * Installing LTSP chroot fails with a bug related to eatmydata about
+ exim4-config failing to run its postinst (see Debian bug #765694
+ and Debian bug #762103).
+ * Munin collection is not properly configured on clients (Debian bug
+ #764594). The fix is available in a newer version of munin-node.
+ * PXE setup for Main Server and Thin Client Server setup does not
+ work when installing on a machine without direct Internet access.
+ Will be fixed when Debian bug #766960 is fixed in Jessie.
+
+See the status page[8] for the complete list.
+
+ [8] <URL: https://wiki.debian.org/DebianEdu/Status/Jessie >
+
+How to report bugs
+------------------
+
+<URL: http://wiki.debian.org/DebianEdu/HowTo/ReportBugs >
+
+About Debian
+============
+
+The Debian Project was founded in 1993 by Ian Murdock to be a truly
+free community project. Since then the project has grown to be one of
+the largest and most influential open source projects. Thousands of
+volunteers from all over the world work together to create and
+maintain Debian software. Available in 70 languages, and supporting a
+huge range of computer types, Debian calls itself the universal
+operating system.
+
+Contact Information
+For further information, please visit the Debian web pages[9] or send
+mail to press@debian.org.
+
+ [9] <URL: http://www.debian.org/ >
+
For noen dager siden nevnte jeg at vi jobbet med å typesette en
-novelle med DocBook. I dag ble
-utgivelsen annonsert med følgende pressemelding fra Elektronisk
-Forpost Norge), som jeg gjengir i sin helhet:
"Riktignok er det ikke påbudt å ha mobil," sier Thomas Gramstad,
-leder i EFN. "Men vi holder på å lage et samfunn der det blir så
-upraktisk eller tungvint å ikke ha det, at man i praksis ikke slipper
-unna. Og disse lillebrødrene sladrer hele tiden til staten (og til
-mange andre) om hvor vi er, hva vi gjør, hva vi bryr oss om, hva vi
-liker..."
EFN oppfordrer andre forfattere om å gi ut sine gamle tekster med
-en fribrukslisens, slik at tekstene ikke blir glemt og for å stimulere
-lovlig deling på nettet. EFN kan være behjelpelig med digitalisering
-og utlegging på nett, i den grad det finnes kapasitet blant EFNs
-medlemmer til dette. Vi mener at nyutgivelser av tekster under frie
-lisenser kan øke interessen rundt forfatterskapet, og vil gjerne bidra
-til dette.
-
-
EFN utgir og deler med dette en novelle fra den digitale
-informasjonsteknologiens tidligste barndom. En novelle som fortsatt er
-full av vitalitet og aktualitet, og som derfor kan bidra til, og gi
-ettertanke i dagens debatter om IT, personvern, overvåkning og
-individets frihet og integritet.
i flere forskjellige formater, for ulike plattformer. Per idag
-finnes novellen i disse formatene: EPUB, MOBI, XML, HTML, PDF og
-txt. Det kan bli flere formater senere, og evt. frivillige
-bidragsytere til dette er velkommen.
-
-
Kontaktperson for denne pressemeldingen,
-
-
Thomas Gramstad
- thomas@efn.no
- 4817 6875
-
-
-
-
EFN arbeider for dine borgerrettigheter i IT-samfunnet, for
-nettverks- og delingskultur, personvern og frihet fra overvåkning,
-åpne standarder, brukerstyrt programvare, retten til å kopiere, og
-styrking av det digitale sivilsamfunnet m.m.
- www.efn.no
-
-
-
-
Jeg håper flere forfattere ser verdien av å gjøre kulturen
-tilgjengelig for flere, og slår følge med Hr. Bringsværd i å gi ut
-sine verker med bruksvilkår med færre bruksbegrensinger enn
-opphavsretten legger opp til. Selv om jeg gjerne skulle sett at han
-hadde brukt en Creative Commons-lisens som tillot avledede verker og
-kommersiell bruk.
I spent last weekend at Makercon
+Nordic, a great conference and workshop for makers in Norway and
+the surrounding countries. I had volunteered on behalf of the
+Norwegian Unix Users Group (NUUG) to video record the talks, and we
+had a great and exhausting time recording the entire day, two days in
+a row. There were only two of us, Hans-Petter and me, and we used the
+regular video equipment for NUUG, with a
+dvswitch, a
+camera and a VGA to DV convert box, and mixed video and slides
+live.
+
+
Hans-Petter did the post-processing, consisting of uploading the
+around 180 GiB of raw video to Youtube, and the result is
+now becoming
+public on the MakerConNordic account. The videos have the license
+NUUG always use on our recordings, which is
+Creative
+Commons Navngivelse-Del på samme vilkår 3.0 Norge. Many great
+talks available. Check it out! :)
Would you like to help the environment and save money at the same
-time, without much sacrifice? A small step could be to change the
-font you use when printing.
-
-
Three years ago,
-Ars
-Technica reported how the University of Wisconsin-Green Bay
-changed their default front from
-Arial to
-Century
-Gothic to save money. The Century Gothic font uses 30% less toner
-than Arial to print the same text. In other word, you could cut your
-toner costs by 30% (or actually, increase your toner supply life time
-by more than 30%), by simply changing the default font used in your
-prints.
-
-
But it is not quite obvious how much one will safe by switching.
-The University of Wisconsin-Green Bay said it used $100,000 per year
-on ink and toner cartridges, according to
-a report from
-TwinCities.com, and expected to save between $5,000 and $10,000
-per year by asking staff and students to use a different font. Not
-all PDFs and documents are created internally, and those from external
-sources will most likely still use a different font. Also, the
-Century Gothic font is slightly wider than Arial, and thus might use
-more sheets of paper to print the same text, so the total saving
-depend on the documents printed.
-
-
But it is definitely something to consider, if you want to reduce
-the amount of trash, decrease the amount of toner used in the world,
-and save some money in the process.
If you ever had to moderate a mailman list, like the ones on
+alioth.debian.org, you know the web interface is fairly slow to
+operate. First you visit one web page, enter the moderation password
+and get a new page shown with a list of all the messages to moderate
+and various options for each email address. This take a while for
+every list you moderate, and you need to do it regularly to do a good
+job as a list moderator. But there is a quick alternative,
+the
+listadmin program. It allow you to check lists for new messages
+to moderate in a fraction of a second. Here is a test run on two
+lists I recently took over:
+
+
+% time listadmin xiph
+fetching data for pkg-xiph-commits@lists.alioth.debian.org ... nothing in queue
+fetching data for pkg-xiph-maint@lists.alioth.debian.org ... nothing in queue
+
+real 0m1.709s
+user 0m0.232s
+sys 0m0.012s
+%
+
+
+
In 1.7 seconds I had checked two mailing lists and confirmed that
+there are no message in the moderation queue. Every morning I
+currently moderate 68 mailman lists, and it normally take around two
+minutes. When I took over the two pkg-xiph lists above a few days
+ago, there were 400 emails waiting in the moderator queue. It took me
+less than 15 minutes to process them all using the listadmin
+program.
+
+
If you install
+the listadmin
+package from Debian and create a file ~/.listadmin.ini
+with content like this, the moderation task is a breeze:
+
+
+username username@example.org
+spamlevel 23
+default discard
+discard_if_reason "Posting restricted to members only. Remove us from your mail list."
+
+password secret
+adminurl https://{domain}/mailman/admindb/{list}
+mailman-list@lists.example.com
+
+password hidden
+other-list@otherserver.example.org
+
+
+
There are other options to set as well. Check the manual page to
+learn the details.
+
+
If you are forced to moderate lists on a mailman installation where
+the SSL certificate is self signed or not properly signed by a
+generally accepted signing authority, you can set a environment
+variable when calling listadmin to disable SSL verification:
+
+
+PERL_LWP_SSL_VERIFY_HOSTNAME=0 listadmin
+
+
+
If you want to moderate a subset of the lists you take care of, you
+can provide an argument to the listadmin script like I do in the
+initial screen dump (the xiph argument). Using an argument, only
+lists matching the argument string will be processed. This make it
+quick to accept messages if you notice the moderation request in your
+email.
+
+
Without the listadmin program, I would never be the moderator of 68
+mailing lists, as I simply do not have time to spend on that if the
+process was any slower. The listadmin program have saved me hours of
+time I could spend elsewhere over the years. It truly is nice free
+software.
+
+
As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.
+
+
Update 2014-10-27: Added missing 'username' statement in
+configuration example. Also, I've been told that the
+PERL_LWP_SSL_VERIFY_HOSTNAME=0 setting do not work for everyone. Not
+sure why.
As I already had some experience formatting text in my project to
-provide a Norwegian version of the Free Culture book by Lawrence
-Lessig, I chipped in and set up a
-DocBook processing framework to
-generate PDF, HTML and EPUB version of the short story. The tools to
-transform DocBook to different formats are already in my Linux
-distribution of choice, Debian, so
-all I had to do was to use the
-dblatex,
-dbtoepub
-and xmlto tools to do the
-conversion. After a few days, we decided to replace dblatex with
-xsltproc/fop (aka
-docbook-xsl),
-to get the copyright information to show up in the PDF and to get a
-nicer <variablelist> typesetting, but that is just a minor
-technical detail.
-
-
There were a few challenges, of course. We want to typeset the
-short story to look like the original, and that require fairly good
-control over the layout. The original short story have three
-parts/scenes separated by a single horizontally centred star (*), and
-the paragraphs do not contain only flowing text, but dialogs and text
-that started on a new line in the middle of the paragraph.
-
-
I initially solved the first challenge by using a paragraph with a
-single star in it, ie <para>*</para>, but it made sure a
-placeholder indicated where the scene shifted. This did not look too
-good without the centring. The next approach was to create a new
-preprocessor directive <?newscene?>, mapping to "<hr/>"
-for HTML and "<fo:block text-align="center"><fo:leader
-leader-pattern="rule" rule-thickness="0.5pt"/></fo:block>"
-for FO/PDF output (did not try to implement this in dblatex, as we had
-switched at this time). The HTML XSL file looked like this:
When PXE installing laptops with Debian, I often run into the
+problem that the WiFi card require some firmware to work properly.
+And it has been a pain to fix this using preseeding in Debian.
+Normally something more is needed. But thanks to
+my isenkram
+package and its recent tasksel extension, it has now become easy
+to do this using simple preseeding.
+
+
The isenkram-cli package provide tasksel tasks which will install
+firmware for the hardware found in the machine (actually, requested by
+the kernel modules for the hardware). (It can also install user space
+programs supporting the hardware detected, but that is not the focus
+of this story.)
+
+
To get this working in the default installation, two preeseding
+values are needed. First, the isenkram-cli package must be installed
+into the target chroot (aka the hard drive) before tasksel is executed
+in the pkgsel step of the debian-installer system. This is done by
+preseeding the base-installer/includes debconf value to include the
+isenkram-cli package. The package name is next passed to debootstrap
+for installation. With the isenkram-cli package in place, tasksel
+will automatically use the isenkram tasks to detect hardware specific
+packages for the machine being installed and install them, because
+isenkram-cli contain tasksel tasks.
+
+
Second, one need to enable the non-free APT repository, because
+most firmware unfortunately is non-free. This is done by preseeding
+the apt-mirror-setup step. This is unfortunate, but for a lot of
+hardware it is the only option in Debian.
+
+
The end result is two lines needed in your preseeding file to get
+firmware installed automatically by the installer:
The current version of isenkram-cli in testing/jessie will install
+both firmware and user space packages when using this method. It also
+do not work well, so use version 0.15 or later. Installing both
+firmware and user space packages might give you a bit more than you
+want, so I decided to split the tasksel task in two, one for firmware
+and one for user space programs. The firmware task is enabled by
+default, while the one for user space programs is not. This split is
+implemented in the package currently in unstable.
-
Finally, I came across the <bridgehead> tag, which seem to be
-a good fit for the task at hand, and I replaced <?newscene?>
-with <bridgehead>*</bridgehead>. It isn't centred, but we
-can fix it with some XSL rule if the current visual layout isn't
-enough.
+
If you decide to give this a go, please let me know (via email) how
+this recipe work for you. :)
-
I did not find a good DocBook compliant way to solve the
-linebreak/paragraph challenge, so I ended up creating a new processor
-directive <?linebreak?>, mapping to <br/> in HTML, and
-<fo:block/> in FO/PDF. I suspect there are better ways to do
-this, and welcome ideas and patches on github. The HTML XSL file now
-look like this:
+
So, I bet you are wondering, how can this work. First and
+foremost, it work because tasksel is modular, and driven by whatever
+files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the
+isenkram-cli package place two files for tasksel to find. First there
+is the task description file (/usr/share/tasksel/descs/isenkram.desc):
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
- <xsl:template match="processing-instruction('linebreak)">
- <br/>
- </xsl:template>
-</xsl:stylesheet>
+Task: isenkram-packages
+Section: hardware
+Description: Hardware specific packages (autodetected by isenkram)
+ Based on the detected hardware various hardware specific packages are
+ proposed.
+Test-new-install: show show
+Relevance: 8
+Packages: for-current-hardware
+
+Task: isenkram-firmware
+Section: hardware
+Description: Hardware specific firmware packages (autodetected by isenkram)
+ Based on the detected hardware various hardware specific firmware
+ packages are proposed.
+Test-new-install: mark show
+Relevance: 8
+Packages: for-current-hardware-firmware
-
And the FO/PDF XSL file looked like this:
+
The key parts are Test-new-install which indicate how the task
+should be handled and the Packages line referencing to a script in
+/usr/lib/tasksel/packages/. The scripts use other scripts to get a
+list of packages to install. The for-current-hardware-firmware script
+look like this to list relevant firmware for the machine:
One unsolved challenge is our wish to expose different ISBN numbers
-per publication format, while keeping all of them in some conditional
-structure in the DocBook source. No idea how to do this, so we ended
-up listing all the ISBN numbers next to their format in the colophon
-page.
With those two pieces in place, the firmware is installed by
+tasksel during the normal d-i run. :)
+
+
If you want to test what tasksel will install when isenkram-cli is
+installed, run DEBIAN_PRIORITY=critical tasksel --test
+--new-install to get the list of packages that tasksel would
+install.
+
+
Debian Edu will be
+pilots in testing this feature, as isenkram is used there now to
+install firmware, replacing the earlier scripts.
I
-siste
-høring om
-referansekatalogen
-for IT-standarder i offentlig sektor, med høringsfrist 2012-09-30
-(DIFI-sak 2012/498), ble det foreslått å fjerne ODF som obligatorisk
-standard når en publiserte dokumenter som skulle kunne redigeres
-videre av mottaker. NUUG og andre protesterte på forslaget, som er et
-langt steg tilbake når det gjelder å sikre like rettigheter for alle
-når en kommuniserer med det offentlige. For noen dager siden ble jeg
-oppmerksom på at Direktoratet for forvaltning og IKT (DIFI) og
-Fornyings-,administrasjons- og kirkedepartementet (FAD) har
-konkludert, og oversendt forslag til regjeringen i saken. FADs
-dokument
-2012/2168-8,
-«Utkast til endring av standardiseringsforskriften» datert 2013-02-06
-har følgende triste oppsummering fra høringen i saken:
-
-
-Det kom noen innvendinger på forslaget om å fjerne ODF som
-obligatorisk standard for redigerbare dokumenter. Innvendingene har
-ikke blitt ilagt avgjørende vekt.
-
-
-
Ved å fjerne ODF som obligatorisk format ved publisering av
-redigerbare dokumenter setter en Norge tiår tilbake. Det som vil skje
-er at offentlige etater går tilbake til kun å publisere dokumenter på
-et av de mange formatene til Microsoft Office, og alle som ikke
-aksepterer bruksvilkårene til Microsoft eller ikke har råd til å bruke
-penger på å få tilgang til Microsoft Office må igjen basere seg på
-verktøy fra utviklerne som er avhengig av å reversutvikle disse
-formatene. I og med at ISO-spesifikasjonen for OOXML ikke komplett og
-korrekt spesifiserer formatene til MS Office (men er nyttige å titte i
-når en reversutvikler), er en tilbake til en situasjon der en ikke har
-en
-fri og åpen standard å forholde seg til, men i stedet må springe
-etter Microsoft. Alle andre leverandører enn Microsoft vil dermed ha
-en seriøs ulempe. Det er som å fjerne krav om bruk av meter som
-måleenhet, og heretter aksepterer alle måleenheter som like gyldige,
-når en vet at den mest brukte enheten vil være armlengden til Steve
-Ballmer slik Microsoft måler den.
-
-
Jeg er ikke sikker på om forslaget er vedtatt av regjeringen ennå.
-Kristian Bergem hos DIFI nevnte på et møte forrige tirsdag at han
-trodde det var vedtatt i statsråd 8. mars, men jeg har ikke klart å
-finne en skriftlig kilde på regjeringen.no som bekrefter dette.
-Kanskje det ennå ikke er for sent...
-
-
Jeg ba i forrige uke om innsyn i dokument 6, 7 og 8 i FAD-saken, og
-har i dag fått innsyn i dokument 7 og 8. Ble nektet innsyn i
-dokumentet med tittelen «Oppsummering av høring om endringer i
-forskrift om IT-standarder i offentlig forvaltning» med hjemmel i
-off. lovens §15.1, så det er vanskelig å vite hvordan argumentene fra
-høringen ble mottatt og forstått av saksbehandleren hos DIFI. Lurer
-på hvordan jeg kan klage på at jeg ikke fikk se oppsummeringen. Fikk
-tre PDFer tilsendt fra FAD,
-Endring av underversjon i EHF,
-Bakgrunnsnotat knyttet til versjon av EHF standarden i Forskrift om IT-standarder i offentlig sektor og
-Utkast til endring av standardiseringsforskriften, hvis du vil ta en titt.
Today I came across an unexpected Ubuntu boot screen. Above the
+bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu
+with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck
+on a screen normally showing the bread types and prizes:
+
+
+
+
If it had booted as it was supposed to, I would never had known
+about this hidden Linux installation. It is interesting what
+errors can reveal.
Via
-twitter
-I just discovered that Pcwizz have
-done a video
-review on Youtube of Skolelinux
-/ Debian Edu version 6. He installed the standalone profile and
-the video show a walk-through of of the menu content, demonstration of
-a few programs and his view of our distribution.
-
-
There is also some really nice quotes (transcribed by me, might
-have heard wrong). While looking thought the Graphics menu:
-
-
-"Basically everything you ever need in a school environment."
-
-
-
And as a general evaluation of the entire distribution:
-
-
-"So, yeah, a bit bloated. It kept all the Debian stuff in there, just
-to keep it nice and GNU. So, I do not want to go on about it, but
-lets give it 7 out of 10. I am not going to use it. That is because
-I am not deploying a school network. There may be some mythical
-feature to help you deploy Skolelinux on a school network."
-
-
-
To bad he did not test the server profile, and discovered the PXE
-installation option. It make it possible to install only the main
-server from CD, and the rest of the machines via the net, and might be
-considered the mythical feature he talk about. :)
-
-
While looking through the menus, there is also this funny comment
-about the part of the K menu generated from the Debian menu subsystem:
-
-
-"[The K menu] have a special Debian section for software that no-one
-is going to look at, because it contain lots of junky stuff that you
-actually don't need in the education distribution, but have just been
-included because it isn't stripped out for some reason."
-
-
-
I guess it is yet another argument for merging the Debian menu and
-Gnome/KDE desktop menu entries into
-one
-consistent menu system instead of two incomplete and partly
-inconsistent menu systems.
-
-
The entire video is available below for those accepting iframe
-embedding:
The lsdvd project
+got a new set of developers a few weeks ago, after the original
+developer decided to step down and pass the project to fresh blood.
+This project is now maintained by Petter Reinholdtsen and Steve
+Dibb.
Check for garbage in the program chains, which indicate that a track is
+ non-existant, to work around additional copy protection
+
Fix displaying content type for audio tracks, subtitles
+
Fix pallete display of first entry
+
Fix include orders
+
Ignore read errors in titles that would not be displayed anyway
+
Fix the chapter count
+
Make sure the array size and the array limit used when initialising
+ the palette size is the same.
+
Fix array printing.
+
Correct subsecond calculations.
+
Add sector information to the output format.
+
Clean up code to be closer to ANSI C and compile without warnings
+ with more GCC compiler warnings.
+
+
+
+
This change bring together patches for lsdvd in use in various
+Linux and Unix distributions, as well as patches submitted to the
+project the last nine years. Please check it out. :)
Min venn Erik Vold har på vegne av styret i
-Frikanalen sendt ut
-følgende
-epost til alle kanalens medlemmer og støttespillere, i et forsøk
-på å redde kanalen etter at kulturdepartementet kuttet all
-finansiering i fjor høst. Jeg fikk meldingen som
-NUUG-styremedlem, og mener den
-trenger et større publikum. Jeg gjengir den derfor i sin helhet,
-inkludert lenken til budsjett og regnskapsutkast, etter
-avtale
-med Erik.
-
-
-
Til Frikanalens støttespillere
-
-
Frivillighetens TV kanal har med minimal støtte avviklet daglige
-sendinger siden 2009 og til tross for at statsstøtten uteble i år, er
-vi nå i full gang med å utvikle et nytt TV system som foreningen selv
-vil eie. Departementet fikk dessverre ikke med seg at nettet vil
-berike TV sendingen fremfor å gjøre den overflødig. De har nå overlatt
-finansieringen av videre drift til frivilligheten og vi håper derfor
-på deres hjelp til å søke om midler. På kjøpet får dere langt flere
-muligheter til å nå ut med deres budskap og med utbyggingen av Hybrid
-TV (nett på TV) kan vi sammen motbevise departementets påstand.
-
-
Kostnaden med denne utviklingen er svært lav ettersom de fleste
-programmererne jobber gratis og alt er basert på åpen kildekode der
-man deler hverandres bidrag til kringkastingsorienterte systemer. I
-samarbeid med flere europeiske kanaler i EBU (SVT, BBC, NRK, ZDF, ARD,
-France Televisions etc) ønsker vi å bygge opp et nettverk for delt
-support og åpen kildekode der Frikanalen er den eneste sandkassen hvor
-ny teknologi kan testes på luft. Riks TV åpner for annonsering av
-nettinnhold relatert til det du ser på TV (streamevents i HbbTV)
-allerede i sommer. Med støtte fra Media Netwerk som drifter Frikanalen
-samt Sofia Digital som stiller med Hybrid TV server er vi & NRK sikret
-en sentral rolle i utprøvingen. Det vil da bli mulig og streame
-direkte til Riks TV sine nye mottakere (og nye IDTV'er) i HD samt at
-TV'n kan annonsere en link til deres organisasjonssider, med
-oppdaterte nyheter (RSS feeds), relaterte videoer etc., under
-avviklingen av deres innslag.
-
-
Vi tror sendingene på den nye nettstyrte TV-kanalen vil bli rikere enn
-på den kommersielle plattformen vi har vært på så langt. Brukerne vil
-nå få en tettere integrasjon med sosiale medier samt at innholdet
-etterhvert kommer ut på Hybrid TV og mobile enheter. Teknisk ansvarlig
-i Frikanalen, Erik Vold, er sentral i utviklingen av streamingdelen
-for tv.nrk.no (Ã¥rets produkt i PC World) og erfaringen NRK har gjort
-på mobile enheter kan videreføres til oss. Det er heller ingen tvil om
-at Hybrid TV vil bli en suksess også i Norge. Erik sitter i Nordig som
-har vedtatt en felles standard for de nordiske kringkasterne basert på
-HbbTV. Denne standarden bruker web-protokoller som gjør det like
-enkelt og billig å utvikle tjenester for Hybrid TV som å lage en
-nettside. Samtlige nye TV apparater solgt i Norden vil ha støtte for
-HbbTV og med det tror vi oppslutningen vil bli like stor som ellers i
-Europa (Tyskland og Frankrike tredoblet antall HbbTV-brukere i
-fjor). Vi forventer også mye d rahjelp fra disse foregangslandene. Vår
-utvikler Tore Sinding Bekkedal er i skriv ende stund på en HbbTV
-workshop med EBU-medlemmer hos IRT i München der han på vegne av NRK
-tester og utvikler ny stremingteknologi (MPEG- DASH) for
-mobile enheter og hybrid TV.
-
-
Frikanalen har forøvrig flyttet inn i nye kostnadsfrie lokaler på
-Chateau Neuf. Med massiv hjelp fra frivillige får vi der en
-flerkameraregi i egnede lokaler. Dette åpner for debatter, konserter,
-events og mye spennende innhold i samarbeid med Student TV'ene.
-
-
Med hjelp fra NUUG har også streamingdelen av systemet fått plass på
-Uninett (Forskningsparken) og dermed er vi på Norges beste
-internettlinjer. Vi åpner med dette for live mottak fra samtlige
-medlemmer og på sikt kan vi tilby HD på hybrid TV og PC / MAC / mobil.
-
-
Avvikling på luft skjer allerede med egenutviklede løsninger i åpen
-kildekode (playout og live-koding). Det er også mulig å se første
-byggetrinn med programoversikt og videoer på nett, men foreløpig kun
-for nettleserne Opera, Chrome og Firefox:
-http://beta.frikanalen.tv/guide/
-og
-http://beta.frikanalen.tv/video/. Kom
-gjerne med ønsker og tilbakemeldinger til vår hovedutvikler Benjamin
-Bruheim: grolgh (at) gmail.com
-
-
Med en tettere tilknytning til Akademia og NRK, er det god grunn til å
-tro at utviklingen vil skyte fart og at vi raskere kommer ut med
-dagsaktuelt innhold.
-
-
Vi sender i dag på Riks TV og Altibox, men ikke lenger på TV8. Det er
-viktig for våre brukere igjen å komme ut på Get og Canal Digital,
-dermed er det svært heldig at vi nå har formidlingsplikt på kabel. Til
-tross for at det tar noe tid å få nye avtaler på plass, med frivillig
-juridisk bistand, vil vi sannsynligvis komme bedre ut i andre enden
-også her. Formidlingsplikten gjelder samtlige kabeldistribusjoner i
-Norge, ikke bare de regionene TV8 hadde avtale med.
-
-
Om alt dette skal se dagens lys er vi avhengig av en
-grunnfinansiering. Deres medlemsavgifter er i så måte et svært viktig
-bidrag som vi er veldig takknemlige for. Vi ser oss likevel nødt til
-å be dere om å delta i arbeidet med å dekke de resterende
-driftskostnader. Frikanalen sin arbeidskapasitet er betydelig redusert
-etter at foreningen ikke lenger kunne finansiere en daglig leder, men
-allmøtet kan åpne for at flere bidrar til inntjening (Ekstraordinær
-generalforsamling foreslo å tillate sponsorplakater på sendeflaten og
-deler av disse inntektene kan tilfalle kanalen). HÃ¥per alle
-medlemmene kan hjelpe oss med å skrive søknader og skaffe sponsorer,
-eller i det minste komme med gode forslag til inntjening. Det er ikke
-mye som skal til for å klare videre drift, kun 0,5 mill. pr år.
-
-
Med en støtte som tilsvarer en norsk kortfilm vil vi kunne redde
-sendearkivet for flere tusen videoer bygget opp av frivilligheten
-gjennom 5 år og vi dobler kapasiteten for å ta imot nye (De som
-leverer HD vil for øvrig kunne få HD på nett, mobil og hybrid TV).
-
-
Vi vil også kunne videreføre konsesjonen på Riks TV og realisere en
-formidlingsplikt på kabel som har en årlig verdi på ca. 5 millioner
-kroner (når over 2/3 av Norges befolkning).
-
-
Uten støtte står verdens eneste nasjonale nettstyrte åpne TV kanal i
-fare for å forsvinne. En konkursbegjæring vil gjøre at utstyrsparken
-går til advokatsalærer i behandling av boet og kreditorene vil ikke
-kunne få dekket sine krav. Det mener vi ikke bare er urett ovenfor
-långiverne, men det er urett mot alle de som har bidratt med å bygge
-opp frivillighetens eneste sendearkiv og ikke minst alle de som i dag
-jobber frivillig med å videreutvikle TV-systemet.
-
-
HÃ¥per dere i likhet med styret ser verdien i videre drift og kan melde
-tilbake innen årsmøtet (Kontaktinformasjon til styret og frivillige
-utviklere er i kopifeltet).
-
-
Vennligst fyll ut det blå feltet i regnearket under med det dere tror
-er mulig å få inn. Det dere skriver her er ikke bindende, men gir
-styret en indikasjon på om videre drift er mulig. Det blir tatt
-stilling til av generalforsamlingen medio mars. Setter derfor pris på
-om alle kan bidra med forslag til støtte eller antatte verdier fra
-søknad/spons innen det.
-
-
Forhåpentligvis når vi også ønsket budsjett på 1 mill. pr år. Med det
-kan vi nedbetale gjelden raskere og sørge for en bedre
-tilgjengelighet, samt raskere utvikling:
Jeg håper noen av mine lesere med dette ser verdien av Frikanalen
-og melder seg inn for å sende sine videoer ut på TV til RiksTV og
-Altibox-seerne. Det haster. à rsmøtet i foreningen Frikanalen skal
-straks avholdes, og innen den tid må en redningsplan være på plass.
-NUUG bidrar allerede litt ved å organisere utviklersamlinger og
-finansiere litt mat og drikke til de frivillige som stiller opp på
-dugnadsbasis for å utvikle den tekniske løsningen. Det er ikke nok
-til å redde kanalen, men gir et lite steg i riktig retning.
-
-
Update 2013-03-13 13:00: Epostlistelenkene
-fungerer ikke lenger, da epostarkivet nå ikke lenger er tilgjengelig
-for ikke-abonnenter. Korrigerte teksten fra styret litt etter
-oppfordring fra Frikanalen-styret.
The Debian Edu / Skolelinux
+project provide a Linux solution for schools, including a
+powerful desktop with education software, a central server providing
+web pages, user database, user home directories, central login and PXE
+boot of both clients without disk and the installation to install Debian
+Edu on machines with disk (and a few other services perhaps to small
+to mention here). We in the Debian Edu team are currently working on
+the Jessie based version, trying to get everything in shape before the
+freeze, to avoid having to maintain our own package repository in the
+future. The
+current
+status can be seen on the Debian wiki, and there is still heaps of
+work left. Some fatal problems block testing, breaking the installer,
+but it is possible to work around these to get anyway. Here is a
+recipe on how to get the installation limping along.
+
+
First, download the test ISO via
+ftp,
+http
+or rsync (use
+ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso).
+The ISO build was broken on Tuesday, so we do not get a new ISO every
+12 hours or so, but thankfully the ISO we already got we are able to
+install with some tweaking.
+
+
When you get to the Debian Edu profile question, go to tty2
+(use Alt-Ctrl-F2), run
+
+
+nano /usr/bin/edu-eatmydata-install
+
+
+
and add 'exit 0' as the second line, disabling the eatmydata
+optimization. Return to the installation, select the profile you want
+and continue. Without this change, exim4-config will fail to install
+due to a known bug in eatmydata.
+
+
When you get the grub question at the end, answer /dev/sda (or if
+this do not work, figure out what your correct value would be. All my
+test machines need /dev/sda, so I have no advice if it do not fit
+your need.
+
+
If you installed a profile including a graphical desktop, log in as
+root after the initial boot from hard drive, and install the
+education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce
+or mate. If you want several desktop options, install more than one
+metapackage. Once this is done, reboot and you should have a working
+graphical login screen. This workaround should no longer be needed
+once the education-tasks package version 1.801 enter testing in two
+days.
+
+
I believe the ISO build will start working on two days when the new
+tasksel package enter testing and Steve McIntyre get a chance to
+update the debian-cd git repository. The eatmydata, grub and desktop
+issues are already fixed in unstable and testing, and should show up
+on the ISO as soon as the ISO build start working again. Well the
+eatmydata optimization is really just disabled. The proper fix
+require an upload by the eatmydata maintainer applying the patch
+provided in bug #702711.
+The rest have proper fixes in unstable.
+
+
I hope this get you going with the installation testing, as we are
+quickly running out of time trying to get our Jessie based
+installation ready before the distribution freeze in a month.
Om noen år skal mine barn antagelig begynne på skolen i Oslo. Der
-skal de blant annet lære seg å verdsette og håndheve sine egne grenser
-og beskytte sin personlige integritet og privatsfære. Det blir ikke
-enkelt når ledelsen i Osloskolen med vitende og vilje legger opp til å
-krenke elevenes privatsfære ved å la politiet ransake elevene med
-narkohund i klasserommet. Jon Wessel-Aas har publisert noen
-interessante kommentarer om hvorfor dette er ulovlig.
-
-
Jeg er veldig glad for at han bidrar med argumenter og forklaringer
-vi foreldre kan ta med oss når vi skal protestere på og få en slutt på
-denne forkastelige praksisen. Narkotikaproblemet må adresseres på
-andre måter som ikke krenker barn og ungdoms integritet. Jeg ønsker
-ikke at mine barn skal læres opp til å akseptere radering av
-privatlivets fred, men heller at de skal læres opp til å sloss imot
-den innføringen av stadig mer totalitær overvåkning som har pågått
-over mange år i Norge.
I use the lsdvd tool
+to handle my fairly large DVD collection. It is a nice command line
+tool to get details about a DVD, like title, tracks, track length,
+etc, in XML, Perl or human readable format. But lsdvd have not seen
+any new development since 2006 and had a few irritating bugs affecting
+its use with some DVDs. Upstream seemed to be dead, and in January I
+sent a small probe asking for a version control repository for the
+project, without any reply. But I use it regularly and would like to
+get an updated version
+into Debian. So two weeks ago I tried harder to get in touch with
+the project admin, and after getting a reply from him explaining that
+he was no longer interested in the project, I asked if I could take
+over. And yesterday, I became project admin.
+
+
I've been in touch with a Gentoo developer and the Debian
+maintainer interested in joining forces to maintain the upstream
+project, and I hope we can get a new release out fairly quickly,
+collecting the patches spread around on the internet into on place.
+I've added the relevant Debian patches to the freshly created git
+repository, and expect the Gentoo patches to make it too. If you got
+a DVD collection and care about command line tools, check out
+the git source and join
+the project mailing
+list. :)
it's my pleasure to announce the immediate availability of Debian
-Edu 6.0.7+r1 ("Debian Edu Squeeze").
-
-
Debian Edu 6.0.7+r1 is an incremental update to Debian Edu
-6.0.4+r0, containing all the changes between Debian 6.0.4 and 6.0.7 as
-well Debian Edu specific bugfixes and enhancements. See below (in this
-mail) for the full list of (edu) changes. Please see
-http://www.debian.org/News/2012/20120311
-for more information on "Debian Edu Squeeze".
Rundt omkring i Oslo og ÃstlandsomrÃ¥det henger det bokser over
+veiene som jeg har lurt på hva gjør. De har ut fra plassering og
+vinkling sett ut som bokser som sniffer ut et eller annet fra
+forbipasserende trafikk, men det har vært uklart for meg hva det er de
+leser av. Her om dagen tok jeg bilde av en slik boks som henger under
+ei
+skibru på Sollihøgda:
+
+
+
+
Boksen er tydelig merket «Kapsch >>>», logoen til
+det sveitsiske selskapet Kapsch som
+blant annet lager sensorsystemer for veitrafikk. Men de lager mye
+forskjellig, og jeg kjente ikke igjen boksen på utseendet etter en
+kjapp titt på produktlista til selskapet.
+
+
I og med at boksen henger over veien E16, en riksvei vedlikeholdt
+av Statens Vegvesen, så antok jeg at det burde være mulig å bruke
+REST-API-et som gir tilgang til vegvesenets database over veier,
+skilter og annet veirelatert til å finne ut hva i alle dager dette
+kunne være. De har både
+en
+datakatalog og
+et
+søk, der en kan søke etter ulike typer oppføringer innen for et
+gitt geografisk område. Jeg laget et enkelt shell-script for å hente
+ut antall av en gitt type innenfor området skibrua dekker, og listet
+opp navnet på typene som ble funnet. Orket ikke slå opp hvordan
+URL-koding av aktuelle strenger kunne gjøres mer generisk, og brukte
+en stygg sed-linje i stedet.
+
+Aktuelt ID-område 1-874 var riktig i datakatalogen da jeg laget
+scriptet. Det vil endre seg over tid. Skriptet listet så opp
+aktuelle typer i og rundt skibrua:
+
+
Av disse ser ID 775 og 862 mest relevant ut. ID 775 antar jeg
+refererer til fotoboksen som står like ved brua, mens
+«Reisetidsregistreringspunkt» kanskje kan være boksen som henger der.
+Hvordan finner jeg så ut hva dette kan være for noe. En titt på
+datakatalogsiden
+for ID 862/Reisetidsregistreringspunkt viser at det er finnes 53
+slike målere i Norge, og hvor de er plassert, men gir ellers få
+detaljer. Det er plassert 40 på østlandet og 13 i Trondheimsregionen.
+Men siden nevner «AutoPASS», og hvis en slår opp oppføringen på
+Sollihøgda nevner den «Ciber AS» som ID for eksternt system. (Kan det
+være snakk om
+Ciber
+Norge AS, et selskap eid av Ciber Europe Bv?) Et nettsøk på
+ «Ciber AS autopass» fører meg til en artikkel fra NRK Trøndelag i
+ 2013 med tittel
+«Sjekk
+dette hvis du vil unngå kø». Artikkelen henviser til vegvesenets
+nettside
+reisetider.no
+som har en
+kartside
+for Ãstlandet som viser at det mÃ¥les mellom Sandvika og Sollihøgda.
+Det kan dermed se ut til at jeg har funnet ut hva boksene gjør.
+
+
Hvis det stemmer, så er dette bokser som leser av AutoPASS-ID-en
+til alle passerende biler med AutoPASS-brikke, og dermed gjør det mulig
+for de som kontrollerer boksene å holde rede på hvor en gitt bil er
+når den passerte et slikt målepunkt. NRK-artikkelen forteller at
+denne informasjonen i dag kun brukes til å koble to
+AutoPASS-brikkepasseringer passeringer sammen for å beregne
+reisetiden, og at bruken er godkjent av Datatilsynet. Det er desverre
+ikke mulig for en sjåfør som passerer under en slik boks å kontrollere
+at AutoPASS-ID-en kun brukes til dette i dag og i fremtiden.
+
+
I tillegg til denne type AutoPASS-sniffere vet jeg at det også
+finnes mange automatiske stasjoner som tar betalt pr. passering (aka
+bomstasjoner), og der lagres informasjon om tid, sted og bilnummer i
+10 år. Finnes det andre slike sniffere plassert ut på veiene?
+
+
Personlig har jeg valgt å ikke bruke AutoPASS-brikke, for å gjøre
+det vanskeligere og mer kostbart for de som vil invadere privatsfæren
+og holde rede på hvor bilen min beveger seg til enhver tid. Jeg håper
+flere vil gjøre det samme, selv om det gir litt høyere private
+utgifter (dyrere bompassering). Vern om privatsfæren koster i disse
+dager.
+
+
Takk til Jan Kristian Jensen i Statens Vegvesen for tips om
+dokumentasjon på vegvesenets REST-API.
End-user documentation in English is available at
-http://wiki.debian.org/DebianEdu/Documentation/Squeeze/
-- translations to French, Italian, Danish and German are available in
-the debian-edu-doc package. (Other languages could use your help!)
The Debian installer could be
+a lot quicker. When we install more than 2000 packages in
+Skolelinux / Debian Edu using
+tasksel in the installer, unpacking the binary packages take forever.
+A part of the slow I/O issue was discussed in
+bug #613428 about too
+much file system sync-ing done by dpkg, which is the package
+responsible for unpacking the binary packages. Other parts (like code
+executed by postinst scripts) might also sync to disk during
+installation. All this sync-ing to disk do not really make sense to
+me. If the machine crash half-way through, I start over, I do not try
+to salvage the half installed system. So the failure sync-ing is
+supposed to protect against, hardware or system crash, is not really
+relevant while the installer is running.
+
+
A few days ago, I thought of a way to get rid of all the file
+system sync()-ing in a fairly non-intrusive way, without the need to
+change the code in several packages. The idea is not new, but I have
+not heard anyone propose the approach using dpkg-divert before. It
+depend on the small and clever package
+eatmydata, which
+uses LD_PRELOAD to replace the system functions for syncing data to
+disk with functions doing nothing, thus allowing programs to live
+dangerous while speeding up disk I/O significantly. Instead of
+modifying the implementation of dpkg, apt and tasksel (which are the
+packages responsible for selecting, fetching and installing packages),
+it occurred to me that we could just divert the programs away, replace
+them with a simple shell wrapper calling
+"eatmydata $program $@", to get the same effect.
+Two days ago I decided to test the idea, and wrapped up a simple
+implementation for the Debian Edu udeb.
+
+
The effect was stunning. In my first test it reduced the running
+time of the pkgsel step (installing tasks) from 64 to less than 44
+minutes (20 minutes shaved off the installation) on an old Dell
+Latitude D505 machine. I am not quite sure what the optimised time
+would have been, as I messed up the testing a bit, causing the debconf
+priority to get low enough for two questions to pop up during
+installation. As soon as I saw the questions I moved the installation
+along, but do not know how long the question were holding up the
+installation. I did some more measurements using Debian Edu Jessie,
+and got these results. The time measured is the time stamp in
+/var/log/syslog between the "pkgsel: starting tasksel" and the
+"pkgsel: finishing up" lines, if you want to do the same measurement
+yourself. In Debian Edu, the tasksel dialog do not show up, and the
+timing thus do not depend on how quickly the user handle the tasksel
+dialog.
+
+
+
+
+
Machine/setup
+
Original tasksel
+
Optimised tasksel
+
Reduction
+
+
+
+
Latitude D505 Main+LTSP LXDE
+
64 min (07:46-08:50)
+
<44 min (11:27-12:11)
+
>20 min 18%
+
+
+
+
Latitude D505 Roaming LXDE
+
57 min (08:48-09:45)
+
34 min (07:43-08:17)
+
23 min 40%
+
+
+
+
Latitude D505 Minimal
+
22 min (10:37-10:59)
+
11 min (11:16-11:27)
+
11 min 50%
+
+
+
+
Thinkpad X200 Minimal
+
6 min (08:19-08:25)
+
4 min (08:04-08:08)
+
2 min 33%
+
+
+
+
Thinkpad X200 Roaming KDE
+
19 min (09:21-09:40)
+
15 min (10:25-10:40)
+
4 min 21%
+
+
+
+
+
The test is done using a netinst ISO on a USB stick, so some of the
+time is spent downloading packages. The connection to the Internet
+was 100Mbit/s during testing, so downloading should not be a
+significant factor in the measurement. Download typically took a few
+seconds to a few minutes, depending on the amount of packages being
+installed.
+
+
The speedup is implemented by using two hooks in
+Debian
+Installer, the pre-pkgsel.d hook to set up the diverts, and the
+finish-install.d hook to remove the divert at the end of the
+installation. I picked the pre-pkgsel.d hook instead of the
+post-base-installer.d hook because I test using an ISO without the
+eatmydata package included, and the post-base-installer.d hook in
+Debian Edu can only operate on packages included in the ISO. The
+negative effect of this is that I am unable to activate this
+optimization for the kernel installation step in d-i. If the code is
+moved to the post-base-installer.d hook, the speedup would be larger
+for the entire installation.
+
+
I've implemented this in the
+debian-edu-install
+git repository, and plan to provide the optimization as part of the
+Debian Edu installation. If you want to test this yourself, you can
+create two files in the installer (or in an udeb). One shell script
+need do go into /usr/lib/pre-pkgsel.d/, with content like this:
+#!/bin/sh
+set -e
+. /usr/share/debconf/confmodule
+info() {
+ logger -t my-pkgsel "info: $*"
+}
+error() {
+ logger -t my-pkgsel "error: $*"
+}
+override_install() {
+ apt-install eatmydata || true
+ if [ -x /target/usr/bin/eatmydata ] ; then
+ for bin in dpkg apt-get aptitude tasksel ; do
+ file=/usr/bin/$bin
+ # Test that the file exist and have not been diverted already.
+ if [ -f /target$file ] ; then
+ info "diverting $file using eatmydata"
+ printf "#!/bin/sh\neatmydata $bin.distrib \"\$@\"\n" \
+ > /target$file.edu
+ chmod 755 /target$file.edu
+ in-target dpkg-divert --package debian-edu-config \
+ --rename --quiet --add $file
+ ln -sf ./$bin.edu /target$file
+ else
+ error "unable to divert $file, as it is missing."
+ fi
+ done
+ else
+ error "unable to find /usr/bin/eatmydata after installing the eatmydata pacage"
+ fi
+}
+
+override_install
+
-
I am very happy to see the fruits of a year of hard work. :)
+
To clean up, another shell script should go into
+/usr/lib/finish-install.d/ with code like this:
+
+
+#! /bin/sh -e
+. /usr/share/debconf/confmodule
+error() {
+ logger -t my-finish-install "error: $@"
+}
+remove_install_override() {
+ for bin in dpkg apt-get aptitude tasksel ; do
+ file=/usr/bin/$bin
+ if [ -x /target$file.edu ] ; then
+ rm /target$file
+ in-target dpkg-divert --package debian-edu-config \
+ --rename --quiet --remove $file
+ rm /target$file.edu
+ else
+ error "Missing divert for $file."
+ fi
+ done
+ sync # Flush file buffers before continuing
+}
+
+remove_install_override
+
+
+
In Debian Edu, I placed both code fragments in a separate script
+edu-eatmydata-install and call it from the pre-pkgsel.d and
+finish-install.d scripts.
+
+
By now you might ask if this change should get into the normal
+Debian installer too? I suspect it should, but am not sure the
+current debian-installer coordinators find it useful enough. It also
+depend on the side effects of the change. I'm not aware of any, but I
+guess we will see if the change is safe after some more testing.
+Perhaps there is some package in Debian depending on sync() and
+fsync() having effect? Perhaps it should go into its own udeb, to
+allow those of us wanting to enable it to do so without affecting
+everyone.
+
+
Update 2014-09-24: Since a few days ago, enabling this optimization
+will break installation of all programs using gnutls because of
+bug #702711. An updated
+eatmydata package in Debian will solve it.
+
+
Update 2014-10-17: The bug mentioned above is fixed in testing and
+the optimization work again. And I have discovered that the
+dpkg-divert trick is not really needed and implemented a slightly
+simpler approach as part of the debian-edu-install package. See
+tools/edu-eatmydata-install in the source package.