]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
Generated.
[homepage.git] / blog / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css">
7 <link rel="alternate" title="RSS Feed" href="http://people.skolelinux.org/pere/blog/index.rss" type="application/rss+xml">
8
9 </head>
10 <body>
11
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21
22 <div class="entry">
23 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html">Some thoughts on BitCoins</a></div>
24 <div class="date">2010-12-11 15:10</div>
25 <div class="body">
26 <p>As I continue to explore
27 <a href="http://www.bitcoin.org/">BitCoin</a>, I've starting to wonder
28 what properties the system have, and how it will be affected by laws
29 and regulations here in Norway. Here are some random notes.</p>
30
31 <p>One interesting thing to note is that since the transactions are
32 verified using a peer to peer network, all details about a transaction
33 is known to everyone. This means that if a BitCoin address has been
34 published like I did with mine in my initial post about BitCoin, it is
35 possible for everyone to see how many BitCoins have been transfered to
36 that address. There is even a web service to look at the details for
37 all transactions. There I can see that my address
38 <a href="http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a>
39 have received 16.06 Bitcoin, the
40 <a href="http://blockexplorer.com/address/1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3">1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3</a>
41 address of Simon Phipps have received 181.97 BitCoin and the address
42 <a href="http://blockexplorer.com/address/1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt">1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt</A>
43 of EFF have received 2447.38 BitCoins so far. Thank you to each and
44 every one of you that donated bitcoins to support my activity. The
45 fact that anyone can see how much money was transfered to a given
46 address make it more obvious why the BitCoin community recommend to
47 generate and hand out a new address for each transaction. I'm told
48 there is no way to track which addresses belong to a given person or
49 organisation without the person or organisation revealing it
50 themselves, as Simon, EFF and I have done.</p>
51
52 <p>In Norway, and in most other countries, there are laws and
53 regulations limiting how much money one can transfer across the border
54 without declaring it. There are money laundering, tax and accounting
55 laws and regulations I would expect to apply to the use of BitCoin.
56 If the Skolelinux foundation
57 (<a href="http://linuxiskolen.no/slxdebianlabs/donations.html">SLX
58 Debian Labs</a>) were to accept donations in BitCoin in addition to
59 normal bank transfers like EFF is doing, how should this be accounted?
60 Given that it is impossible to know if money can across the border or
61 not, should everything or nothing be declared? What exchange rate
62 should be used when calculating taxes? Would receivers have to pay
63 income tax if the foundation were to pay Skolelinux contributors in
64 BitCoin? I have no idea, but it would be interesting to know.</p>
65
66 <p>For a currency to be useful and successful, it must be trusted and
67 accepted by a lot of users. It must be possible to get easy access to
68 the currency (as a wage or using currency exchanges), and it must be
69 easy to spend it. At the moment BitCoin seem fairly easy to get
70 access to, but there are very few places to spend it. I am not really
71 a regular user of any of the vendor types currently accepting BitCoin,
72 so I wonder when my kind of shop would start accepting BitCoins. I
73 would like to buy electronics, travels and subway tickets, not herbs
74 and books. :) The currency is young, and this will improve over time
75 if it become popular, but I suspect regular banks will start to lobby
76 to get BitCoin declared illegal if it become popular. I'm sure they
77 will claim it is helping fund terrorism and money laundering (which
78 probably would be true, as is any currency in existence), but I
79 believe the problems should be solved elsewhere and not by blaming
80 currencies.</p>
81
82 <p>The process of creating new BitCoins is called mining, and it is
83 CPU intensive process that depend on a bit of luck as well (as one is
84 competing against all the other miners currently spending CPU cycles
85 to see which one get the next lump of cash). The "winner" get 50
86 BitCoin when this happen. Yesterday I came across the obvious way to
87 join forces to increase ones changes of getting at least some coins,
88 by coordinating the work on mining BitCoins across several machines
89 and people, and sharing the result if one is lucky and get the 50
90 BitCoins. Check out
91 <a href="http://www.bluishcoder.co.nz/bitcoin-pool/">BitCoin Pool</a>
92 if this sounds interesting. I have not had time to try to set up a
93 machine to participate there yet, but have seen that running on ones
94 own for a few days have not yield any BitCoins througth mining
95 yet.</p>
96 </div>
97 <div class="tags">
98
99
100
101 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
102
103 </div>
104 </div>
105 <div class="padding"></div>
106
107 <div class="entry">
108 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Pornoskannerne_p___flyplassene_bedrer_visst_ikke_sikkerheten.html">Pornoskannerne på flyplassene bedrer visst ikke sikkerheten</a></div>
109 <div class="date">2010-12-11 10:45</div>
110 <div class="body">
111 <p>Via <a href="http://webmink.com/2010/12/10/links-for-2010-12-10/">en
112 blogpost fra Simon Phipps i går</a>, fant jeg en referanse til
113 <a href="http://www.washingtontimes.com/news/2010/dec/9/exposed-tsas-x-rated-scanner-fraud/">en
114 artikkel i Washington Times</a> som igjen refererer til en artikkel i
115 det fagfellevurderte tidsskriftet Journal of Transportation Security
116 med tittelen
117 "<a href="http://springerlink.com/content/g6620thk08679160/fulltext.html">An
118 evaluation of airport x-ray backscatter units based on image
119 characteristics</a>" som enkelt konstaterer at
120 <a href="http://www.dailysquib.co.uk/?a=2389&c=124">pornoscannerne</a>
121 som kler av reisende på flyplasser ikke er i stand til å avsløre det
122 produsenten og amerikanske myndigheter sier de skal avsløre. Kort
123 sagt, de bedrer ikke sikkerheten. Reisende må altså la ansatte på
124 flyplasser <a href="http://www.thousandsstandingaround.org/">se dem
125 nakne eller la seg beføle i skrittet</a> uten grunn. Jeg vil
126 fortsette å nekte å bruke disse pornoskannerne, unngå flyplasser der
127 de er tatt i bruk, og reise med andre transportmidler enn fly hvis jeg
128 kan.</p>
129 </div>
130 <div class="tags">
131
132
133
134 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
135
136 </div>
137 </div>
138 <div class="padding"></div>
139
140 <div class="entry">
141 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html">Now accepting bitcoins - anonymous and distributed p2p crypto-money</a></div>
142 <div class="date">2010-12-10 08:20</div>
143 <div class="body">
144 <p>With this weeks lawless
145 <a href="http://www.salon.com/news/opinion/glenn_greenwald/2010/12/06/wikileaks/index.html">governmental
146 attacks</a> on Wikileak and
147 <a href="http://www.salon.com/technology/dan_gillmor/2010/12/06/war_on_speech">free
148 speech</a>, it has become obvious that PayPal, visa and mastercard can
149 not be trusted to handle money transactions.
150 A blog post from
151 <a href="http://webmink.com/2010/12/06/now-accepting-bitcoin/">Simon
152 Phipps on bitcoin</a> reminded me about a project that a friend of
153 mine mentioned earlier. I decided to follow Simon's example, and get
154 involved with <a href="http://www.bitcoin.org/">BitCoin</a>. I got
155 some help from my friend to get it all running, and he even handed me
156 some bitcoins to get started. I even donated a few bitcoins to Simon
157 for helping me remember BitCoin.</p>
158
159 <p>So, what is bitcoins, you probably wonder? It is a digital
160 crypto-currency, decentralised and handled using peer-to-peer
161 networks. It allows anonymous transactions and prohibits central
162 control over the transactions, making it impossible for governments
163 and companies alike to block donations and other transactions. The
164 source is free software, and while the key dependency wxWidgets 2.9
165 for the graphical user interface is missing in Debian, the command
166 line client builds just fine. Hopefully Jonas
167 <a href="http://bugs.debian.org/578157">will get the package into
168 Debian</a> soon.</p>
169
170 <p>Bitcoins can be converted to other currencies, like USD and EUR.
171 There are <a href="http://www.bitcoin.org/trade">companies accepting
172 bitcoins</a> when selling services and goods, and there are even
173 currency "stock" markets where the exchange rate is decided. There
174 are not many users so far, but the concept seems promising. If you
175 want to get started and lack a friend with any bitcoins to spare,
176 you can even get
177 <a href="https://freebitcoins.appspot.com/">some for free</a> (0.05
178 bitcoin at the time of writing). Use
179 <a href="http://www.bitcoinwatch.com/">BitcoinWatch</a> to keep an eye
180 on the current exchange rates.</p>
181
182 <p>As an experiment, I have decided to set up bitcoind on one of my
183 machines. If you want to support my activity, please send Bitcoin
184 donations to the address
185 <b>15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</b>. Thank you!</p>
186 </div>
187 <div class="tags">
188
189
190
191 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
192
193 </div>
194 </div>
195 <div class="padding"></div>
196
197 <div class="entry">
198 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Martin_Bekkelund__En_stille_b__nn_om_Datalagringsdirektivet.html">Martin Bekkelund: En stille bønn om Datalagringsdirektivet</a></div>
199 <div class="date">2010-12-09 21:25</div>
200 <div class="body">
201 <p><a href="http://www.bekkelund.net/">Martin Bekkelund</a> ved
202 <a href="http://www.friprog.no/">friprog-senteret</a> har skrevet
203 følgende
204 <a href="http://www.bekkelund.net/2010/12/09/en-stille-bonn/">korte
205 oppsummering</a> rundt datalagringsdirektivet, som jeg videreformidler
206 her.</p>
207
208 <p><blockquote><strong>Det pågår i disse dager en intens diskusjon om
209 innføring av Datalagringsdirektivet (<acronym
210 title="Datalagringsdirektivet">DLD</acronym>) i norsk rett. Kanskje
211 har du gjort deg opp en mening, kanskje er du usikker. I begge
212 tilfeller ber jeg deg lese videre.</strong></p>
213
214 <p>Samtlige fagmiljøer, både i Norge og EU, har konkludert med at
215 <acronym title="Datalagringsdirektivet">DLD</acronym> ikke bør
216 innføres på nåværende tidspunkt. Den tekniske kvaliteten på direktivet
217 er dårlig, det griper uforholdsmessig inn i personvernet, det har
218 store mangler og viktige spørsmål som hvem som skal ha tilgang og
219 hvordan data skal lagres er fortsatt uavklart.</p>
220
221 <ul>
222 <li><a href="http://ikt-norge.no/norge-kan-slippe-datalagringsdirektivet/">EU-ekspertene sier</a> at konsekvensene av å benytte vetoretten er minimale</li>
223 <li><a href="http://www.regjeringen.no/pages/2281080/Deninternasjonalejuristkommisjon.pdf">Juristene påpeker</a> at direktivet er i strid med EMK</li>
224 <li><a href="http://www.dagbladet.no/2010/12/06/kultur/debatt/kronikk/dld/personvern/14594699/">Datatilsynet sier</a> direktivet får store konsekvenser for personvernet og at direktivet er irreversibelt</li>
225 <li><a href="http://www.bekkelund.net/?s=dld">Teknologene sier</a> at sikker lagring ikke er mulig, at det er svært enkelt å omgå og mulig å manipulere data og produsere falske beviser</li>
226 <li><a href="http://www.regjeringen.no/pages/2281080/NJ_247460_1_P.pdf">Pressen sier</a> nei av hensyn til kildevernet</li>
227 <li>Det er store <a href="http://tetzschner.blogspot.com/2010/03/den-tyske-forfatningsdomstol.html">interne</a> <a href="http://stoppdld.no/2010/03/02/datalagring-stoppet-av-tysk-forfatningsdomstol/">stridigheter</a> i EU. Blant annet har den tyske forfatningsdomstolen funnet at måten <acronym title="Datalagringsdirektivet">DLD</acronym> er innført på er i strid med tysk grunnlov</li>
228 <li>Alle de store <a href="http://www.bekkelund.net/2010/12/08/lokasjonsdata-og-datalagringsdirektivet/">operatørene og tilbyderne sier nei</a>, av tekniske og personvernmessige årsaker</li>
229 </ul>
230
231 <p>Jeg liker å tro at jeg er en hyggelig fyr. Jeg har et rent
232 rulleblad, og med unntak av to fartsbøter har jeg aldri vært en byrde
233 for samfunnet. Det akter jeg å fortsette med. Det er mange som meg,
234 lovlydige, pliktoppfyllende borgere som aldri vil utgjøre en trussel
235 mot noe som helst. Vi synes derfor det er trist og sårende at all vår
236 atferd skal overvåkes døgnkontinuerlig.</p>
237
238 <p><strong>Understøttet av faglige vurderinger kan du trygt si nei til
239 <acronym title="Datalagringsdirektivet">DLD</acronym>.</strong></p>
240
241 <p><a href="http://www.bekkelund.net/kontakt/">Ta kontakt med meg</a>
242 hvis du har spørsmål om <acronym
243 title="Datalagringsdirektivet">DLD</acronym>, uansett hva det måtte
244 gjelde.</p>
245
246 <p class="info">Denne teksten er å anse som <a
247 href="http://creativecommons.org/licenses/publicdomain/"><em>Public
248 Domain</em></a>. Spre den videre til alle som kan ha nytte av
249 den!</p>
250 </blockquote></p>
251
252 <p>Siste <a href="http://www.nettavisen.no/it/article3043918.ece">melding
253 fra Nettavisen</a> er at regjeringen planlegger å fremme sitt forslag
254 til implementering av datalagringsdirektivet i morgen, i ly av
255 fredprisutdelingen for å få minst mulig pressedekning om saken. Vi
256 får snart se om det stemmer.</p>
257 </div>
258 <div class="tags">
259
260
261
262 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>.
263
264 </div>
265 </div>
266 <div class="padding"></div>
267
268 <div class="entry">
269 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html">Student group continue the work on my Reprap 3D printer</a></div>
270 <div class="date">2010-12-09 19:30</div>
271 <div class="body">
272 <p>A few days ago, I was introduces to some students in the robot
273 student assosiation <a href="http://www.robotica.no/">Robotica
274 Osloensis</a> at the University of Oslo where I work, who planned to
275 get their own 3D printer. They wanted to learn from me based on my
276 work in the area. After having a short lunch meeting with them, I
277 offered them to borrow my reprap kit, as I never had time to complete
278 the build and this seem unlike to change any time soon. I look
279 forward to see how this goes. This monday their volunteer driver
280 picked up my kit and drove it to their lab, and tomorrow I am told the
281 last exam is over so they can start work on getting the 3D printer
282 operational.</p>
283
284 <p>The robotic group have already build several robots on their own,
285 and seem capable of getting the reprap operational. I really look
286 forward to being able to print all the cool 3D designs published on
287 <a href="http://www.thingiverse.com/">Thingiverse</a>. I even got
288 some 3D scans I got made during Dagen@IFI when one of the groups at
289 the computer science department at the university demonstrated their
290 very cool 3D scanner.</p>
291 </div>
292 <div class="tags">
293
294
295
296 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap</a>.
297
298 </div>
299 </div>
300 <div class="padding"></div>
301
302 <div class="entry">
303 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html">Debian Edu development gathering and General Assembly for FRiSK</a></div>
304 <div class="date">2010-11-29 18:40</div>
305 <div class="body">
306 <p>On friday, the first Debian Edu / Skolelinux
307 <a href="http://www.friprogramvareiskolen.no/Gathering/2010-12-03-05-Oslo">development
308 gathering</a> in a long time take place here in Oslo, Norway. I
309 really look forward to seeing all the good people working on the
310 Squeeze release. The gathering is open for everyone interested in
311 learning more about Debian Edu / Skolelinux.</p>
312
313 <p>On Saturday, the Norwegian member organization taking care of
314 organizing these development gatherings, Fri Programvare i Skolen,
315 will hold its
316 <a href="http://friprogramvareiskolen.no/Genfors/2010">General Assembly
317 for 2010</a>. Membership is open for all, and currently there are 388
318 people registered as members. Last year 32 members cast their vote in
319 the memberdb based election system. I hope more people find time to
320 vote this year.</p>
321 </div>
322 <div class="tags">
323
324
325
326 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
327
328 </div>
329 </div>
330 <div class="padding"></div>
331
332 <div class="entry">
333 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html">Why isn't Debian Edu using VLC?</a></div>
334 <div class="date">2010-11-27 11:30</div>
335 <div class="body">
336 <p>In the latest issue of Linux Journal, the readers choices were
337 presented, and the winner among the multimedia player were VLC.
338 Personally, I like VLC, and it is my player of choice when I first try
339 to play a video file or stream. Only if VLC fail will I drag out
340 gmplayer to see if it can do better. The reason is mostly the failure
341 model and trust. When VLC fail, it normally pop up a error message
342 reporting the problem. When mplayer fail, it normally segfault or
343 just hangs. The latter failure mode drain my trust in the program.<p>
344
345 <p>But even if VLC is my player of choice, we have choosen to use
346 mplayer in <a href="http://www.skolelinux.org/">Debian
347 Edu/Skolelinux</a>. The reason is simple. We need a good browser
348 plugin to play web videos seamlessly, and the VLC browser plugin is
349 not very good. For example, it lack in-line control buttons, so there
350 is no way for the user to pause the video. Also, when I
351 <a href="http://wiki.debian.org/DebianEdu/BrowserMultimedia">last
352 tested the browser plugins</a> available in Debian, the VLC plugin
353 failed on several video pages where mplayer based plugins worked. If
354 the browser plugin for VLC was as good as the gecko-mediaplayer
355 package (which uses mplayer), we would switch.</P>
356
357 <p>While VLC is a good player, its user interface is slightly
358 annoying. The most annoying feature is its inconsistent use of
359 keyboard shortcuts. When the player is in full screen mode, its
360 shortcuts are different from when it is playing the video in a window.
361 For example, space only work as pause when in full screen mode. I
362 wish it had consisten shortcuts and that space also would work when in
363 window mode. Another nice shortcut in gmplayer is [enter] to restart
364 the current video. It is very nice when playing short videos from the
365 web and want to restart it when new people arrive to have a look at
366 what is going on.</p>
367 </div>
368 <div class="tags">
369
370
371
372 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web">web</a>.
373
374 </div>
375 </div>
376 <div class="padding"></div>
377
378 <div class="entry">
379 <div class="title"><a href="http://people.skolelinux.org/pere/blog/DND_hedrer_overv__kning_av_barn_med_Rosingsprisen.html">DND hedrer overvåkning av barn med Rosingsprisen</a></div>
380 <div class="date">2010-11-23 14:15</div>
381 <div class="body">
382 <p>Jeg registrerer med vond smak i munnen at Den Norske Dataforening
383 <a
384 href="http://www.dataforeningen.no/hedret-med-rosingprisen.4849070-133913.html">hedrer
385 overvåkning av barn med Rosingsprisen for kreativitet i år</a>. Jeg
386 er glad jeg nå er meldt ut av DND.</p>
387
388 <p>Å elektronisk overvåke sine barn er ikke å gjøre dem en tjeneste,
389 men et overgrep mot individer i utvikling som bør læres opp til å ta
390 egne valg.</p>
391
392 <p>For å sitere Datatilsynets nye leder, Bjørn Erik Thon, i
393 <a href="http://www.idg.no/computerworld/article174262.ece">et intervju
394 med Computerworld Norge</A>:</p>
395
396 <p><blockquote>
397 - For alle som har barn, meg selv inkludert, er førstetanken at det
398 hadde vært fint å vite hvor barnet sitt er til enhver tid. Men ungene
399 har ikke godt av det. De er små individer som skal søke rundt og finne
400 sine små gjemmesteder og utvide horisonten, uten at foreldrene ser dem
401 i kortene. Det kan være fristende, men jeg ville ikke gått inn i
402 dette.
403 </blockquote></p>
404
405 <p>Det er skremmende å se at DND mener en tjeneste som legger opp til
406 slike overgrep bør hedres. Å flytte oppveksten for barn inn i en
407 virtuell
408 <a href="http://en.wikipedia.org/wiki/Panopticon">Panopticon</a> er et
409 grovt overgrep og vil gjøre skade på barnenes utvikling, og foreldre
410 burde tenke seg godt om før de gir etter for sine instinkter her.</p>
411
412 <p>Blipper-tjenesten får meg til å tenke på bøkene til
413 <a href="http://en.wikipedia.org/wiki/John_Twelve_Hawks">John Twelve
414 Hawks</a>, som forbilledlig beskriver hvordan et totalitært
415 overvåkningssamfunn bygges sakte men sikkert rundt oss, satt sammen av
416 gode intensjoner og manglende bevissthet om hvilke prinsipper et
417 liberalt demokrati er fundamentert på. Jeg har hatt stor glede av å
418 lese alle de tre bøkene.</p>
419 </div>
420 <div class="tags">
421
422
423
424 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
425
426 </div>
427 </div>
428 <div class="padding"></div>
429
430 <div class="entry">
431 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html">Lenny->Squeeze upgrades of the Gnome and KDE desktop, now with apt-get autoremove</a></div>
432 <div class="date">2010-11-22 14:15</div>
433 <div class="body">
434 <p>Michael Biebl suggested to me on IRC, that I changed my automated
435 upgrade testing of the
436 <a href="http://people.skolelinux.org/~pere/debian-upgrade-testing/">Lenny
437 Gnome and KDE Desktop</a> to do <tt>apt-get autoremove</tt> when using apt-get.
438 This seem like a very good idea, so I adjusted by test scripts and
439 can now present the updated result from today:</p>
440
441 <p>This is for Gnome:</p>
442
443 <p>Installed using apt-get, missing with aptitude</p>
444
445 <blockquote><p>
446 apache2.2-bin
447 aptdaemon
448 baobab
449 binfmt-support
450 browser-plugin-gnash
451 cheese-common
452 cli-common
453 cups-pk-helper
454 dmz-cursor-theme
455 empathy
456 empathy-common
457 freedesktop-sound-theme
458 freeglut3
459 gconf-defaults-service
460 gdm-themes
461 gedit-plugins
462 geoclue
463 geoclue-hostip
464 geoclue-localnet
465 geoclue-manual
466 geoclue-yahoo
467 gnash
468 gnash-common
469 gnome
470 gnome-backgrounds
471 gnome-cards-data
472 gnome-codec-install
473 gnome-core
474 gnome-desktop-environment
475 gnome-disk-utility
476 gnome-screenshot
477 gnome-search-tool
478 gnome-session-canberra
479 gnome-system-log
480 gnome-themes-extras
481 gnome-themes-more
482 gnome-user-share
483 gstreamer0.10-fluendo-mp3
484 gstreamer0.10-tools
485 gtk2-engines
486 gtk2-engines-pixbuf
487 gtk2-engines-smooth
488 hamster-applet
489 libapache2-mod-dnssd
490 libapr1
491 libaprutil1
492 libaprutil1-dbd-sqlite3
493 libaprutil1-ldap
494 libart2.0-cil
495 libboost-date-time1.42.0
496 libboost-python1.42.0
497 libboost-thread1.42.0
498 libchamplain-0.4-0
499 libchamplain-gtk-0.4-0
500 libcheese-gtk18
501 libclutter-gtk-0.10-0
502 libcryptui0
503 libdiscid0
504 libelf1
505 libepc-1.0-2
506 libepc-common
507 libepc-ui-1.0-2
508 libfreerdp-plugins-standard
509 libfreerdp0
510 libgconf2.0-cil
511 libgdata-common
512 libgdata7
513 libgdu-gtk0
514 libgee2
515 libgeoclue0
516 libgexiv2-0
517 libgif4
518 libglade2.0-cil
519 libglib2.0-cil
520 libgmime2.4-cil
521 libgnome-vfs2.0-cil
522 libgnome2.24-cil
523 libgnomepanel2.24-cil
524 libgpod-common
525 libgpod4
526 libgtk2.0-cil
527 libgtkglext1
528 libgtksourceview2.0-common
529 libmono-addins-gui0.2-cil
530 libmono-addins0.2-cil
531 libmono-cairo2.0-cil
532 libmono-corlib2.0-cil
533 libmono-i18n-west2.0-cil
534 libmono-posix2.0-cil
535 libmono-security2.0-cil
536 libmono-sharpzip2.84-cil
537 libmono-system2.0-cil
538 libmtp8
539 libmusicbrainz3-6
540 libndesk-dbus-glib1.0-cil
541 libndesk-dbus1.0-cil
542 libopal3.6.8
543 libpolkit-gtk-1-0
544 libpt2.6.7
545 libpython2.6
546 librpm1
547 librpmio1
548 libsdl1.2debian
549 libsrtp0
550 libssh-4
551 libtelepathy-farsight0
552 libtelepathy-glib0
553 libtidy-0.99-0
554 media-player-info
555 mesa-utils
556 mono-2.0-gac
557 mono-gac
558 mono-runtime
559 nautilus-sendto
560 nautilus-sendto-empathy
561 p7zip-full
562 pkg-config
563 python-aptdaemon
564 python-aptdaemon-gtk
565 python-axiom
566 python-beautifulsoup
567 python-bugbuddy
568 python-clientform
569 python-coherence
570 python-configobj
571 python-crypto
572 python-cupshelpers
573 python-elementtree
574 python-epsilon
575 python-evolution
576 python-feedparser
577 python-gdata
578 python-gdbm
579 python-gst0.10
580 python-gtkglext1
581 python-gtksourceview2
582 python-httplib2
583 python-louie
584 python-mako
585 python-markupsafe
586 python-mechanize
587 python-nevow
588 python-notify
589 python-opengl
590 python-openssl
591 python-pam
592 python-pkg-resources
593 python-pyasn1
594 python-pysqlite2
595 python-rdflib
596 python-serial
597 python-tagpy
598 python-twisted-bin
599 python-twisted-conch
600 python-twisted-core
601 python-twisted-web
602 python-utidylib
603 python-webkit
604 python-xdg
605 python-zope.interface
606 remmina
607 remmina-plugin-data
608 remmina-plugin-rdp
609 remmina-plugin-vnc
610 rhythmbox-plugin-cdrecorder
611 rhythmbox-plugins
612 rpm-common
613 rpm2cpio
614 seahorse-plugins
615 shotwell
616 software-center
617 system-config-printer-udev
618 telepathy-gabble
619 telepathy-mission-control-5
620 telepathy-salut
621 tomboy
622 totem
623 totem-coherence
624 totem-mozilla
625 totem-plugins
626 transmission-common
627 xdg-user-dirs
628 xdg-user-dirs-gtk
629 xserver-xephyr
630 </p></blockquote>
631
632 <p>Installed using apt-get, removed with aptitude</p>
633
634 <blockquote><p>
635 cheese
636 ekiga
637 eog
638 epiphany-extensions
639 evolution-exchange
640 fast-user-switch-applet
641 file-roller
642 gcalctool
643 gconf-editor
644 gdm
645 gedit
646 gedit-common
647 gnome-games
648 gnome-games-data
649 gnome-nettool
650 gnome-system-tools
651 gnome-themes
652 gnuchess
653 gucharmap
654 guile-1.8-libs
655 libavahi-ui0
656 libdmx1
657 libgalago3
658 libgtk-vnc-1.0-0
659 libgtksourceview2.0-0
660 liblircclient0
661 libsdl1.2debian-alsa
662 libspeexdsp1
663 libsvga1
664 rhythmbox
665 seahorse
666 sound-juicer
667 system-config-printer
668 totem-common
669 transmission-gtk
670 vinagre
671 vino
672 </p></blockquote>
673
674 <p>Installed using aptitude, missing with apt-get</p>
675
676 <blockquote><p>
677 gstreamer0.10-gnomevfs
678 </p></blockquote>
679
680 <p>Installed using aptitude, removed with apt-get</p>
681
682 <blockquote><p>
683 [nothing]
684 </p></blockquote>
685
686 <p>This is for KDE:</p>
687
688 <p>Installed using apt-get, missing with aptitude</p>
689
690 <blockquote><p>
691 ksmserver
692 </p></blockquote>
693
694 <p>Installed using apt-get, removed with aptitude</p>
695
696 <blockquote><p>
697 kwin
698 network-manager-kde
699 </p></blockquote>
700
701 <p>Installed using aptitude, missing with apt-get</p>
702
703 <blockquote><p>
704 arts
705 dolphin
706 freespacenotifier
707 google-gadgets-gst
708 google-gadgets-xul
709 kappfinder
710 kcalc
711 kcharselect
712 kde-core
713 kde-plasma-desktop
714 kde-standard
715 kde-window-manager
716 kdeartwork
717 kdeartwork-emoticons
718 kdeartwork-style
719 kdeartwork-theme-icon
720 kdebase
721 kdebase-apps
722 kdebase-workspace
723 kdebase-workspace-bin
724 kdebase-workspace-data
725 kdeeject
726 kdelibs
727 kdeplasma-addons
728 kdeutils
729 kdewallpapers
730 kdf
731 kfloppy
732 kgpg
733 khelpcenter4
734 kinfocenter
735 konq-plugins-l10n
736 konqueror-nsplugins
737 kscreensaver
738 kscreensaver-xsavers
739 ktimer
740 kwrite
741 libgle3
742 libkde4-ruby1.8
743 libkonq5
744 libkonq5-templates
745 libnetpbm10
746 libplasma-ruby
747 libplasma-ruby1.8
748 libqt4-ruby1.8
749 marble-data
750 marble-plugins
751 netpbm
752 nuvola-icon-theme
753 plasma-dataengines-workspace
754 plasma-desktop
755 plasma-desktopthemes-artwork
756 plasma-runners-addons
757 plasma-scriptengine-googlegadgets
758 plasma-scriptengine-python
759 plasma-scriptengine-qedje
760 plasma-scriptengine-ruby
761 plasma-scriptengine-webkit
762 plasma-scriptengines
763 plasma-wallpapers-addons
764 plasma-widget-folderview
765 plasma-widget-networkmanagement
766 ruby
767 sweeper
768 update-notifier-kde
769 xscreensaver-data-extra
770 xscreensaver-gl
771 xscreensaver-gl-extra
772 xscreensaver-screensaver-bsod
773 </p></blockquote>
774
775 <p>Installed using aptitude, removed with apt-get</p>
776
777 <blockquote><p>
778 ark
779 google-gadgets-common
780 google-gadgets-qt
781 htdig
782 kate
783 kdebase-bin
784 kdebase-data
785 kdepasswd
786 kfind
787 klipper
788 konq-plugins
789 konqueror
790 ksysguard
791 ksysguardd
792 libarchive1
793 libcln6
794 libeet1
795 libeina-svn-06
796 libggadget-1.0-0b
797 libggadget-qt-1.0-0b
798 libgps19
799 libkdecorations4
800 libkephal4
801 libkonq4
802 libkonqsidebarplugin4a
803 libkscreensaver5
804 libksgrd4
805 libksignalplotter4
806 libkunitconversion4
807 libkwineffects1a
808 libmarblewidget4
809 libntrack-qt4-1
810 libntrack0
811 libplasma-geolocation-interface4
812 libplasmaclock4a
813 libplasmagenericshell4
814 libprocesscore4a
815 libprocessui4a
816 libqalculate5
817 libqedje0a
818 libqtruby4shared2
819 libqzion0a
820 libruby1.8
821 libscim8c2a
822 libsmokekdecore4-3
823 libsmokekdeui4-3
824 libsmokekfile3
825 libsmokekhtml3
826 libsmokekio3
827 libsmokeknewstuff2-3
828 libsmokeknewstuff3-3
829 libsmokekparts3
830 libsmokektexteditor3
831 libsmokekutils3
832 libsmokenepomuk3
833 libsmokephonon3
834 libsmokeplasma3
835 libsmokeqtcore4-3
836 libsmokeqtdbus4-3
837 libsmokeqtgui4-3
838 libsmokeqtnetwork4-3
839 libsmokeqtopengl4-3
840 libsmokeqtscript4-3
841 libsmokeqtsql4-3
842 libsmokeqtsvg4-3
843 libsmokeqttest4-3
844 libsmokeqtuitools4-3
845 libsmokeqtwebkit4-3
846 libsmokeqtxml4-3
847 libsmokesolid3
848 libsmokesoprano3
849 libtaskmanager4a
850 libtidy-0.99-0
851 libweather-ion4a
852 libxklavier16
853 libxxf86misc1
854 okteta
855 oxygencursors
856 plasma-dataengines-addons
857 plasma-scriptengine-superkaramba
858 plasma-widget-lancelot
859 plasma-widgets-addons
860 plasma-widgets-workspace
861 polkit-kde-1
862 ruby1.8
863 systemsettings
864 update-notifier-common
865 </p></blockquote>
866
867 <p>Running apt-get autoremove made the results using apt-get and
868 aptitude a bit more similar, but there are still quite a lott of
869 differences. I have no idea what packages should be installed after
870 the upgrade, but hope those that do can have a look.</p>
871 </div>
872 <div class="tags">
873
874
875
876 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
877
878 </div>
879 </div>
880 <div class="padding"></div>
881
882 <div class="entry">
883 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html">Migrating Xen virtual machines using LVM to KVM using disk images</a></div>
884 <div class="date">2010-11-22 11:20</div>
885 <div class="body">
886 <p>Most of the computers in use by the
887 <a href="http://www.skolelinux.org/">Debian Edu/Skolelinux project</a>
888 are virtual machines. And they have been Xen machines running on a
889 fairly old IBM eserver xseries 345 machine, and we wanted to migrate
890 them to KVM on a newer Dell PowerEdge 2950 host machine. This was a
891 bit harder that it could have been, because we set up the Xen virtual
892 machines to get the virtual partitions from LVM, which as far as I
893 know is not supported by KVM. So to migrate, we had to convert
894 several LVM logical volumes to partitions on a virtual disk file.</p>
895
896 <p>I found
897 <a href="http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM">a
898 nice recipe</a> to do this, and wrote the following script to do the
899 migration. It uses qemu-img from the qemu package to make the disk
900 image, parted to partition it, losetup and kpartx to present the disk
901 image partions as devices, and dd to copy the data. I NFS mounted the
902 new servers storage area on the old server to do the migration.</p>
903
904 <pre>
905 #!/bin/sh
906
907 # Based on
908 # http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
909
910 set -e
911 set -x
912
913 if [ -z "$1" ] ; then
914 echo "Usage: $0 &lt;hostname&gt;"
915 exit 1
916 else
917 host="$1"
918 fi
919
920 if [ ! -e /dev/vg_data/$host-disk ] ; then
921 echo "error: unable to find LVM volume for $host"
922 exit 1
923 fi
924
925 # Partitions need to be a bit bigger than the LVM LVs. not sure why.
926 disksize=$( lvs --units m | grep $host-disk | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
927 swapsize=$( lvs --units m | grep $host-swap | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
928 totalsize=$(( ( $disksize + $swapsize ) ))
929
930 img=$host.img
931 #dd if=/dev/zero of=$img bs=1M count=$(( $disksize + $swapsize ))
932 qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
933
934 parted $img mklabel msdos
935 parted $img mkpart primary linux-swap 0 $disksize
936 parted $img mkpart primary ext2 $disksize $totalsize
937 parted $img set 1 boot on
938
939 modprobe dm-mod
940 losetup /dev/loop0 $img
941 kpartx -a /dev/loop0
942
943 dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=1M
944 fsck.ext3 -f /dev/mapper/loop0p1 || true
945 mkswap /dev/mapper/loop0p2
946
947 kpartx -d /dev/loop0
948 losetup -d /dev/loop0
949 </pre>
950
951 <p>The script is perhaps so simple that it is not copyrightable, but
952 if it is, it is licenced using GPL v2 or later at your discretion.</p>
953
954 <p>After doing this, I booted a Debian CD in rescue mode in KVM with
955 the new disk image attached, installed grub-pc and linux-image-686 and
956 set up grub to boot from the disk image. After this, the KVM machines
957 seem to work just fine.</p>
958 </div>
959 <div class="tags">
960
961
962
963 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
964
965 </div>
966 </div>
967 <div class="padding"></div>
968
969 <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14"></a></p>
970
971 <div id="sidebar">
972
973
974
975
976
977 <h2>Archive</h2>
978 <ul>
979
980 <li>2010
981 <ul>
982
983 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
984
985 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
986
987 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
988
989 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
990
991 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
992
993 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
994
995 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
996
997 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
998
999 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
1000
1001 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
1002
1003 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
1004
1005 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (5)</a></li>
1006
1007 </ul></li>
1008
1009 <li>2009
1010 <ul>
1011
1012 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
1013
1014 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
1015
1016 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
1017
1018 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
1019
1020 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
1021
1022 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
1023
1024 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
1025
1026 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
1027
1028 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
1029
1030 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
1031
1032 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
1033
1034 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
1035
1036 </ul></li>
1037
1038 <li>2008
1039 <ul>
1040
1041 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
1042
1043 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
1044
1045 </ul></li>
1046
1047 </ul>
1048
1049
1050
1051 <h2>Tags</h2>
1052 <ul>
1053
1054 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
1055
1056 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
1057
1058 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
1059
1060 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (2)</a></li>
1061
1062 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (10)</a></li>
1063
1064 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (45)</a></li>
1065
1066 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (52)</a></li>
1067
1068 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (76)</a></li>
1069
1070 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
1071
1072 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (11)</a></li>
1073
1074 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (5)</a></li>
1075
1076 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (8)</a></li>
1077
1078 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (4)</a></li>
1079
1080 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
1081
1082 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (11)</a></li>
1083
1084 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (93)</a></li>
1085
1086 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (114)</a></li>
1087
1088 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (18)</a></li>
1089
1090 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (30)</a></li>
1091
1092 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
1093
1094 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (4)</a></li>
1095
1096 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
1097
1098 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (22)</a></li>
1099
1100 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>
1101
1102 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (16)</a></li>
1103
1104 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
1105
1106 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (16)</a></li>
1107
1108 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
1109
1110 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (14)</a></li>
1111
1112 </ul>
1113
1114 </div>
1115
1116 <p style="text-align: right">
1117 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v3.7</a>
1118 </p>
1119 </body>
1120 </html>