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