]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>How to stay with sysvinit in Debian Jessie</title>
11 <link>http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</guid>
13 <pubDate>Sat, 22 Nov 2014 01:00:00 +0100</pubDate>
14 <description>&lt;p&gt;By now, it is well known that Debian Jessie will not be using
15 sysvinit as its boot system by default. But how can one keep using
16 sysvinit in Jessie? It is fairly easy, and here are a few recipes,
17 courtesy of
18 &lt;a href=&quot;http://www.vitavonni.de/blog/201410/2014102101-avoiding-systemd.html&quot;&gt;Erich
19 Schubert&lt;/a&gt; and
20 &lt;a href=&quot;http://smcv.pseudorandom.co.uk/2014/still_universal/&quot;&gt;Simon
21 McVittie&lt;/a&gt;.
22
23 &lt;p&gt;If you already are using Wheezy and want to upgrade to Jessie and
24 keep sysvinit as your boot system, create a file
25 &lt;tt&gt;/etc/apt/preferences.d/use-sysvinit&lt;/tt&gt; with this content before
26 you upgrade:&lt;/p&gt;
27
28 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
29 Package: systemd-sysv
30 Pin: release o=Debian
31 Pin-Priority: -1
32 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
33
34 &lt;p&gt;This file content will tell apt and aptitude to not consider
35 installing systemd-sysv as part of any installation and upgrade
36 solution when resolving dependencies, and thus tell it to avoid
37 systemd as a default boot system. The end result should be that the
38 upgraded system keep using sysvinit.&lt;/p&gt;
39
40 &lt;p&gt;If you are installing Jessie for the first time, there is no way to
41 get sysvinit installed by default (debootstrap used by
42 debian-installer have no option for this), but one can tell the
43 installer to switch to sysvinit before the first boot. Either by
44 using a kernel argument to the installer, or by adding a line to the
45 preseed file used. First, the kernel command line argument:
46
47 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
48 preseed/late_command=&quot;in-target apt-get install -y sysvinit-core&quot;
49 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
50
51 &lt;p&gt;Next, the line to use in a preseed file:&lt;/p&gt;
52
53 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
54 d-i preseed/late_command string in-target apt-get install -y sysvinit-core
55 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
56
57 &lt;p&gt;One can of course also do this after the first boot by installing
58 the sysvinit-core package.&lt;/p&gt;
59
60 &lt;p&gt;I recommend only using sysvinit if you really need it, as the
61 sysvinit boot sequence in Debian have several hardware specific bugs
62 on Linux caused by the fact that it is unpredictable when hardware
63 devices show up during boot. But on the other hand, the new default
64 boot system still have a few rough edges I hope will be fixed before
65 Jessie is released.&lt;/p&gt;
66 </description>
67 </item>
68
69 <item>
70 <title>Hvordan vurderer regjeringen H.264-patentutfordringen?</title>
71 <link>http://people.skolelinux.org/pere/blog/Hvordan_vurderer_regjeringen_H_264_patentutfordringen_.html</link>
72 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Hvordan_vurderer_regjeringen_H_264_patentutfordringen_.html</guid>
73 <pubDate>Sun, 16 Nov 2014 10:30:00 +0100</pubDate>
74 <description>&lt;p&gt;For en stund tilbake spurte jeg Fornyingsdepartementet om hvilke
75 juridiske vurderinger rundt patentproblemstillingen som var gjort da
76 H.264 ble tatt inn i &lt;a href=&quot;http://standard.difi.no/&quot;&gt;statens
77 referansekatalog over standarder&lt;/a&gt;. Stig Hornnes i FAD tipset meg
78 om følgende som står i oppsumeringen til høringen om
79 referansekatalogen versjon 2.0, som jeg siden ved hjelp av en
80 innsynsforespørsel fikk tak i
81 &lt;a href=&quot;http://wiki.nuug.no/uttalelser/200901-standardkatalog-v2?action=AttachFile&amp;do=get&amp;target=kongelig-resolusjon.pdf&quot;&gt;PDF-utgaven av&lt;/a&gt;
82 datert 2009-06-03 (saksnummer 200803291, saksbehandler Henrik
83 Linnestad).&lt;/p&gt;
84
85 &lt;p&gt;Der står det følgende om problemstillingen:&lt;/p&gt;
86
87 &lt;p&gt;&lt;blockquote&gt;
88 &lt;strong&gt;4.4 Patentproblematikk&lt;/strong&gt;
89
90 &lt;p&gt;NUUG og Opera ser det som særlig viktig at forslagene knyttet til
91 lyd og video baserer seg på de royalty-frie standardene Vorbis, Theora
92 og FLAC.&lt;/p&gt;
93
94 &lt;p&gt;Kommentarene relaterer seg til at enkelte standarder er åpne, men
95 inneholder tekniske prosedyrer som det i USA (og noen andre land som
96 Japan) er gitt patentrettigheter til. I vårt tilfelle berører dette
97 spesielt standardene Mp3 og H.264, selv om Politidirektoratet peker på
98 at det muligens kan være tilsvarende problematikk også for Theora og
99 Vorbis. Dette medfører at det i USA kan kreves royalties for bruk av
100 tekniske løsninger knyttet til standardene, et krav som også
101 håndheves. Patenter kan imidlertid bare hevdes i de landene hvor
102 patentet er gitt, så amerikanske patenter gjelder ikke andre steder
103 enn USA.&lt;/p&gt;
104
105 &lt;p&gt;Spesielt for utvikling av fri programvare er patenter
106 problematisk. GPL, en &quot;grunnleggende&quot; lisens for distribusjon av fri
107 programvare, avviser at programvare kan distribueres under denne
108 lisensen hvis det inneholder referanser til patenterte rutiner som
109 utløser krav om royalties. Det er imidlertid uproblematisk å
110 distribuere fri programvareløsninger under GPL som benytter de
111 aktuelle standardene innen eller mellom land som ikke anerkjenner
112 patentene. Derfor finner vi også flere implementeringer av Mp3 og
113 H.264 som er fri programvare, lisensiert under GPL.&lt;/p&gt;
114
115 &lt;p&gt;I Norge og EU er patentlovgivningen langt mer restriktiv enn i USA,
116 men det er også her mulig å få patentert metoder for løsning av et
117 problem som relaterer seg til databehandling. Det er AIF bekjent ikke
118 relevante patenter i EU eller Norge hva gjelder H.264 og Mp3, men
119 muligheten for at det finnes patenter uten at det er gjort krav om
120 royalties eller at det senere vil gis slike patenter kan ikke helt
121 avvises.&lt;/p&gt;
122
123 &lt;p&gt;AIF mener det er et behov for å gi offentlige virksomheter mulighet
124 til å benytte antatt royaltyfrie åpne standarder som et likeverdig
125 alternativ eller i tillegg til de markedsledende åpne standardene.&lt;/p&gt;
126
127 &lt;/blockquote&gt;&lt;/p&gt;
128
129 &lt;p&gt;Det ser dermed ikke ut til at de har vurdert patentspørsmålet i
130 sammenheng med opphavsrettsvilkår slik de er formulert for f.eks.
131 Apple Final Cut Pro, Adobe Premiere Pro, Avid og Sorenson-verktøyene,
132 der det kreves brukstillatelse for patenter som ikke er gyldige i
133 Norge for å bruke disse verktøyene til annet en personlig og ikke
134 kommersiell aktivitet når det gjelder H.264-video. Jeg må nok lete
135 videre etter svar på det spørsmålet.&lt;/p&gt;
136 </description>
137 </item>
138
139 <item>
140 <title>A Debian package for SMTP via Tor (aka SMTorP) using exim4</title>
141 <link>http://people.skolelinux.org/pere/blog/A_Debian_package_for_SMTP_via_Tor__aka_SMTorP__using_exim4.html</link>
142 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Debian_package_for_SMTP_via_Tor__aka_SMTorP__using_exim4.html</guid>
143 <pubDate>Mon, 10 Nov 2014 13:40:00 +0100</pubDate>
144 <description>&lt;p&gt;The right to communicate with your friends and family in private,
145 without anyone snooping, is a right every citicen have in a liberal
146 democracy. But this right is under serious attack these days.&lt;/p&gt;
147
148 &lt;p&gt;A while back it occurred to me that one way to make the dragnet
149 surveillance conducted by NSA, GCHQ, FRA and others (and confirmed by
150 the whisleblower Snowden) more expensive for Internet email,
151 is to deliver all email using SMTP via Tor. Such SMTP option would be
152 a nice addition to the FreedomBox project if we could send email
153 between FreedomBox machines without leaking metadata about the emails
154 to the people peeking on the wire. I
155 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/freedombox-discuss/2014-October/006493.html&quot;&gt;proposed
156 this on the FreedomBox project mailing list in October&lt;/a&gt; and got a
157 lot of useful feedback and suggestions. It also became obvious to me
158 that this was not a novel idea, as the same idea was tested and
159 documented by Johannes Berg as early as 2006, and both
160 &lt;a href=&quot;https://github.com/pagekite/Mailpile/wiki/SMTorP&quot;&gt;the
161 Mailpile&lt;/a&gt; and &lt;a href=&quot;http://dee.su/cables&quot;&gt;the Cables&lt;/a&gt; systems
162 propose a similar method / protocol to pass emails between users.&lt;/p&gt;
163
164 &lt;p&gt;To implement such system one need to set up a Tor hidden service
165 providing the SMTP protocol on port 25, and use email addresses
166 looking like username@hidden-service-name.onion. With such addresses
167 the connections to port 25 on hidden-service-name.onion using Tor will
168 go to the correct SMTP server. To do this, one need to configure the
169 Tor daemon to provide the hidden service and the mail server to accept
170 emails for this .onion domain. To learn more about Exim configuration
171 in Debian and test the design provided by Johannes Berg in his FAQ, I
172 set out yesterday to create a Debian package for making it trivial to
173 set up such SMTP over Tor service based on Debian. Getting it to work
174 were fairly easy, and
175 &lt;a href=&quot;https://github.com/petterreinholdtsen/exim4-smtorp&quot;&gt;the
176 source code for the Debian package&lt;/a&gt; is available from github. I
177 plan to move it into Debian if further testing prove this to be a
178 useful approach.&lt;/p&gt;
179
180 &lt;p&gt;If you want to test this, set up a blank Debian machine without any
181 mail system installed (or run &lt;tt&gt;apt-get purge exim4-config&lt;/tt&gt; to
182 get rid of exim4). Install tor, clone the git repository mentioned
183 above, build the deb and install it on the machine. Next, run
184 &lt;tt&gt;/usr/lib/exim4-smtorp/setup-exim-hidden-service&lt;/tt&gt; and follow
185 the instructions to get the service up and running. Restart tor and
186 exim when it is done, and test mail delivery using swaks like
187 this:&lt;/p&gt;
188
189 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
190 torsocks swaks --server dutlqrrmjhtfa3vp.onion \
191 --to fbx@dutlqrrmjhtfa3vp.onion
192 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
193
194 &lt;p&gt;This will test the SMTP delivery using tor. Replace the email
195 address with your own address to test your server. :)&lt;/p&gt;
196
197 &lt;p&gt;The setup procedure is still to complex, and I hope it can be made
198 easier and more automatic. Especially the tor setup need more work.
199 Also, the package include a tor-smtp tool written in C, but its task
200 should probably be rewritten in some script language to make the deb
201 architecture independent. It would probably also make the code easier
202 to review. The tor-smtp tool currently need to listen on a socket for
203 exim to talk to it and is started using xinetd. It would be better if
204 no daemon and no socket is needed. I suspect it is possible to get
205 exim to run a command line tool for delivery instead of talking to a
206 socket, and hope to figure out how in a future version of this
207 system.&lt;/p&gt;
208
209 &lt;p&gt;Until I wipe my test machine, I can be reached using the
210 &lt;tt&gt;fbx@dutlqrrmjhtfa3vp.onion&lt;/tt&gt; mail address, deliverable over
211 SMTorP. :)&lt;/p&gt;
212 </description>
213 </item>
214
215 <item>
216 <title>First Jessie based Debian Edu released (alpha0)</title>
217 <link>http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_released__alpha0_.html</link>
218 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_released__alpha0_.html</guid>
219 <pubDate>Mon, 27 Oct 2014 20:40:00 +0100</pubDate>
220 <description>&lt;p&gt;I am happy to report that I on behalf of the Debian Edu team just
221 sent out
222 &lt;a href=&quot;https://lists.debian.org/debian-edu-announce/2014/10/msg00000.html&quot;&gt;this
223 announcement&lt;/a&gt;:&lt;/p&gt;
224
225 &lt;pre&gt;
226 The Debian Edu Team is pleased to announce the release of Debian Edu
227 Jessie 8.0+edu0~alpha0
228
229 Debian Edu is a complete operating system for schools. Through its
230 various installation profiles you can install servers, workstations
231 and laptops which will work together on the school network. With
232 Debian Edu, the teachers themselves or their technical support can
233 roll out a complete multi-user multi-machine study environment within
234 hours or a few days. Debian Edu comes with hundreds of applications
235 pre-installed, but you can always add more packages from Debian.
236
237 For those who want to give Debian Edu Jessie a try, download and
238 installation instructions are available, including detailed
239 instructions in the manual[1] explaining the first steps, such as
240 setting up a network or adding users. Please note that the password
241 for the user your prompted for during installation must have a length
242 of at least 5 characters!
243
244 [1] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Jessie&quot;&gt;https://wiki.debian.org/DebianEdu/Documentation/Jessie&lt;/a&gt; &amp;gt;
245
246 Would you like to give your school&#39;s computer a longer life? Are you
247 tired of sneaker administration, running from computer to computer
248 reinstalling the operating system? Would you like to administrate all
249 the computers in your school using only a couple of hours every week?
250 Check out Debian Edu Jessie!
251
252 Skolelinux is used by at least two hundred schools all over the world,
253 mostly in Germany and Norway.
254
255 About Debian Edu and Skolelinux
256 ===============================
257
258 Debian Edu, also known as Skolelinux[2], is a Linux distribution based
259 on Debian providing an out-of-the box environment of a completely
260 configured school network. Immediately after installation a school
261 server running all services needed for a school network is set up just
262 waiting for users and machines being added via GOsa², a comfortable
263 Web-UI. A netbooting environment is prepared using PXE, so after
264 initial installation of the main server from CD or USB stick all other
265 machines can be installed via the network. The provided school server
266 provides LDAP database and Kerberos authentication service,
267 centralized home directories, DHCP server, web proxy and many other
268 services. The desktop contains more than 60 educational software
269 packages[3] and more are available from the Debian archive, and
270 schools can choose between KDE, Gnome, LXDE, Xfce and MATE desktop
271 environment.
272
273 [2] &amp;lt;URL: &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;http://www.skolelinux.org/&lt;/a&gt; &amp;gt;
274 [3] &amp;lt;URL: &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&lt;/a&gt; &amp;gt;
275
276 Full release notes and manual
277 =============================
278
279 Below the download URLs there is a list of some of the new features
280 and bugfixes of Debian Edu 8.0+edu0~alpha0 Codename Jessie. The full
281 list is part of the manual. (See the feature list in the manual[4] for
282 the English version.) For some languages manual translations are
283 available, see the manual translation overview[5].
284
285 [4] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features&quot;&gt;https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features&lt;/a&gt; &amp;gt;
286 [5] &amp;lt;URL: &lt;a href=&quot;http://maintainer.skolelinux.org/debian-edu-doc/&quot;&gt;http://maintainer.skolelinux.org/debian-edu-doc/&lt;/a&gt; &amp;gt;
287
288 Where to get it
289 ---------------
290
291 To download the multiarch netinstall CD release (624 MiB) you can use
292
293 * &lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&lt;/a&gt;
294 * &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&lt;/a&gt;
295 * rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso .
296
297 The SHA1SUM of this image is: 361188818e036ce67280a572f757de82ebfeb095
298
299 New features for Debian Edu 8.0+edu0~alpha0 Codename Jessie released 2014-10-27
300 ===============================================================================
301
302
303 Installation changes
304 --------------------
305
306 * PXE installation now installs firmware automatically for the hardware present.
307
308 Software updates
309 ----------------
310
311 Everything which is new in Debian Jessie 8.0, eg:
312
313 * Linux kernel 3.16.x
314 * Desktop environments KDE &quot;Plasma&quot; 4.11.12, GNOME 3.14, Xfce 4.10,
315 LXDE 0.5.6 and MATE 1.8 (KDE &quot;Plasma&quot; is installed by default; to
316 choose one of the others see manual.)
317 * the browsers Iceweasel 31 ESR and Chromium 38
318 * !LibreOffice 4.3.3
319 * GOsa 2.7.4
320 * LTSP 5.5.4
321 * CUPS print system 1.7.5
322 * new boot framework: systemd
323 * Educational toolbox GCompris 14.07
324 * Music creator Rosegarden 14.02
325 * Image editor Gimp 2.8.14
326 * Virtual stargazer Stellarium 0.13.0
327 * golearn 0.9
328 * tuxpaint 0.9.22
329 * New version of debian-installer from Debian Jessie.
330 * Debian Jessie includes about 42000 packages available for
331 installation.
332 * More information about Debian Jessie 8.0 is provided in the release
333 notes[6] and the installation manual[7].
334
335 [6] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/releases/jessie/releasenotes&quot;&gt;http://www.debian.org/releases/jessie/releasenotes&lt;/a&gt; &amp;gt;
336 [7] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/releases/jessie/installmanual&quot;&gt;http://www.debian.org/releases/jessie/installmanual&lt;/a&gt; &amp;gt;
337
338 Fixed bugs
339 ----------
340
341 * Inserting incorrect DNS information in Gosa will no longer break
342 DNS completely, but instead stop DNS updates until the incorrect
343 information is corrected (Debian bug #710362)
344 * and many others.
345
346 Documentation and translation updates
347 -------------------------------------
348
349 * The Debian Edu Jessie Manual is fully translated to German, French,
350 Italian, Danish and Dutch. Partly translated versions exist for
351 Norwegian Bokmal and Spanish.
352
353 Other changes
354 -------------
355
356 * Due to new Squid settings, powering off or rebooting the main
357 server takes more time.
358 * To manage printers localhost:631 has to be used, currently www:631
359 doesn&#39;t work.
360
361 Regressions / known problems
362 ----------------------------
363
364 * Installing LTSP chroot fails with a bug related to eatmydata about
365 exim4-config failing to run its postinst (see Debian bug #765694
366 and Debian bug #762103).
367 * Munin collection is not properly configured on clients (Debian bug
368 #764594). The fix is available in a newer version of munin-node.
369 * PXE setup for Main Server and Thin Client Server setup does not
370 work when installing on a machine without direct Internet access.
371 Will be fixed when Debian bug #766960 is fixed in Jessie.
372
373 See the status page[8] for the complete list.
374
375 [8] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Jessie&quot;&gt;https://wiki.debian.org/DebianEdu/Status/Jessie&lt;/a&gt; &amp;gt;
376
377 How to report bugs
378 ------------------
379
380 &amp;lt;URL: &lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt; &amp;gt;
381
382 About Debian
383 ============
384
385 The Debian Project was founded in 1993 by Ian Murdock to be a truly
386 free community project. Since then the project has grown to be one of
387 the largest and most influential open source projects. Thousands of
388 volunteers from all over the world work together to create and
389 maintain Debian software. Available in 70 languages, and supporting a
390 huge range of computer types, Debian calls itself the universal
391 operating system.
392
393 Contact Information
394 For further information, please visit the Debian web pages[9] or send
395 mail to press@debian.org.
396
397 [9] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/&quot;&gt;http://www.debian.org/&lt;/a&gt; &amp;gt;
398 &lt;/pre&gt;
399 </description>
400 </item>
401
402 <item>
403 <title>I spent last weekend recording MakerCon Nordic</title>
404 <link>http://people.skolelinux.org/pere/blog/I_spent_last_weekend_recording_MakerCon_Nordic.html</link>
405 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/I_spent_last_weekend_recording_MakerCon_Nordic.html</guid>
406 <pubDate>Thu, 23 Oct 2014 23:00:00 +0200</pubDate>
407 <description>&lt;p&gt;I spent last weekend at &lt;a href=&quot;http://www.makercon.no/&quot;&gt;Makercon
408 Nordic&lt;/a&gt;, a great conference and workshop for makers in Norway and
409 the surrounding countries. I had volunteered on behalf of the
410 Norwegian Unix Users Group (NUUG) to video record the talks, and we
411 had a great and exhausting time recording the entire day, two days in
412 a row. There were only two of us, Hans-Petter and me, and we used the
413 regular video equipment for NUUG, with a
414 &lt;a href=&quot;http://dvswitch.alioth.debian.org/wiki/&quot;&gt;dvswitch&lt;/a&gt;, a
415 camera and a VGA to DV convert box, and mixed video and slides
416 live.&lt;/p&gt;
417
418 &lt;p&gt;Hans-Petter did the post-processing, consisting of uploading the
419 around 180 GiB of raw video to Youtube, and the result is
420 &lt;a href=&quot;https://www.youtube.com/user/MakerConNordic/&quot;&gt;now becoming
421 public&lt;/a&gt; on the MakerConNordic account. The videos have the license
422 NUUG always use on our recordings, which is
423 &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/3.0/no/&quot;&gt;Creative
424 Commons Navngivelse-Del på samme vilkår 3.0 Norge&lt;/a&gt;. Many great
425 talks available. Check it out! :)&lt;/p&gt;
426 </description>
427 </item>
428
429 <item>
430 <title>listadmin, the quick way to moderate mailman lists - nice free software</title>
431 <link>http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</link>
432 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</guid>
433 <pubDate>Wed, 22 Oct 2014 20:00:00 +0200</pubDate>
434 <description>&lt;p&gt;If you ever had to moderate a mailman list, like the ones on
435 alioth.debian.org, you know the web interface is fairly slow to
436 operate. First you visit one web page, enter the moderation password
437 and get a new page shown with a list of all the messages to moderate
438 and various options for each email address. This take a while for
439 every list you moderate, and you need to do it regularly to do a good
440 job as a list moderator. But there is a quick alternative,
441 &lt;a href=&quot;http://heim.ifi.uio.no/kjetilho/hacks/#listadmin&quot;&gt;the
442 listadmin program&lt;/a&gt;. It allow you to check lists for new messages
443 to moderate in a fraction of a second. Here is a test run on two
444 lists I recently took over:&lt;/p&gt;
445
446 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
447 % time listadmin xiph
448 fetching data for pkg-xiph-commits@lists.alioth.debian.org ... nothing in queue
449 fetching data for pkg-xiph-maint@lists.alioth.debian.org ... nothing in queue
450
451 real 0m1.709s
452 user 0m0.232s
453 sys 0m0.012s
454 %
455 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
456
457 &lt;p&gt;In 1.7 seconds I had checked two mailing lists and confirmed that
458 there are no message in the moderation queue. Every morning I
459 currently moderate 68 mailman lists, and it normally take around two
460 minutes. When I took over the two pkg-xiph lists above a few days
461 ago, there were 400 emails waiting in the moderator queue. It took me
462 less than 15 minutes to process them all using the listadmin
463 program.&lt;/p&gt;
464
465 &lt;p&gt;If you install
466 &lt;a href=&quot;https://tracker.debian.org/pkg/listadmin&quot;&gt;the listadmin
467 package&lt;/a&gt; from Debian and create a file &lt;tt&gt;~/.listadmin.ini&lt;/tt&gt;
468 with content like this, the moderation task is a breeze:&lt;/p&gt;
469
470 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
471 username username@example.org
472 spamlevel 23
473 default discard
474 discard_if_reason &quot;Posting restricted to members only. Remove us from your mail list.&quot;
475
476 password secret
477 adminurl https://{domain}/mailman/admindb/{list}
478 mailman-list@lists.example.com
479
480 password hidden
481 other-list@otherserver.example.org
482 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
483
484 &lt;p&gt;There are other options to set as well. Check the manual page to
485 learn the details.&lt;/p&gt;
486
487 &lt;p&gt;If you are forced to moderate lists on a mailman installation where
488 the SSL certificate is self signed or not properly signed by a
489 generally accepted signing authority, you can set a environment
490 variable when calling listadmin to disable SSL verification:&lt;/p&gt;
491
492 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
493 PERL_LWP_SSL_VERIFY_HOSTNAME=0 listadmin
494 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
495
496 &lt;p&gt;If you want to moderate a subset of the lists you take care of, you
497 can provide an argument to the listadmin script like I do in the
498 initial screen dump (the xiph argument). Using an argument, only
499 lists matching the argument string will be processed. This make it
500 quick to accept messages if you notice the moderation request in your
501 email.&lt;/p&gt;
502
503 &lt;p&gt;Without the listadmin program, I would never be the moderator of 68
504 mailing lists, as I simply do not have time to spend on that if the
505 process was any slower. The listadmin program have saved me hours of
506 time I could spend elsewhere over the years. It truly is nice free
507 software.&lt;/p&gt;
508
509 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
510 activities, please send Bitcoin donations to my address
511 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&amp;label=PetterReinholdtsenBlog&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
512
513 &lt;p&gt;Update 2014-10-27: Added missing &#39;username&#39; statement in
514 configuration example. Also, I&#39;ve been told that the
515 PERL_LWP_SSL_VERIFY_HOSTNAME=0 setting do not work for everyone. Not
516 sure why.&lt;/p&gt;
517 </description>
518 </item>
519
520 <item>
521 <title>Debian Jessie, PXE and automatic firmware installation</title>
522 <link>http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</link>
523 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</guid>
524 <pubDate>Fri, 17 Oct 2014 14:10:00 +0200</pubDate>
525 <description>&lt;p&gt;When PXE installing laptops with Debian, I often run into the
526 problem that the WiFi card require some firmware to work properly.
527 And it has been a pain to fix this using preseeding in Debian.
528 Normally something more is needed. But thanks to
529 &lt;a href=&quot;https://packages.qa.debian.org/i/isenkram.html&quot;&gt;my isenkram
530 package&lt;/a&gt; and its recent tasksel extension, it has now become easy
531 to do this using simple preseeding.&lt;/p&gt;
532
533 &lt;p&gt;The isenkram-cli package provide tasksel tasks which will install
534 firmware for the hardware found in the machine (actually, requested by
535 the kernel modules for the hardware). (It can also install user space
536 programs supporting the hardware detected, but that is not the focus
537 of this story.)&lt;/p&gt;
538
539 &lt;p&gt;To get this working in the default installation, two preeseding
540 values are needed. First, the isenkram-cli package must be installed
541 into the target chroot (aka the hard drive) before tasksel is executed
542 in the pkgsel step of the debian-installer system. This is done by
543 preseeding the base-installer/includes debconf value to include the
544 isenkram-cli package. The package name is next passed to debootstrap
545 for installation. With the isenkram-cli package in place, tasksel
546 will automatically use the isenkram tasks to detect hardware specific
547 packages for the machine being installed and install them, because
548 isenkram-cli contain tasksel tasks.&lt;/p&gt;
549
550 &lt;p&gt;Second, one need to enable the non-free APT repository, because
551 most firmware unfortunately is non-free. This is done by preseeding
552 the apt-mirror-setup step. This is unfortunate, but for a lot of
553 hardware it is the only option in Debian.&lt;/p&gt;
554
555 &lt;p&gt;The end result is two lines needed in your preseeding file to get
556 firmware installed automatically by the installer:&lt;/p&gt;
557
558 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
559 base-installer base-installer/includes string isenkram-cli
560 apt-mirror-setup apt-setup/non-free boolean true
561 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
562
563 &lt;p&gt;The current version of isenkram-cli in testing/jessie will install
564 both firmware and user space packages when using this method. It also
565 do not work well, so use version 0.15 or later. Installing both
566 firmware and user space packages might give you a bit more than you
567 want, so I decided to split the tasksel task in two, one for firmware
568 and one for user space programs. The firmware task is enabled by
569 default, while the one for user space programs is not. This split is
570 implemented in the package currently in unstable.&lt;/p&gt;
571
572 &lt;p&gt;If you decide to give this a go, please let me know (via email) how
573 this recipe work for you. :)&lt;/p&gt;
574
575 &lt;p&gt;So, I bet you are wondering, how can this work. First and
576 foremost, it work because tasksel is modular, and driven by whatever
577 files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the
578 isenkram-cli package place two files for tasksel to find. First there
579 is the task description file (/usr/share/tasksel/descs/isenkram.desc):&lt;/p&gt;
580
581 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
582 Task: isenkram-packages
583 Section: hardware
584 Description: Hardware specific packages (autodetected by isenkram)
585 Based on the detected hardware various hardware specific packages are
586 proposed.
587 Test-new-install: show show
588 Relevance: 8
589 Packages: for-current-hardware
590
591 Task: isenkram-firmware
592 Section: hardware
593 Description: Hardware specific firmware packages (autodetected by isenkram)
594 Based on the detected hardware various hardware specific firmware
595 packages are proposed.
596 Test-new-install: mark show
597 Relevance: 8
598 Packages: for-current-hardware-firmware
599 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
600
601 &lt;p&gt;The key parts are Test-new-install which indicate how the task
602 should be handled and the Packages line referencing to a script in
603 /usr/lib/tasksel/packages/. The scripts use other scripts to get a
604 list of packages to install. The for-current-hardware-firmware script
605 look like this to list relevant firmware for the machine:
606
607 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
608 #!/bin/sh
609 #
610 PATH=/usr/sbin:$PATH
611 export PATH
612 isenkram-autoinstall-firmware -l
613 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
614
615 &lt;p&gt;With those two pieces in place, the firmware is installed by
616 tasksel during the normal d-i run. :)&lt;/p&gt;
617
618 &lt;p&gt;If you want to test what tasksel will install when isenkram-cli is
619 installed, run &lt;tt&gt;DEBIAN_PRIORITY=critical tasksel --test
620 --new-install&lt;/tt&gt; to get the list of packages that tasksel would
621 install.&lt;/p&gt;
622
623 &lt;p&gt;&lt;a href=&quot;https://wiki.debian.org/DebianEdu/&quot;&gt;Debian Edu&lt;/a&gt; will be
624 pilots in testing this feature, as isenkram is used there now to
625 install firmware, replacing the earlier scripts.&lt;/p&gt;
626 </description>
627 </item>
628
629 <item>
630 <title>Ubuntu used to show the bread prizes at ICA Storo</title>
631 <link>http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</link>
632 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</guid>
633 <pubDate>Sat, 4 Oct 2014 15:20:00 +0200</pubDate>
634 <description>&lt;p&gt;Today I came across an unexpected Ubuntu boot screen. Above the
635 bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu
636 with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck
637 on a screen normally showing the bread types and prizes:&lt;/p&gt;
638
639 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2014-10-04-ubuntu-ica-storo-crop.jpeg&quot;&gt;&lt;/p&gt;
640
641 &lt;p&gt;If it had booted as it was supposed to, I would never had known
642 about this hidden Linux installation. It is interesting what
643 &lt;a href=&quot;http://revealingerrors.com/&quot;&gt;errors can reveal&lt;/a&gt;.&lt;/p&gt;
644 </description>
645 </item>
646
647 <item>
648 <title>New lsdvd release version 0.17 is ready</title>
649 <link>http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</link>
650 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</guid>
651 <pubDate>Sat, 4 Oct 2014 08:40:00 +0200</pubDate>
652 <description>&lt;p&gt;The &lt;a href=&quot;https://sourceforge.net/p/lsdvd/&quot;&gt;lsdvd project&lt;/a&gt;
653 got a new set of developers a few weeks ago, after the original
654 developer decided to step down and pass the project to fresh blood.
655 This project is now maintained by Petter Reinholdtsen and Steve
656 Dibb.&lt;/p&gt;
657
658 &lt;p&gt;I just wrapped up
659 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/message/32896061/&quot;&gt;a
660 new lsdvd release&lt;/a&gt;, available in git or from
661 &lt;a href=&quot;https://sourceforge.net/projects/lsdvd/files/lsdvd/&quot;&gt;the
662 download page&lt;/a&gt;. This is the changelog dated 2014-10-03 for version
663 0.17.&lt;/p&gt;
664
665 &lt;ul&gt;
666
667 &lt;li&gt;Ignore &#39;phantom&#39; audio, subtitle tracks&lt;/li&gt;
668 &lt;li&gt;Check for garbage in the program chains, which indicate that a track is
669 non-existant, to work around additional copy protection&lt;/li&gt;
670 &lt;li&gt;Fix displaying content type for audio tracks, subtitles&lt;/li&gt;
671 &lt;li&gt;Fix pallete display of first entry&lt;/li&gt;
672 &lt;li&gt;Fix include orders&lt;/li&gt;
673 &lt;li&gt;Ignore read errors in titles that would not be displayed anyway&lt;/li&gt;
674 &lt;li&gt;Fix the chapter count&lt;/li&gt;
675 &lt;li&gt;Make sure the array size and the array limit used when initialising
676 the palette size is the same.&lt;/li&gt;
677 &lt;li&gt;Fix array printing.&lt;/li&gt;
678 &lt;li&gt;Correct subsecond calculations.&lt;/li&gt;
679 &lt;li&gt;Add sector information to the output format.&lt;/li&gt;
680 &lt;li&gt;Clean up code to be closer to ANSI C and compile without warnings
681 with more GCC compiler warnings.&lt;/li&gt;
682
683 &lt;/ul&gt;
684
685 &lt;p&gt;This change bring together patches for lsdvd in use in various
686 Linux and Unix distributions, as well as patches submitted to the
687 project the last nine years. Please check it out. :)&lt;/p&gt;
688 </description>
689 </item>
690
691 <item>
692 <title>How to test Debian Edu Jessie despite some fatal problems with the installer</title>
693 <link>http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</link>
694 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</guid>
695 <pubDate>Fri, 26 Sep 2014 12:20:00 +0200</pubDate>
696 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
697 project&lt;/a&gt; provide a Linux solution for schools, including a
698 powerful desktop with education software, a central server providing
699 web pages, user database, user home directories, central login and PXE
700 boot of both clients without disk and the installation to install Debian
701 Edu on machines with disk (and a few other services perhaps to small
702 to mention here). We in the Debian Edu team are currently working on
703 the Jessie based version, trying to get everything in shape before the
704 freeze, to avoid having to maintain our own package repository in the
705 future. The
706 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Jessie&quot;&gt;current
707 status&lt;/a&gt; can be seen on the Debian wiki, and there is still heaps of
708 work left. Some fatal problems block testing, breaking the installer,
709 but it is possible to work around these to get anyway. Here is a
710 recipe on how to get the installation limping along.&lt;/p&gt;
711
712 &lt;p&gt;First, download the test ISO via
713 &lt;a href=&quot;ftp://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;ftp&lt;/a&gt;,
714 &lt;a href=&quot;http://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;http&lt;/a&gt;
715 or rsync (use
716 ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso).
717 The ISO build was broken on Tuesday, so we do not get a new ISO every
718 12 hours or so, but thankfully the ISO we already got we are able to
719 install with some tweaking.&lt;/p&gt;
720
721 &lt;p&gt;When you get to the Debian Edu profile question, go to tty2
722 (use Alt-Ctrl-F2), run&lt;/p&gt;
723
724 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
725 nano /usr/bin/edu-eatmydata-install
726 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
727
728 &lt;p&gt;and add &#39;exit 0&#39; as the second line, disabling the eatmydata
729 optimization. Return to the installation, select the profile you want
730 and continue. Without this change, exim4-config will fail to install
731 due to a known bug in eatmydata.&lt;/p&gt;
732
733 &lt;p&gt;When you get the grub question at the end, answer /dev/sda (or if
734 this do not work, figure out what your correct value would be. All my
735 test machines need /dev/sda, so I have no advice if it do not fit
736 your need.&lt;/p&gt;
737
738 &lt;p&gt;If you installed a profile including a graphical desktop, log in as
739 root after the initial boot from hard drive, and install the
740 education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce
741 or mate. If you want several desktop options, install more than one
742 metapackage. Once this is done, reboot and you should have a working
743 graphical login screen. This workaround should no longer be needed
744 once the education-tasks package version 1.801 enter testing in two
745 days.&lt;/p&gt;
746
747 &lt;p&gt;I believe the ISO build will start working on two days when the new
748 tasksel package enter testing and Steve McIntyre get a chance to
749 update the debian-cd git repository. The eatmydata, grub and desktop
750 issues are already fixed in unstable and testing, and should show up
751 on the ISO as soon as the ISO build start working again. Well the
752 eatmydata optimization is really just disabled. The proper fix
753 require an upload by the eatmydata maintainer applying the patch
754 provided in bug &lt;a href=&quot;https://bugs.debian.org/702711&quot;&gt;#702711&lt;/a&gt;.
755 The rest have proper fixes in unstable.&lt;/p&gt;
756
757 &lt;p&gt;I hope this get you going with the installation testing, as we are
758 quickly running out of time trying to get our Jessie based
759 installation ready before the distribution freeze in a month.&lt;/p&gt;
760 </description>
761 </item>
762
763 </channel>
764 </rss>