]> 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>A manual for standards wars...</title>
11 <link>http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html</guid>
13 <pubDate>Sun, 6 Jun 2010 14:15:00 +0200</pubDate>
14 <description>
15 &lt;p&gt;Via the
16 &lt;a href=&quot;http://feedproxy.google.com/~r/robweir/antic-atom/~3/QzU4RgoAGMg/weekly-links-10.html&quot;&gt;blog
17 of Rob Weir&lt;/a&gt; I came across the very interesting essay named
18 &lt;a href=&quot;http://faculty.haas.berkeley.edu/shapiro/wars.pdf&quot;&gt;The Art of
19 Standards Wars&lt;/a&gt; (PDF 25 pages). I recommend it for everyone
20 following the standards wars of today.&lt;/p&gt;
21 </description>
22 </item>
23
24 <item>
25 <title>Sitesummary tip: Listing computer hardware models used at site</title>
26 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html</link>
27 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html</guid>
28 <pubDate>Thu, 3 Jun 2010 12:05:00 +0200</pubDate>
29 <description>
30 &lt;p&gt;When using sitesummary at a site to track machines, it is possible
31 to get a list of the machine types in use thanks to the DMI
32 information extracted from each machine. The script to do so is
33 included in the sitesummary package, and here is example output from
34 the Skolelinux build servers:&lt;/p&gt;
35
36 &lt;blockquote&gt;&lt;pre&gt;
37 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
38 vendor count
39 Dell Computer Corporation 1
40 PowerEdge 1750 1
41 IBM 1
42 eserver xSeries 345 -[8670M1X]- 1
43 Intel 2
44 [no-dmi-info] 3
45 maintainer:~#
46 &lt;/pre&gt;&lt;/blockquote&gt;
47
48 &lt;p&gt;The quality of the report depend on the quality of the DMI tables
49 provided in each machine. Here there are Intel machines without model
50 information listed with Intel as vendor and mo model, and virtual Xen
51 machines listed as [no-dmi-info]. One can add -l as a command line
52 option to list the individual machines.&lt;/p&gt;
53
54 &lt;p&gt;A larger list is
55 &lt;a href=&quot;http://narvikskolen.no/sitesummary/&quot;&gt;available from the the
56 city of Narvik&lt;/a&gt;, which uses Skolelinux on all their shools and also
57 provide the basic sitesummary report publicly. In their report there
58 are ~1400 machines. I know they use both Ubuntu and Skolelinux on
59 their machines, and as sitesummary is available in both distributions,
60 it is trivial to get all of them to report to the same central
61 collector.&lt;/p&gt;
62 </description>
63 </item>
64
65 <item>
66 <title>Togsatsing på norsk, mot sykkel</title>
67 <link>http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html</link>
68 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Togsatsing_p___norsk__mot_sykkel.html</guid>
69 <pubDate>Wed, 2 Jun 2010 23:45:00 +0200</pubDate>
70 <description>
71 &lt;p&gt;Det står dårlig til med toget når en finner på å la det
72 &lt;a href=&quot;http://www.aftenposten.no/nyheter/iriks/article3677060.ece&quot;&gt;kappkjøre
73 med sykkel&lt;/a&gt;... Jeg tror det trengs strukturendringer for å få
74 fikset på togproblemene i Norge.&lt;/p&gt;
75
76 &lt;p&gt;Mon tro hva toglinje mellom Narvik og Tromsø ville hatt slags
77 effekt på området der?&lt;/p&gt;
78 </description>
79 </item>
80
81 <item>
82 <title>KDM fail at boot with NVidia cards - and no one try to fix it?</title>
83 <link>http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html</link>
84 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html</guid>
85 <pubDate>Tue, 1 Jun 2010 17:05:00 +0200</pubDate>
86 <description>
87 &lt;p&gt;It is strange to watch how a bug in Debian causing KDM to fail to
88 start at boot when an NVidia video card is used is handled. The
89 problem seem to be that the nvidia X.org driver uses a long time to
90 initialize, and this duration is longer than kdm is configured to
91 wait.&lt;/p&gt;
92
93 &lt;p&gt;I came across two bugs related to this issue,
94 &lt;a href=&quot;http://bugs.debian.org/583312&quot;&gt;#583312&lt;/a&gt; initially filed
95 against initscripts and passed on to nvidia-glx when it became obvious
96 that the nvidia drivers were involved, and
97 &lt;a href=&quot;http://bugs.debian.org/524751&quot;&gt;#524751&lt;/a&gt; initially filed against
98 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.&lt;/p&gt;
99
100 &lt;p&gt;To me, it seem that no-one is interested in actually solving the
101 problem nvidia video card owners experience and make sure the Debian
102 distribution work out of the box for these users. The nvidia driver
103 maintainers expect kdm to be set up to wait longer, while kdm expect
104 the nvidia driver maintainers to fix the driver to start faster, and
105 while they wait for each other I guess the users end up switching to a
106 distribution that work for them. I have no idea what the solution is,
107 but I am pretty sure that waiting for each other is not it.&lt;/p&gt;
108
109 &lt;p&gt;I wonder why we end up handling bugs this way.&lt;/p&gt;
110 </description>
111 </item>
112
113 <item>
114 <title>Parallellized boot seem to hold up well in Debian/testing</title>
115 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html</link>
116 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html</guid>
117 <pubDate>Thu, 27 May 2010 23:55:00 +0200</pubDate>
118 <description>
119 &lt;p&gt;A few days ago, parallel booting was enabled in Debian/testing.
120 The feature seem to hold up pretty well, but three fairly serious
121 issues are known and should be solved:
122
123 &lt;p&gt;&lt;ul&gt;
124
125 &lt;li&gt;The wicd package seen to
126 &lt;a href=&quot;http://bugs.debian.org/508289&quot;&gt;break NFS mounting&lt;/a&gt; and
127 &lt;a href=&quot;http://bugs.debian.org/581586&quot;&gt;network setup&lt;/a&gt; when
128 parallel booting is enabled. No idea why, but the wicd maintainer
129 seem to be on the case.&lt;/li&gt;
130
131 &lt;li&gt;The nvidia X driver seem to
132 &lt;a href=&quot;http://bugs.debian.org/583312&quot;&gt;have a race condition&lt;/a&gt;
133 triggered more easily when parallel booting is in effect. The
134 maintainer is on the case.&lt;/li&gt;
135
136 &lt;li&gt;The sysv-rc package fail to properly enable dependency based boot
137 sequencing (the shutdown is broken) when old file-rc users
138 &lt;a href=&quot;http://bugs.debian.org/575080&quot;&gt;try to switch back&lt;/a&gt; to
139 sysv-rc. One way to solve it would be for file-rc to create
140 /etc/init.d/.legacy-bootordering, and another is to try to make
141 sysv-rc more robust. Will investigate some more and probably upload a
142 workaround in sysv-rc to help those trying to move from file-rc to
143 sysv-rc get a working shutdown.&lt;/li&gt;
144
145 &lt;/ul&gt;&lt;/p&gt;
146
147 &lt;p&gt;All in all not many surprising issues, and all of them seem
148 solvable before Squeeze is released. In addition to these there are
149 some packages with bugs in their dependencies and run level settings,
150 which I expect will be fixed in a reasonable time span.&lt;/p&gt;
151
152 &lt;p&gt;If you report any problems with dependencies in init.d scripts to
153 the BTS, please usertag the report to get it to show up at
154 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org&quot;&gt;the
155 list of usertagged bugs related to this&lt;/a&gt;.&lt;/p&gt;
156
157 &lt;p&gt;Update: Correct bug number to file-rc issue.&lt;/p&gt;
158 </description>
159 </item>
160
161 <item>
162 <title>More flexible firmware handling in debian-installer</title>
163 <link>http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html</link>
164 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html</guid>
165 <pubDate>Sat, 22 May 2010 21:30:00 +0200</pubDate>
166 <description>
167 &lt;p&gt;After a long break from debian-installer development, I finally
168 found time today to return to the project. Having to spend less time
169 working dependency based boot in debian, as it is almost complete now,
170 definitely helped freeing some time.&lt;/p&gt;
171
172 &lt;p&gt;A while back, I ran into a problem while working on Debian Edu. We
173 include some firmware packages on the Debian Edu CDs, those needed to
174 get disk and network controllers working. Without having these
175 firmware packages available during installation, it is impossible to
176 install Debian Edu on the given machine, and because our target group
177 are non-technical people, asking them to provide firmware packages on
178 an external medium is a support pain. Initially, I expected it to be
179 enough to include the firmware packages on the CD to get
180 debian-installer to find and use them. This proved to be wrong.
181 Next, I hoped it was enough to symlink the relevant firmware packages
182 to some useful location on the CD (tried /cdrom/ and
183 /cdrom/firmware/). This also proved to not work, and at this point I
184 found time to look at the debian-installer code to figure out what was
185 going to work.&lt;/p&gt;
186
187 &lt;p&gt;The firmware loading code is in the hw-detect package, and a closer
188 look revealed that it would only look for firmware packages outside
189 the installation media, so the CD was never checked for firmware
190 packages. It would only check USB sticks, floppies and other
191 &quot;external&quot; media devices. Today I changed it to also look in the
192 /cdrom/firmware/ directory on the mounted CD or DVD, which should
193 solve the problem I ran into with Debian edu. I also changed it to
194 look in /firmware/, to make sure the installer also find firmware
195 provided in the initrd when booting the installer via PXE, to allow us
196 to provide the same feature in the PXE setup included in Debian
197 Edu.&lt;/p&gt;
198
199 &lt;p&gt;To make sure firmware deb packages with a license questions are not
200 activated without asking if the license is accepted, I extended
201 hw-detect to look for preinst scripts in the firmware packages, and
202 run these before activating the firmware during installation. The
203 license question is asked using debconf in the preinst, so this should
204 solve the issue for the firmware packages I have looked at so far.&lt;/p&gt;
205
206 &lt;p&gt;If you want to discuss the details of these features, please
207 contact us on debian-boot@lists.debian.org.&lt;/p&gt;
208 </description>
209 </item>
210
211 <item>
212 <title>Magnetstripeinnhold i billetter fra Flytoget og Hurtigruten</title>
213 <link>http://people.skolelinux.org/pere/blog/Magnetstripeinnhold_i_billetter_fra_Flytoget_og_Hurtigruten.html</link>
214 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Magnetstripeinnhold_i_billetter_fra_Flytoget_og_Hurtigruten.html</guid>
215 <pubDate>Fri, 21 May 2010 16:00:00 +0200</pubDate>
216 <description>
217 &lt;p&gt;For en stund tilbake kjøpte jeg en magnetkortleser for å kunne
218 titte på hva som er skrevet inn på magnetstripene til ulike kort. Har
219 ikke hatt tid til å analysere mange kort så langt, men tenkte jeg
220 skulle dele innholdet på to kort med mine lesere.&lt;/p&gt;
221
222 &lt;p&gt;For noen dager siden tok jeg flyet til Harstad og Hurtigruten til
223 Bergen. Flytoget fra Oslo S til flyplassen ga meg en billett med
224 magnetstripe. Påtrykket finner jeg følgende informasjon:&lt;/p&gt;
225
226 &lt;pre&gt;
227 Flytoget Airport Express Train
228
229 Fra - Til : Oslo Sentralstasjon
230 Kategori : Voksen
231 Pris : Nok 170,00
232 Herav mva. 8,00% : NOK 12,59
233 Betaling : Kontant
234 Til - Fra : Oslo Lufthavn
235 Utstedt: : 08.05.10
236 Gyldig Fra-Til : 08.05.10-07.11.10
237 Billetttype : Enkeltbillett
238
239 102-1015-100508-48382-01-08
240 &lt;/pre&gt;
241
242 &lt;p&gt;På selve magnetstripen er innholdet
243 &lt;tt&gt;;E?+900120011=23250996541068112619257138248441708433322932704083389389062603279671261502492655?&lt;/tt&gt;.
244 Aner ikke hva innholdet representerer, og det er lite overlapp mellom
245 det jeg ser trykket på billetten og det jeg ser av tegn i
246 magnetstripen. Håper det betyr at de bruker kryptografiske metoder
247 for å gjøre det vanskelig å forfalske billetter.&lt;/p&gt;
248
249 &lt;p&gt;Den andre billetten er fra Hurtigruten, der jeg mistenker at
250 strekkoden på fronten er mer brukt enn magnetstripen (det var i hvert
251 fall den biten vi stakk inn i dørlåsen).&lt;/p&gt;
252
253 &lt;p&gt;Påtrykket forsiden er følgende:&lt;/p&gt;
254
255 &lt;pre&gt;
256 Romnummer 727
257 Hurtigruten
258 Midnatsol
259 Reinholdtsen
260 Petter
261 Bookingno: SAX69 0742193
262 Harstad-Bergen
263 Dep: 09.05.2010 Arr: 12.05.2010
264 Lugar fra Risøyhamn
265 Kost: FRO=4
266 &lt;/pre&gt;
267
268 &lt;p&gt;På selve magnetstripen er innholdet
269 &lt;tt&gt;;1316010007421930=00000000000000000000?+E?&lt;/tt&gt;. Heller ikke her
270 ser jeg mye korrespondanse mellom påtrykk og magnetstripe.&lt;/p&gt;
271 </description>
272 </item>
273
274 <item>
275 <title>Pieces of the roaming laptop puzzle in Debian</title>
276 <link>http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html</link>
277 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html</guid>
278 <pubDate>Wed, 19 May 2010 19:00:00 +0200</pubDate>
279 <description>
280 &lt;p&gt;Today, the last piece of the puzzle for roaming laptops in Debian
281 Edu finally entered the Debian archive. Today, the new
282 &lt;a href=&quot;http://packages.qa.debian.org/libp/libpam-mklocaluser.html&quot;&gt;libpam-mklocaluser&lt;/a&gt;
283 package was accepted. Two days ago, two other pieces was accepted
284 into unstable. The
285 &lt;a href=&quot;http://packages.qa.debian.org/p/pam-python.html&quot;&gt;pam-python&lt;/a&gt;
286 package needed by libpam-mklocaluser, and the
287 &lt;a href=&quot;http://packages.qa.debian.org/s/sssd.html&quot;&gt;sssd&lt;/a&gt; package
288 passed NEW on Monday. In addition, the
289 &lt;a href=&quot;http://packages.qa.debian.org/libp/libpam-ccreds.html&quot;&gt;libpam-ccreds&lt;/a&gt;
290 package we need is in experimental (version 10-4) since Saturday, and
291 hopefully will be moved to unstable soon.&lt;/p&gt;
292
293 &lt;p&gt;This collection of packages allow for two different setups for
294 roaming laptops. The traditional setup would be using libpam-ccreds,
295 nscd and libpam-mklocaluser with LDAP or Kerberos authentication,
296 which should work out of the box if the configuration changes proposed
297 for nscd in &lt;a href=&quot;http://bugs.debian.org/485282&quot;&gt;BTS report
298 #485282&lt;/a&gt; is implemented. The alternative setup is to use sssd with
299 libpam-mklocaluser to connect to LDAP or Kerberos and let sssd take
300 care of the caching of passwords and group information.&lt;/p&gt;
301
302 &lt;p&gt;I have so far been unable to get sssd to work with the LDAP server
303 at the University, but suspect the issue is some SSL/GnuTLS related
304 problem with the server certificate. I plan to update the Debian
305 package to version 1.2, which is scheduled for next week, and hope to
306 find time to make sure the next release will include both the
307 Debian/Ubuntu specific patches. Upstream is friendly and responsive,
308 and I am sure we will find a good solution.&lt;/p&gt;
309
310 &lt;p&gt;The idea is to set up the roaming laptops to authenticate using
311 LDAP or Kerberos and create a local user with home directory in /home/
312 when a usre in LDAP logs in via KDM or GDM for the first time, and
313 cache the password for offline checking, as well as caching group
314 memberhips and other relevant LDAP information. The
315 libpam-mklocaluser package was created to make sure the local home
316 directory is in /home/, instead of /site/server/directory/ which would
317 be the home directory if pam_mkhomedir was used. To avoid confusion
318 with support requests and configuration, we do not want local laptops
319 to have users in a path that is used for the same users home directory
320 on the home directory servers.&lt;/p&gt;
321
322 &lt;p&gt;One annoying problem with gdm is that it do not show the PAM
323 message passed to the user from libpam-mklocaluser when the local user
324 is created. Instead gdm simply reject the login with some generic
325 message. The message is shown in kdm, ssh and login, so I guess it is
326 a bug in gdm. Have not investigated if there is some other message
327 type that can be used instead to get gdm to also show the message.&lt;/p&gt;
328
329 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
330 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
331 </description>
332 </item>
333
334 <item>
335 <title>Parallellized boot is now the default in Debian/unstable</title>
336 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html</link>
337 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html</guid>
338 <pubDate>Fri, 14 May 2010 22:40:00 +0200</pubDate>
339 <description>
340 &lt;p&gt;Since this evening, parallel booting is the default in
341 Debian/unstable for machines using dependency based boot sequencing.
342 Apparently the testing of concurrent booting has been wider than
343 expected, if I am to believe the
344 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/05/msg00122.html&quot;&gt;input
345 on debian-devel@&lt;/a&gt;, and I concluded a few days ago to move forward
346 with the feature this weekend, to give us some time to detect any
347 remaining problems before Squeeze is frozen. If serious problems are
348 detected, it is simple to change the default back to sequential boot.
349 The upload of the new sysvinit package also activate a new upstream
350 version.&lt;/p&gt;
351
352 More information about
353 &lt;a href=&quot;http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot&quot;&gt;dependency
354 based boot sequencing&lt;/a&gt; is available from the Debian wiki. It is
355 currently possible to disable parallel booting when one run into
356 problems caused by it, by adding this line to /etc/default/rcS:&lt;/p&gt;
357
358 &lt;blockquote&gt;&lt;pre&gt;
359 CONCURRENCY=none
360 &lt;/pre&gt;&lt;/blockquote&gt;
361
362 &lt;p&gt;If you report any problems with dependencies in init.d scripts to
363 the BTS, please usertag the report to get it to show up at
364 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org&quot;&gt;the
365 list of usertagged bugs related to this&lt;/a&gt;.&lt;/p&gt;
366 </description>
367 </item>
368
369 <item>
370 <title>Sitesummary tip: Listing MAC address of all clients</title>
371 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html</link>
372 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html</guid>
373 <pubDate>Fri, 14 May 2010 21:10:00 +0200</pubDate>
374 <description>
375 &lt;p&gt;In the recent Debian Edu versions, the
376 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/SiteSummary&quot;&gt;sitesummary
377 system&lt;/a&gt; is used to keep track of the machines in the school
378 network. Each machine will automatically report its status to the
379 central server after boot and once per night. The network setup is
380 also reported, and using this information it is possible to get the
381 MAC address of all network interfaces in the machines. This is useful
382 to update the DHCP configuration.&lt;/p&gt;
383
384 &lt;p&gt;To give some idea how to use sitesummary, here is a one-liner to
385 ist all MAC addresses of all machines reporting to sitesummary. Run
386 this on the collector host:&lt;/p&gt;
387
388 &lt;blockquote&gt;&lt;pre&gt;
389 perl -MSiteSummary -e &#39;for_all_hosts(sub { print join(&quot; &quot;, get_macaddresses(shift)), &quot;\n&quot;; });&#39;
390 &lt;/pre&gt;&lt;/blockquote&gt;
391
392 &lt;p&gt;This will list all MAC addresses assosiated with all machine, one
393 line per machine and with space between the MAC addresses.&lt;/p&gt;
394
395 &lt;p&gt;To allow system administrators easier job at adding static DHCP
396 addresses for hosts, it would be possible to extend this to fetch
397 machine information from sitesummary and update the DHCP and DNS
398 tables in LDAP using this information. Such tool is unfortunately not
399 written yet.&lt;/p&gt;
400 </description>
401 </item>
402
403 </channel>
404 </rss>