]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2014/04/index.html
Generated.
[homepage.git] / blog / archive / 2014 / 04 / 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 xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen: entries from April 2014</title>
7 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel="alternate" title="RSS Feed" href="04.rss" type="application/rss+xml" />
10 </head>
11 <body>
12 <!-- XML FEED -->
13 <div class="title">
14 <h1>
15 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
16
17 </h1>
18
19 </div>
20
21
22 <h3>Entries from April 2014.</h3>
23
24 <div class="entry">
25 <div class="title">
26 <a href="http://people.skolelinux.org/pere/blog/FreedomBox_milestone___all_packages_now_in_Debian_Sid.html">FreedomBox milestone - all packages now in Debian Sid</a>
27 </div>
28 <div class="date">
29 15th April 2014
30 </div>
31 <div class="body">
32 <p>The <a href="https://wiki.debian.org/FreedomBox">Freedombox
33 project</a> is working on providing the software and hardware to make
34 it easy for non-technical people to host their data and communication
35 at home, and being able to communicate with their friends and family
36 encrypted and away from prying eyes. It is still going strong, and
37 today a major mile stone was reached.</p>
38
39 <p>Today, the last of the packages currently used by the project to
40 created the system images were accepted into Debian Unstable. It was
41 the freedombox-setup package, which is used to configure the images
42 during build and on the first boot. Now all one need to get going is
43 the build code from the freedom-maker git repository and packages from
44 Debian. And once the freedombox-setup package enter testing, we can
45 build everything directly from Debian. :)</p>
46
47 <p>Some key packages used by Freedombox are
48 <a href="http://packages.qa.debian.org/freedombox-setup">freedombox-setup</a>,
49 <a href="http://packages.qa.debian.org/plinth">plinth</a>,
50 <a href="http://packages.qa.debian.org/pagekite">pagekite</a>,
51 <a href="http://packages.qa.debian.org/tor">tor</a>,
52 <a href="http://packages.qa.debian.org/privoxy">privoxy</a>,
53 <a href="http://packages.qa.debian.org/owncloud">owncloud</a> and
54 <a href="http://packages.qa.debian.org/dnsmasq">dnsmasq</a>. There
55 are plans to integrate more packages into the setup. User
56 documentation is maintained on the Debian wiki. Please
57 <a href="https://wiki.debian.org/FreedomBox/Manual/Jessie">check out
58 the manual</a> and help us improve it.</p>
59
60 <p>To test for yourself and create boot images with the FreedomBox
61 setup, run this on a Debian machine using a user with sudo rights to
62 become root:</p>
63
64 <p><pre>
65 sudo apt-get install git vmdebootstrap mercurial python-docutils \
66 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
67 u-boot-tools
68 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
69 freedom-maker
70 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
71 </pre></p>
72
73 <p>Root access is needed to run debootstrap and mount loopback
74 devices. See the README in the freedom-maker git repo for more
75 details on the build. If you do not want all three images, trim the
76 make line. Note that the virtualbox-image target is not really
77 virtualbox specific. It create a x86 image usable in kvm, qemu,
78 vmware and any other x86 virtual machine environment. You might need
79 the version of vmdebootstrap in Jessie to get the build working, as it
80 include fixes for a race condition with kpartx.</p>
81
82 <p>If you instead want to install using a Debian CD and the preseed
83 method, boot a Debian Wheezy ISO and use this boot argument to load
84 the preseed values:</p>
85
86 <p><pre>
87 url=<a href="http://www.reinholdtsen.name/freedombox/preseed-jessie.dat">http://www.reinholdtsen.name/freedombox/preseed-jessie.dat</a>
88 </pre></p>
89
90 <p>I have not tested it myself the last few weeks, so I do not know if
91 it still work.</p>
92
93 <p>If you wonder how to help, one task you could look at is using
94 systemd as the boot system. It will become the default for Linux in
95 Jessie, so we need to make sure it is usable on the Freedombox. I did
96 a simple test a few weeks ago, and noticed dnsmasq failed to start
97 during boot when using systemd. I suspect there are other problems
98 too. :) To detect problems, there is a test suite included, which can
99 be run from the plinth web interface.</p>
100
101 <p>Give it a go and let us know how it goes on the mailing list, and help
102 us get the new release published. :) Please join us on
103 <a href="irc://irc.debian.org:6667/%23freedombox">IRC (#freedombox on
104 irc.debian.org)</a> and
105 <a href="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">the
106 mailing list</a> if you want to help make this vision come true.</p>
107
108 </div>
109 <div class="tags">
110
111
112 Tags: <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/freedombox">freedombox</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web">web</a>.
113
114
115 </div>
116 </div>
117 <div class="padding"></div>
118
119 <div class="entry">
120 <div class="title">
121 <a href="http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html">Språkkoder for POSIX locale i Norge</a>
122 </div>
123 <div class="date">
124 11th April 2014
125 </div>
126 <div class="body">
127 <p>For 12 år siden, skrev jeg et lite notat om
128 <a href="http://i18n.skolelinux.no/localekoder.txt">bruk av språkkoder
129 i Norge</a>. Jeg ble nettopp minnet på dette da jeg fikk spørsmål om
130 notatet fortsatt var aktuelt, og tenkte det var greit å repetere hva
131 som fortsatt gjelder. Det jeg skrev da er fortsatt like aktuelt.</p>
132
133 <p>Når en velger språk i programmer på unix, så velger en blant mange
134 språkkoder. For språk i Norge anbefales følgende språkkoder (anbefalt
135 locale i parantes):</p>
136
137 <p><dl>
138 <dt>nb (nb_NO)</dt><dd>Bokmål i Norge</dd>
139 <dt>nn (nn_NO)</dt><dd>Nynorsk i Norge</dd>
140 <dt>se (se_NO)</dt><dd>Nordsamisk i Norge</dd>
141 </dl></p>
142
143 <p>Alle programmer som bruker andre koder bør endres.</p>
144
145 <p>Språkkoden bør brukes når .po-filer navngis og installeres. Dette
146 er ikke det samme som locale-koden. For Norsk Bokmål, så bør filene
147 være navngitt nb.po, mens locale (LANG) bør være nb_NO.</p>
148
149 <p>Hvis vi ikke får standardisert de kodene i alle programmene med
150 norske oversettelser, så er det umulig å gi LANG-variablen ett innhold
151 som fungerer for alle programmer.</p>
152
153 <p>Språkkodene er de offisielle kodene fra ISO 639, og bruken av dem i
154 forbindelse med POSIX localer er standardisert i RFC 3066 og ISO
155 15897. Denne anbefalingen er i tråd med de angitte standardene.</p>
156
157 <p>Følgende koder er eller har vært i bruk som locale-verdier for
158 "norske" språk. Disse bør unngås, og erstattes når de oppdages:</p>
159
160 <p><table>
161 <tr><td>norwegian</td><td>-> nb_NO</td></tr>
162 <tr><td>bokmål </td><td>-> nb_NO</td></tr>
163 <tr><td>bokmal </td><td>-> nb_NO</td></tr>
164 <tr><td>nynorsk </td><td>-> nn_NO</td></tr>
165 <tr><td>no </td><td>-> nb_NO</td></tr>
166 <tr><td>no_NO </td><td>-> nb_NO</td></tr>
167 <tr><td>no_NY </td><td>-> nn_NO</td></tr>
168 <tr><td>sme_NO </td><td>-> se_NO</td></tr>
169 </table></p>
170
171 <p>Merk at når det gjelder de samiske språkene, at se_NO i praksis
172 henviser til nordsamisk i Norge, mens f.eks. smj_NO henviser til
173 lulesamisk. Dette notatet er dog ikke ment å gi råd rundt samiske
174 språkkoder, der gjør
175 <a href="http://www.divvun.no/">Divvun-prosjektet</a> en bedre
176 jobb.</p>
177
178 <p><strong>Referanser:</strong></p>
179
180 <ul>
181
182 <li><a href="http://www.rfc-base.org/rfc-3066.html">RFC 3066 - Tags
183 for the Identification of Languages</a> (Erstatter RFC 1766)</li>
184
185 <li><a href="http://www.loc.gov/standards/iso639-2/langcodes.html">ISO
186 639</a> - Codes for the Representation of Names of Languages</li>
187
188 <li><a href="http://std.dkuug.dk/jtc1/sc22/wg20/docs/n897-14652w25.pdf">ISO
189 DTR 14652</a> - locale-standard Specification method for cultural
190 conventions</li>
191
192 <li><a href="http://std.dkuug.dk/jtc1/sc22/wg20/docs/n610.pdf">ISO
193 15897: Registration procedures for cultural elements (cultural
194 registry)</a>,
195 <a href="http://std.dkuug.dk/jtc1/sc22/wg20/docs/n849-15897wd6.pdf">(nytt
196 draft)</a></li>
197
198 <li><a href="http://std.dkuug.dk/jtc1/sc22/wg20/">ISO/IEC
199 JTC1/SC22/WG20</a> - Gruppen for i18n-standardisering i ISO</li>
200
201 <ul>
202
203 </div>
204 <div class="tags">
205
206
207 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>.
208
209
210 </div>
211 </div>
212 <div class="padding"></div>
213
214 <div class="entry">
215 <div class="title">
216 <a href="http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html">S3QL, a locally mounted cloud file system - nice free software</a>
217 </div>
218 <div class="date">
219 9th April 2014
220 </div>
221 <div class="body">
222 <p>For a while now, I have been looking for a sensible offsite backup
223 solution for use at home. My requirements are simple, it must be
224 cheap and locally encrypted (in other words, I keep the encryption
225 keys, the storage provider do not have access to my private files).
226 One idea me and my friends had many years ago, before the cloud
227 storage providers showed up, was to use Google mail as storage,
228 writing a Linux block device storing blocks as emails in the mail
229 service provided by Google, and thus get heaps of free space. On top
230 of this one can add encryption, RAID and volume management to have
231 lots of (fairly slow, I admit that) cheap and encrypted storage. But
232 I never found time to implement such system. But the last few weeks I
233 have looked at a system called
234 <a href="https://bitbucket.org/nikratio/s3ql/">S3QL</a>, a locally
235 mounted network backed file system with the features I need.</p>
236
237 <p>S3QL is a fuse file system with a local cache and cloud storage,
238 handling several different storage providers, any with Amazon S3,
239 Google Drive or OpenStack API. There are heaps of such storage
240 providers. S3QL can also use a local directory as storage, which
241 combined with sshfs allow for file storage on any ssh server. S3QL
242 include support for encryption, compression, de-duplication, snapshots
243 and immutable file systems, allowing me to mount the remote storage as
244 a local mount point, look at and use the files as if they were local,
245 while the content is stored in the cloud as well. This allow me to
246 have a backup that should survive fire. The file system can not be
247 shared between several machines at the same time, as only one can
248 mount it at the time, but any machine with the encryption key and
249 access to the storage service can mount it if it is unmounted.</p>
250
251 <p>It is simple to use. I'm using it on Debian Wheezy, where the
252 package is included already. So to get started, run <tt>apt-get
253 install s3ql</tt>. Next, pick a storage provider. I ended up picking
254 Greenqloud, after reading their nice recipe on
255 <a href="https://greenqloud.zendesk.com/entries/44611757-How-To-Use-S3QL-to-mount-a-StorageQloud-bucket-on-Debian-Wheezy">how
256 to use S3QL with their Amazon S3 service</a>, because I trust the laws
257 in Iceland more than those in USA when it come to keeping my personal
258 data safe and private, and thus would rather spend money on a company
259 in Iceland. Another nice recipe is available from the article
260 <a href="http://www.admin-magazine.com/HPC/Articles/HPC-Cloud-Storage">S3QL
261 Filesystem for HPC Storage</a> by Jeff Layton in the HPC section of
262 Admin magazine. When the provider is picked, figure out how to get
263 the API key needed to connect to the storage API. With Greencloud,
264 the key did not show up until I had added payment details to my
265 account.</p>
266
267 <p>Armed with the API access details, it is time to create the file
268 system. First, create a new bucket in the cloud. This bucket is the
269 file system storage area. I picked a bucket name reflecting the
270 machine that was going to store data there, but any name will do.
271 I'll refer to it as <tt>bucket-name</tt> below. In addition, one need
272 the API login and password, and a locally created password. Store it
273 all in ~root/.s3ql/authinfo2 like this:
274
275 <p><blockquote><pre>
276 [s3c]
277 storage-url: s3c://s.greenqloud.com:443/bucket-name
278 backend-login: API-login
279 backend-password: API-password
280 fs-passphrase: local-password
281 </pre></blockquote></p>
282
283 <p>I create my local passphrase using <tt>pwget 50</tt> or similar,
284 but any sensible way to create a fairly random password should do it.
285 Armed with these details, it is now time to run mkfs, entering the API
286 details and password to create it:</p>
287
288 <p><blockquote><pre>
289 # mkdir -m 700 /var/lib/s3ql-cache
290 # mkfs.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
291 --ssl s3c://s.greenqloud.com:443/bucket-name
292 Enter backend login:
293 Enter backend password:
294 Before using S3QL, make sure to read the user's guide, especially
295 the 'Important Rules to Avoid Loosing Data' section.
296 Enter encryption password:
297 Confirm encryption password:
298 Generating random encryption key...
299 Creating metadata tables...
300 Dumping metadata...
301 ..objects..
302 ..blocks..
303 ..inodes..
304 ..inode_blocks..
305 ..symlink_targets..
306 ..names..
307 ..contents..
308 ..ext_attributes..
309 Compressing and uploading metadata...
310 Wrote 0.00 MB of compressed metadata.
311 # </pre></blockquote></p>
312
313 <p>The next step is mounting the file system to make the storage available.
314
315 <p><blockquote><pre>
316 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
317 --ssl --allow-root s3c://s.greenqloud.com:443/bucket-name /s3ql
318 Using 4 upload threads.
319 Downloading and decompressing metadata...
320 Reading metadata...
321 ..objects..
322 ..blocks..
323 ..inodes..
324 ..inode_blocks..
325 ..symlink_targets..
326 ..names..
327 ..contents..
328 ..ext_attributes..
329 Mounting filesystem...
330 # df -h /s3ql
331 Filesystem Size Used Avail Use% Mounted on
332 s3c://s.greenqloud.com:443/bucket-name 1.0T 0 1.0T 0% /s3ql
333 #
334 </pre></blockquote></p>
335
336 <p>The file system is now ready for use. I use rsync to store my
337 backups in it, and as the metadata used by rsync is downloaded at
338 mount time, no network traffic (and storage cost) is triggered by
339 running rsync. To unmount, one should not use the normal umount
340 command, as this will not flush the cache to the cloud storage, but
341 instead running the umount.s3ql command like this:
342
343 <p><blockquote><pre>
344 # umount.s3ql /s3ql
345 #
346 </pre></blockquote></p>
347
348 <p>There is a fsck command available to check the file system and
349 correct any problems detected. This can be used if the local server
350 crashes while the file system is mounted, to reset the "already
351 mounted" flag. This is what it look like when processing a working
352 file system:</p>
353
354 <p><blockquote><pre>
355 # fsck.s3ql --force --ssl s3c://s.greenqloud.com:443/bucket-name
356 Using cached metadata.
357 File system seems clean, checking anyway.
358 Checking DB integrity...
359 Creating temporary extra indices...
360 Checking lost+found...
361 Checking cached objects...
362 Checking names (refcounts)...
363 Checking contents (names)...
364 Checking contents (inodes)...
365 Checking contents (parent inodes)...
366 Checking objects (reference counts)...
367 Checking objects (backend)...
368 ..processed 5000 objects so far..
369 ..processed 10000 objects so far..
370 ..processed 15000 objects so far..
371 Checking objects (sizes)...
372 Checking blocks (referenced objects)...
373 Checking blocks (refcounts)...
374 Checking inode-block mapping (blocks)...
375 Checking inode-block mapping (inodes)...
376 Checking inodes (refcounts)...
377 Checking inodes (sizes)...
378 Checking extended attributes (names)...
379 Checking extended attributes (inodes)...
380 Checking symlinks (inodes)...
381 Checking directory reachability...
382 Checking unix conventions...
383 Checking referential integrity...
384 Dropping temporary indices...
385 Backing up old metadata...
386 Dumping metadata...
387 ..objects..
388 ..blocks..
389 ..inodes..
390 ..inode_blocks..
391 ..symlink_targets..
392 ..names..
393 ..contents..
394 ..ext_attributes..
395 Compressing and uploading metadata...
396 Wrote 0.89 MB of compressed metadata.
397 #
398 </pre></blockquote></p>
399
400 <p>Thanks to the cache, working on files that fit in the cache is very
401 quick, about the same speed as local file access. Uploading large
402 amount of data is to me limited by the bandwidth out of and into my
403 house. Uploading 685 MiB with a 100 MiB cache gave me 305 kiB/s,
404 which is very close to my upload speed, and downloading the same
405 Debian installation ISO gave me 610 kiB/s, close to my download speed.
406 Both were measured using <tt>dd</tt>. So for me, the bottleneck is my
407 network, not the file system code. I do not know what a good cache
408 size would be, but suspect that the cache should e larger than your
409 working set.</p>
410
411 <p>I mentioned that only one machine can mount the file system at the
412 time. If another machine try, it is told that the file system is
413 busy:</p>
414
415 <p><blockquote><pre>
416 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
417 --ssl --allow-root s3c://s.greenqloud.com:443/bucket-name /s3ql
418 Using 8 upload threads.
419 Backend reports that fs is still mounted elsewhere, aborting.
420 #
421 </pre></blockquote></p>
422
423 <p>The file content is uploaded when the cache is full, while the
424 metadata is uploaded once every 24 hour by default. To ensure the
425 file system content is flushed to the cloud, one can either umount the
426 file system, or ask S3QL to flush the cache and metadata using
427 s3qlctrl:
428
429 <p><blockquote><pre>
430 # s3qlctrl upload-meta /s3ql
431 # s3qlctrl flushcache /s3ql
432 #
433 </pre></blockquote></p>
434
435 <p>If you are curious about how much space your data uses in the
436 cloud, and how much compression and deduplication cut down on the
437 storage usage, you can use s3qlstat on the mounted file system to get
438 a report:</p>
439
440 <p><blockquote><pre>
441 # s3qlstat /s3ql
442 Directory entries: 9141
443 Inodes: 9143
444 Data blocks: 8851
445 Total data size: 22049.38 MB
446 After de-duplication: 21955.46 MB (99.57% of total)
447 After compression: 21877.28 MB (99.22% of total, 99.64% of de-duplicated)
448 Database size: 2.39 MB (uncompressed)
449 (some values do not take into account not-yet-uploaded dirty blocks in cache)
450 #
451 </pre></blockquote></p>
452
453 <p>I mentioned earlier that there are several possible suppliers of
454 storage. I did not try to locate them all, but am aware of at least
455 <a href="https://www.greenqloud.com/">Greenqloud</a>,
456 <a href="http://drive.google.com/">Google Drive</a>,
457 <a href="http://aws.amazon.com/s3/">Amazon S3 web serivces</a>,
458 <a href="http://www.rackspace.com/">Rackspace</a> and
459 <a href="http://crowncloud.net/">Crowncloud</A>. The latter even
460 accept payment in Bitcoin. Pick one that suit your need. Some of
461 them provide several GiB of free storage, but the prize models are
462 quite different and you will have to figure out what suits you
463 best.</p>
464
465 <p>While researching this blog post, I had a look at research papers
466 and posters discussing the S3QL file system. There are several, which
467 told me that the file system is getting a critical check by the
468 science community and increased my confidence in using it. One nice
469 poster is titled
470 "<a href="http://www.lanl.gov/orgs/adtsc/publications/science_highlights_2013/docs/pg68_69.pdf">An
471 Innovative Parallel Cloud Storage System using OpenStack’s SwiftObject
472 Store and Transformative Parallel I/O Approach</a>" by Hsing-Bung
473 Chen, Benjamin McClelland, David Sherrill, Alfred Torrez, Parks Fields
474 and Pamela Smith. Please have a look.</p>
475
476 <p>Given my problems with different file systems earlier, I decided to
477 check out the mounted S3QL file system to see if it would be usable as
478 a home directory (in other word, that it provided POSIX semantics when
479 it come to locking and umask handling etc). Running
480 <a href="http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html">my
481 test code to check file system semantics</a>, I was happy to discover that
482 no error was found. So the file system can be used for home
483 directories, if one chooses to do so.</p>
484
485 <p>If you do not want a locally file system, and want something that
486 work without the Linux fuse file system, I would like to mention the
487 <a href="http://www.tarsnap.com/">Tarsnap service</a>, which also
488 provide locally encrypted backup using a command line client. It have
489 a nicer access control system, where one can split out read and write
490 access, allowing some systems to write to the backup and others to
491 only read from it.</p>
492
493 <p>As usual, if you use Bitcoin and want to show your support of my
494 activities, please send Bitcoin donations to my address
495 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&label=PetterReinholdtsenBlog">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
496
497 </div>
498 <div class="tags">
499
500
501 Tags: <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>.
502
503
504 </div>
505 </div>
506 <div class="padding"></div>
507
508 <div class="entry">
509 <div class="title">
510 <a href="http://people.skolelinux.org/pere/blog/EU_domstolen_bekreftet_i_dag_at_datalagringsdirektivet_er_ulovlig.html">EU-domstolen bekreftet i dag at datalagringsdirektivet er ulovlig</a>
511 </div>
512 <div class="date">
513 8th April 2014
514 </div>
515 <div class="body">
516 <p>I dag kom endelig avgjørelsen fra EU-domstolen om
517 datalagringsdirektivet, som ikke overraskende ble dømt ulovlig og i
518 strid med borgernes grunnleggende rettigheter. Hvis du lurer på hva
519 datalagringsdirektivet er for noe, så er det
520 <a href="http://tv.nrk.no/program/koid75005313/tema-dine-digitale-spor-datalagringsdirektivet">en
521 flott dokumentar tilgjengelig hos NRK</a> som jeg tidligere
522 <a href="http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html">har
523 anbefalt</a> alle å se.</p>
524
525 <p>Her er et liten knippe nyhetsoppslag om saken, og jeg regner med at
526 det kommer flere ut over dagen. Flere kan finnes
527 <a href="http://www.mylder.no/?drill=datalagringsdirektivet&intern=1">via
528 mylder</a>.</p>
529
530 <p><ul>
531
532 <li><a href="http://e24.no/digital/eu-domstolen-datalagringsdirektivet-er-ugyldig/22879592">EU-domstolen:
533 Datalagringsdirektivet er ugyldig</a> - e24.no 2014-04-08
534
535 <li><a href="http://www.aftenposten.no/nyheter/iriks/EU-domstolen-Datalagringsdirektivet-er-ulovlig-7529032.html">EU-domstolen:
536 Datalagringsdirektivet er ulovlig</a> - aftenposten.no 2014-04-08
537
538 <li><a href="http://www.aftenposten.no/nyheter/iriks/politikk/Krever-DLD-stopp-i-Norge-7530086.html">Krever
539 DLD-stopp i Norge</a> - aftenposten.no 2014-04-08
540
541 <li><a href="http://www.p4.no/story.aspx?id=566431">Apenes: - En
542 gledens dag</a> - p4.no 2014-04-08
543
544 <li><a href="http://www.nrk.no/norge/_-datalagringsdirektivet-er-ugyldig-1.11655929">EU-domstolen:
545 – Datalagringsdirektivet er ugyldig</a> - nrk.no 2014-04-08</li>
546
547 <li><a href="http://www.vg.no/nyheter/utenriks/data-og-nett/eu-domstolen-datalagringsdirektivet-er-ugyldig/a/10130280/">EU-domstolen:
548 Datalagringsdirektivet er ugyldig</a> - vg.no 2014-04-08</li>
549
550 <li><a href="http://www.dagbladet.no/2014/04/08/nyheter/innenriks/datalagringsdirektivet/personvern/32711646/">-
551 Vi bør skrote hele datalagringsdirektivet</a> - dagbladet.no
552 2014-04-08</li>
553
554 <li><a href="http://www.digi.no/928137/eu-domstolen-dld-er-ugyldig">EU-domstolen:
555 DLD er ugyldig</a> - digi.no 2014-04-08</li>
556
557 <li><a href="http://www.irishtimes.com/business/sectors/technology/european-court-declares-data-retention-directive-invalid-1.1754150">European
558 court declares data retention directive invalid</a> - irishtimes.com
559 2014-04-08</li>
560
561 <li><a href="http://www.reuters.com/article/2014/04/08/us-eu-data-ruling-idUSBREA370F020140408?feedType=RSS">EU
562 court rules against requirement to keep data of telecom users</a> -
563 reuters.com 2014-04-08</li>
564
565 </ul>
566 </p>
567
568 <p>Jeg synes det er veldig fint at nok en stemme slår fast at
569 totalitær overvåkning av befolkningen er uakseptabelt, men det er
570 fortsatt like viktig å beskytte privatsfæren som før, da de
571 teknologiske mulighetene fortsatt finnes og utnyttes, og jeg tror
572 innsats i prosjekter som
573 <a href="https://wiki.debian.org/FreedomBox">Freedombox</a> og
574 <a href="http://www.dugnadsnett.no/">Dugnadsnett</a> er viktigere enn
575 noen gang.</p>
576
577 <p><strong>Update 2014-04-08 12:10</strong>: Kronerullingen for å
578 stoppe datalagringsdirektivet i Norge gjøres hos foreningen
579 <a href="http://www.digitaltpersonvern.no/">Digitalt Personvern</a>,
580 som har samlet inn 843 215,- så langt men trenger nok mye mer hvis
581
582 ikke Høyre og Arbeiderpartiet bytter mening i saken. Det var
583 <a href="http://www.holderdeord.no/parliament-issues/48650">kun
584 partinene Høyre og Arbeiderpartiet</a> som stemte for
585 Datalagringsdirektivet, og en av dem må bytte mening for at det skal
586 bli flertall mot i Stortinget. Se mer om saken
587 <a href="http://www.holderdeord.no/issues/69-innfore-datalagringsdirektivet">Holder
588 de ord</a>.</p>
589
590 </div>
591 <div class="tags">
592
593
594 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/dld">dld</a>, <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>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>.
595
596
597 </div>
598 </div>
599 <div class="padding"></div>
600
601 <div class="entry">
602 <div class="title">
603 <a href="http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html">ReactOS Windows clone - nice free software</a>
604 </div>
605 <div class="date">
606 1st April 2014
607 </div>
608 <div class="body">
609 <p>Microsoft have announced that Windows XP reaches its end of life
610 2014-04-08, in 7 days. But there are heaps of machines still running
611 Windows XP, and depending on Windows XP to run their applications, and
612 upgrading will be expensive, both when it comes to money and when it
613 comes to the amount of effort needed to migrate from Windows XP to a
614 new operating system. Some obvious options (buy new a Windows
615 machine, buy a MacOSX machine, install Linux on the existing machine)
616 are already well known and covered elsewhere. Most of them involve
617 leaving the user applications installed on Windows XP behind and
618 trying out replacements or updated versions. In this blog post I want
619 to mention one strange bird that allow people to keep the hardware and
620 the existing Windows XP applications and run them on a free software
621 operating system that is Windows XP compatible.</p>
622
623 <p><a href="http://www.reactos.org/">ReactOS</a> is a free software
624 operating system (GNU GPL licensed) working on providing a operating
625 system that is binary compatible with Windows, able to run windows
626 programs directly and to use Windows drivers for hardware directly.
627 The project goal is for Windows user to keep their existing machines,
628 drivers and software, and gain the advantages from user a operating
629 system without usage limitations caused by non-free licensing. It is
630 a Windows clone running directly on the hardware, so quite different
631 from the approach taken by <a href="http://www.winehq.org/">the Wine
632 project</a>, which make it possible to run Windows binaries on
633 Linux.</p>
634
635 <p>The ReactOS project share code with the Wine project, so most
636 shared libraries available on Windows are already implemented already.
637 There is also a software manager like the one we are used to on Linux,
638 allowing the user to install free software applications with a simple
639 click directly from the Internet. Check out the
640 <a href="http://www.reactos.org/screenshots">screen shots on the
641 project web site</a> for an idea what it look like (it looks just like
642 Windows before metro).</p>
643
644 <p>I do not use ReactOS myself, preferring Linux and Unix like
645 operating systems. I've tested it, and it work fine in a virt-manager
646 virtual machine. The browser, minesweeper, notepad etc is working
647 fine as far as I can tell. Unfortunately, my main test application
648 is the software included on a CD with the Lego Mindstorms NXT, which
649 seem to install just fine from CD but fail to leave any binaries on
650 the disk after the installation. So no luck with that test software.
651 No idea why, but hope someone else figure out and fix the problem.
652 I've tried the ReactOS Live ISO on a physical machine, and it seemed
653 to work just fine. If you like Windows and want to keep running your
654 old Windows binaries, check it out by
655 <a href="http://www.reactos.org/download">downloading</a> the
656 installation CD, the live CD or the preinstalled virtual machine
657 image.</p>
658
659 </div>
660 <div class="tags">
661
662
663 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos</a>.
664
665
666 </div>
667 </div>
668 <div class="padding"></div>
669
670 <p style="text-align: right;"><a href="04.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS Feed" width="36" height="14" /></a></p>
671 <div id="sidebar">
672
673
674
675 <h2>Archive</h2>
676 <ul>
677
678 <li>2014
679 <ul>
680
681 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/01/">January (2)</a></li>
682
683 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/02/">February (3)</a></li>
684
685 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/03/">March (8)</a></li>
686
687 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/04/">April (5)</a></li>
688
689 </ul></li>
690
691 <li>2013
692 <ul>
693
694 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
695
696 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (9)</a></li>
697
698 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/03/">March (9)</a></li>
699
700 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/04/">April (6)</a></li>
701
702 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/05/">May (9)</a></li>
703
704 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/06/">June (10)</a></li>
705
706 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/07/">July (7)</a></li>
707
708 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/08/">August (3)</a></li>
709
710 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/09/">September (5)</a></li>
711
712 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/10/">October (7)</a></li>
713
714 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/11/">November (9)</a></li>
715
716 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/12/">December (3)</a></li>
717
718 </ul></li>
719
720 <li>2012
721 <ul>
722
723 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
724
725 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
726
727 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
728
729 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
730
731 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
732
733 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/06/">June (20)</a></li>
734
735 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
736
737 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (6)</a></li>
738
739 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/09/">September (9)</a></li>
740
741 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
742
743 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
744
745 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
746
747 </ul></li>
748
749 <li>2011
750 <ul>
751
752 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
753
754 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
755
756 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
757
758 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
759
760 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
761
762 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
763
764 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
765
766 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
767
768 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
769
770 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
771
772 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
773
774 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
775
776 </ul></li>
777
778 <li>2010
779 <ul>
780
781 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
782
783 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
784
785 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
786
787 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
788
789 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
790
791 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
792
793 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
794
795 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
796
797 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
798
799 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
800
801 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
802
803 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
804
805 </ul></li>
806
807 <li>2009
808 <ul>
809
810 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
811
812 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
813
814 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
815
816 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
817
818 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
819
820 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
821
822 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
823
824 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
825
826 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
827
828 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
829
830 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
831
832 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
833
834 </ul></li>
835
836 <li>2008
837 <ul>
838
839 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
840
841 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
842
843 </ul></li>
844
845 </ul>
846
847
848
849 <h2>Tags</h2>
850 <ul>
851
852 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
853
854 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
855
856 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
857
858 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
859
860 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (8)</a></li>
861
862 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (14)</a></li>
863
864 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
865
866 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
867
868 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (97)</a></li>
869
870 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (146)</a></li>
871
872 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
873
874 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld">dld (15)</a></li>
875
876 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook (10)</a></li>
877
878 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
879
880 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (244)</a></li>
881
882 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (21)</a></li>
883
884 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
885
886 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (12)</a></li>
887
888 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (8)</a></li>
889
890 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (11)</a></li>
891
892 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (40)</a></li>
893
894 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (7)</a></li>
895
896 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (18)</a></li>
897
898 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (9)</a></li>
899
900 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (7)</a></li>
901
902 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
903
904 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
905
906 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (26)</a></li>
907
908 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (245)</a></li>
909
910 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (162)</a></li>
911
912 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (11)</a></li>
913
914 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
915
916 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (46)</a></li>
917
918 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (72)</a></li>
919
920 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
921
922 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos (1)</a></li>
923
924 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
925
926 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (2)</a></li>
927
928 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (9)</a></li>
929
930 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
931
932 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (4)</a></li>
933
934 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (2)</a></li>
935
936 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (40)</a></li>
937
938 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
939
940 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (4)</a></li>
941
942 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (44)</a></li>
943
944 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (3)</a></li>
945
946 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (9)</a></li>
947
948 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (25)</a></li>
949
950 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (1)</a></li>
951
952 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (8)</a></li>
953
954 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (40)</a></li>
955
956 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>
957
958 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (30)</a></li>
959
960 </ul>
961
962
963 </div>
964 <p style="text-align: right">
965 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.6</a>
966 </p>
967
968 </body>
969 </html>