1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from April
2014</title>
5 <description>Entries from April
2014</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Install hardware dependent packages using tasksel (Isenkram
0.7)
</title>
11 <link>http://people.skolelinux.org/pere/blog/Install_hardware_dependent_packages_using_tasksel__Isenkram_0_7_.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Install_hardware_dependent_packages_using_tasksel__Isenkram_0_7_.html
</guid>
13 <pubDate>Wed,
23 Apr
2014 14:
50:
00 +
0200</pubDate>
14 <description><p
>It would be nice if it was easier in Debian to get all the hardware
15 related packages relevant for the computer installed automatically.
16 So I implemented one, using
17 <a href=
"http://packages.qa.debian.org/isenkram
">my Isenkram
18 package
</a
>. To use it, install the tasksel and isenkram packages and
19 run tasksel as user root. You should be presented with a new option,
20 "Hardware specific packages (autodetected by isenkram)
". When you
21 select it, tasksel will install the packages isenkram claim is fit for
22 the current hardware, hot pluggable or not.
<p
>
24 <p
>The implementation is in two files, one is the tasksel menu entry
25 description, and the other is the script used to extract the list of
26 packages to install. The first part is in
27 <tt
>/usr/share/tasksel/descs/isenkram.desc
</tt
> and look like
30 <p
><blockquote
><pre
>
33 Description: Hardware specific packages (autodetected by isenkram)
34 Based on the detected hardware various hardware specific packages are
36 Test-new-install: mark show
38 Packages: for-current-hardware
39 </pre
></blockquote
></p
>
41 <p
>The second part is in
42 <tt
>/usr/lib/tasksel/packages/for-current-hardware
</tt
> and look like
45 <p
><blockquote
><pre
>
50 isenkram-autoinstall-firmware -l
52 </pre
></blockquote
></p
>
54 <p
>All in all, a very short and simple implementation making it
55 trivial to install the hardware dependent package we all may want to
56 have installed on our machines. I
've not been able to find a way to
57 get tasksel to tell you exactly which packages it plan to install
58 before doing the installation. So if you are curious or careful,
59 check the output from the isenkram-* command line tools first.
</p
>
61 <p
>The information about which packages are handling which hardware is
62 fetched either from the isenkram package itself in
63 /usr/share/isenkram/, from git.debian.org or from the APT package
64 database (using the Modaliases header). The APT package database
65 parsing have caused a nasty resource leak in the isenkram daemon (bugs
66 <a href=
"http://bugs.debian.org/
719837">#
719837</a
> and
67 <a href=
"http://bugs.debian.org/
730704">#
730704</a
>). The cause is in
68 the python-apt code (bug
69 <a href=
"http://bugs.debian.org/
745487">#
745487</a
>), but using a
70 workaround I was able to get rid of the file descriptor leak and
71 reduce the memory leak from ~
30 MiB per hardware detection down to
72 around
2 MiB per hardware detection. It should make the desktop
73 daemon a lot more useful. The fix is in version
0.7 uploaded to
74 unstable today.
</p
>
76 <p
>I believe the current way of mapping hardware to packages in
77 Isenkram is is a good draft, but in the future I expect isenkram to
78 use the AppStream data source for this. A proposal for getting proper
79 AppStream support into Debian is floating around as
80 <a href=
"https://wiki.debian.org/DEP-
11">DEP-
11</a
>, and
81 <a href=
"https://wiki.debian.org/SummerOfCode2014/Projects#SummerOfCode2014.2FProjects
.2FAppStreamDEP11Implementation.AppStream
.2FDEP-
11_for_the_Debian_Archive
">GSoC
82 project
</a
> will take place this summer to improve the situation. I
83 look forward to seeing the result, and welcome patches for isenkram to
84 start using the information when it is ready.
</p
>
86 <p
>If you want your package to map to some specific hardware, either
87 add a
"Xb-Modaliases
" header to your control file like I did in
88 <a href=
"http://packages.qa.debian.org/pymissile
">the pymissile
89 package
</a
> or submit a bug report with the details to the isenkram
91 <a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram/
">all my
92 blog posts tagged isenkram
</a
> for details on the notation. I expect
93 the information will be migrated to AppStream eventually, but for the
94 moment I got no better place to store it.
</p
>
99 <title>FreedomBox milestone - all packages now in Debian Sid
</title>
100 <link>http://people.skolelinux.org/pere/blog/FreedomBox_milestone___all_packages_now_in_Debian_Sid.html
</link>
101 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/FreedomBox_milestone___all_packages_now_in_Debian_Sid.html
</guid>
102 <pubDate>Tue,
15 Apr
2014 22:
10:
00 +
0200</pubDate>
103 <description><p
>The
<a href=
"https://wiki.debian.org/FreedomBox
">Freedombox
104 project
</a
> is working on providing the software and hardware to make
105 it easy for non-technical people to host their data and communication
106 at home, and being able to communicate with their friends and family
107 encrypted and away from prying eyes. It is still going strong, and
108 today a major mile stone was reached.
</p
>
110 <p
>Today, the last of the packages currently used by the project to
111 created the system images were accepted into Debian Unstable. It was
112 the freedombox-setup package, which is used to configure the images
113 during build and on the first boot. Now all one need to get going is
114 the build code from the freedom-maker git repository and packages from
115 Debian. And once the freedombox-setup package enter testing, we can
116 build everything directly from Debian. :)
</p
>
118 <p
>Some key packages used by Freedombox are
119 <a href=
"http://packages.qa.debian.org/freedombox-setup
">freedombox-setup
</a
>,
120 <a href=
"http://packages.qa.debian.org/plinth
">plinth
</a
>,
121 <a href=
"http://packages.qa.debian.org/pagekite
">pagekite
</a
>,
122 <a href=
"http://packages.qa.debian.org/tor
">tor
</a
>,
123 <a href=
"http://packages.qa.debian.org/privoxy
">privoxy
</a
>,
124 <a href=
"http://packages.qa.debian.org/owncloud
">owncloud
</a
> and
125 <a href=
"http://packages.qa.debian.org/dnsmasq
">dnsmasq
</a
>. There
126 are plans to integrate more packages into the setup. User
127 documentation is maintained on the Debian wiki. Please
128 <a href=
"https://wiki.debian.org/FreedomBox/Manual/Jessie
">check out
129 the manual
</a
> and help us improve it.
</p
>
131 <p
>To test for yourself and create boot images with the FreedomBox
132 setup, run this on a Debian machine using a user with sudo rights to
133 become root:
</p
>
136 sudo apt-get install git vmdebootstrap mercurial python-docutils \
137 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
139 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
141 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
142 </pre
></p
>
144 <p
>Root access is needed to run debootstrap and mount loopback
145 devices. See the README in the freedom-maker git repo for more
146 details on the build. If you do not want all three images, trim the
147 make line. Note that the virtualbox-image target is not really
148 virtualbox specific. It create a x86 image usable in kvm, qemu,
149 vmware and any other x86 virtual machine environment. You might need
150 the version of vmdebootstrap in Jessie to get the build working, as it
151 include fixes for a race condition with kpartx.
</p
>
153 <p
>If you instead want to install using a Debian CD and the preseed
154 method, boot a Debian Wheezy ISO and use this boot argument to load
155 the preseed values:
</p
>
158 url=
<a href=
"http://www.reinholdtsen.name/freedombox/preseed-jessie.dat
">http://www.reinholdtsen.name/freedombox/preseed-jessie.dat
</a
>
159 </pre
></p
>
161 <p
>I have not tested it myself the last few weeks, so I do not know if
162 it still work.
</p
>
164 <p
>If you wonder how to help, one task you could look at is using
165 systemd as the boot system. It will become the default for Linux in
166 Jessie, so we need to make sure it is usable on the Freedombox. I did
167 a simple test a few weeks ago, and noticed dnsmasq failed to start
168 during boot when using systemd. I suspect there are other problems
169 too. :) To detect problems, there is a test suite included, which can
170 be run from the plinth web interface.
</p
>
172 <p
>Give it a go and let us know how it goes on the mailing list, and help
173 us get the new release published. :) Please join us on
174 <a href=
"irc://irc.debian.org:
6667/%
23freedombox
">IRC (#freedombox on
175 irc.debian.org)
</a
> and
176 <a href=
"http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss
">the
177 mailing list
</a
> if you want to help make this vision come true.
</p
>
182 <title>Språkkoder for POSIX locale i Norge
</title>
183 <link>http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html
</link>
184 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html
</guid>
185 <pubDate>Fri,
11 Apr
2014 21:
30:
00 +
0200</pubDate>
186 <description><p
>For
12 år siden, skrev jeg et lite notat om
187 <a href=
"http://i18n.skolelinux.no/localekoder.txt
">bruk av språkkoder
188 i Norge
</a
>. Jeg ble nettopp minnet på dette da jeg fikk spørsmål om
189 notatet fortsatt var aktuelt, og tenkte det var greit å repetere hva
190 som fortsatt gjelder. Det jeg skrev da er fortsatt like aktuelt.
</p
>
192 <p
>Når en velger språk i programmer på unix, så velger en blant mange
193 språkkoder. For språk i Norge anbefales følgende språkkoder (anbefalt
194 locale i parantes):
</p
>
197 <dt
>nb (nb_NO)
</dt
><dd
>Bokmål i Norge
</dd
>
198 <dt
>nn (nn_NO)
</dt
><dd
>Nynorsk i Norge
</dd
>
199 <dt
>se (se_NO)
</dt
><dd
>Nordsamisk i Norge
</dd
>
200 </dl
></p
>
202 <p
>Alle programmer som bruker andre koder bør endres.
</p
>
204 <p
>Språkkoden bør brukes når .po-filer navngis og installeres. Dette
205 er ikke det samme som locale-koden. For Norsk Bokmål, så bør filene
206 være navngitt nb.po, mens locale (LANG) bør være nb_NO.
</p
>
208 <p
>Hvis vi ikke får standardisert de kodene i alle programmene med
209 norske oversettelser, så er det umulig å gi LANG-variablen ett innhold
210 som fungerer for alle programmer.
</p
>
212 <p
>Språkkodene er de offisielle kodene fra ISO
639, og bruken av dem i
213 forbindelse med POSIX localer er standardisert i RFC
3066 og ISO
214 15897. Denne anbefalingen er i tråd med de angitte standardene.
</p
>
216 <p
>Følgende koder er eller har vært i bruk som locale-verdier for
217 "norske
" språk. Disse bør unngås, og erstattes når de oppdages:
</p
>
219 <p
><table
>
220 <tr
><td
>norwegian
</td
><td
>-
> nb_NO
</td
></tr
>
221 <tr
><td
>bokmål
</td
><td
>-
> nb_NO
</td
></tr
>
222 <tr
><td
>bokmal
</td
><td
>-
> nb_NO
</td
></tr
>
223 <tr
><td
>nynorsk
</td
><td
>-
> nn_NO
</td
></tr
>
224 <tr
><td
>no
</td
><td
>-
> nb_NO
</td
></tr
>
225 <tr
><td
>no_NO
</td
><td
>-
> nb_NO
</td
></tr
>
226 <tr
><td
>no_NY
</td
><td
>-
> nn_NO
</td
></tr
>
227 <tr
><td
>sme_NO
</td
><td
>-
> se_NO
</td
></tr
>
228 </table
></p
>
230 <p
>Merk at når det gjelder de samiske språkene, at se_NO i praksis
231 henviser til nordsamisk i Norge, mens f.eks. smj_NO henviser til
232 lulesamisk. Dette notatet er dog ikke ment å gi råd rundt samiske
234 <a href=
"http://www.divvun.no/
">Divvun-prosjektet
</a
> en bedre
237 <p
><strong
>Referanser:
</strong
></p
>
241 <li
><a href=
"http://www.rfc-base.org/rfc-
3066.html
">RFC
3066 - Tags
242 for the Identification of Languages
</a
> (Erstatter RFC
1766)
</li
>
244 <li
><a href=
"http://www.loc.gov/standards/iso639-
2/langcodes.html
">ISO
245 639</a
> - Codes for the Representation of Names of Languages
</li
>
247 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n897-
14652w25.pdf
">ISO
248 DTR
14652</a
> - locale-standard Specification method for cultural
249 conventions
</li
>
251 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n610.pdf
">ISO
252 15897: Registration procedures for cultural elements (cultural
254 <a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n849-
15897wd6.pdf
">(nytt
255 draft)
</a
></li
>
257 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/
">ISO/IEC
258 JTC1/SC22/WG20
</a
> - Gruppen for i18n-standardisering i ISO
</li
>
265 <title>S3QL, a locally mounted cloud file system - nice free software
</title>
266 <link>http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html
</link>
267 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html
</guid>
268 <pubDate>Wed,
9 Apr
2014 11:
30:
00 +
0200</pubDate>
269 <description><p
>For a while now, I have been looking for a sensible offsite backup
270 solution for use at home. My requirements are simple, it must be
271 cheap and locally encrypted (in other words, I keep the encryption
272 keys, the storage provider do not have access to my private files).
273 One idea me and my friends had many years ago, before the cloud
274 storage providers showed up, was to use Google mail as storage,
275 writing a Linux block device storing blocks as emails in the mail
276 service provided by Google, and thus get heaps of free space. On top
277 of this one can add encryption, RAID and volume management to have
278 lots of (fairly slow, I admit that) cheap and encrypted storage. But
279 I never found time to implement such system. But the last few weeks I
280 have looked at a system called
281 <a href=
"https://bitbucket.org/nikratio/s3ql/
">S3QL
</a
>, a locally
282 mounted network backed file system with the features I need.
</p
>
284 <p
>S3QL is a fuse file system with a local cache and cloud storage,
285 handling several different storage providers, any with Amazon S3,
286 Google Drive or OpenStack API. There are heaps of such storage
287 providers. S3QL can also use a local directory as storage, which
288 combined with sshfs allow for file storage on any ssh server. S3QL
289 include support for encryption, compression, de-duplication, snapshots
290 and immutable file systems, allowing me to mount the remote storage as
291 a local mount point, look at and use the files as if they were local,
292 while the content is stored in the cloud as well. This allow me to
293 have a backup that should survive fire. The file system can not be
294 shared between several machines at the same time, as only one can
295 mount it at the time, but any machine with the encryption key and
296 access to the storage service can mount it if it is unmounted.
</p
>
298 <p
>It is simple to use. I
'm using it on Debian Wheezy, where the
299 package is included already. So to get started, run
<tt
>apt-get
300 install s3ql
</tt
>. Next, pick a storage provider. I ended up picking
301 Greenqloud, after reading their nice recipe on
302 <a href=
"https://greenqloud.zendesk.com/entries/
44611757-How-To-Use-S3QL-to-mount-a-StorageQloud-bucket-on-Debian-Wheezy
">how
303 to use S3QL with their Amazon S3 service
</a
>, because I trust the laws
304 in Iceland more than those in USA when it come to keeping my personal
305 data safe and private, and thus would rather spend money on a company
306 in Iceland. Another nice recipe is available from the article
307 <a href=
"http://www.admin-magazine.com/HPC/Articles/HPC-Cloud-Storage
">S3QL
308 Filesystem for HPC Storage
</a
> by Jeff Layton in the HPC section of
309 Admin magazine. When the provider is picked, figure out how to get
310 the API key needed to connect to the storage API. With Greencloud,
311 the key did not show up until I had added payment details to my
314 <p
>Armed with the API access details, it is time to create the file
315 system. First, create a new bucket in the cloud. This bucket is the
316 file system storage area. I picked a bucket name reflecting the
317 machine that was going to store data there, but any name will do.
318 I
'll refer to it as
<tt
>bucket-name
</tt
> below. In addition, one need
319 the API login and password, and a locally created password. Store it
320 all in ~root/.s3ql/authinfo2 like this:
322 <p
><blockquote
><pre
>
324 storage-url: s3c://s.greenqloud.com:
443/bucket-name
325 backend-login: API-login
326 backend-password: API-password
327 fs-passphrase: local-password
328 </pre
></blockquote
></p
>
330 <p
>I create my local passphrase using
<tt
>pwget
50</tt
> or similar,
331 but any sensible way to create a fairly random password should do it.
332 Armed with these details, it is now time to run mkfs, entering the API
333 details and password to create it:
</p
>
335 <p
><blockquote
><pre
>
336 # mkdir -m
700 /var/lib/s3ql-cache
337 # mkfs.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
338 --ssl s3c://s.greenqloud.com:
443/bucket-name
340 Enter backend password:
341 Before using S3QL, make sure to read the user
's guide, especially
342 the
'Important Rules to Avoid Loosing Data
' section.
343 Enter encryption password:
344 Confirm encryption password:
345 Generating random encryption key...
346 Creating metadata tables...
356 Compressing and uploading metadata...
357 Wrote
0.00 MB of compressed metadata.
358 #
</pre
></blockquote
></p
>
360 <p
>The next step is mounting the file system to make the storage available.
362 <p
><blockquote
><pre
>
363 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
364 --ssl --allow-root s3c://s.greenqloud.com:
443/bucket-name /s3ql
365 Using
4 upload threads.
366 Downloading and decompressing metadata...
376 Mounting filesystem...
378 Filesystem Size Used Avail Use% Mounted on
379 s3c://s.greenqloud.com:
443/bucket-name
1.0T
0 1.0T
0% /s3ql
381 </pre
></blockquote
></p
>
383 <p
>The file system is now ready for use. I use rsync to store my
384 backups in it, and as the metadata used by rsync is downloaded at
385 mount time, no network traffic (and storage cost) is triggered by
386 running rsync. To unmount, one should not use the normal umount
387 command, as this will not flush the cache to the cloud storage, but
388 instead running the umount.s3ql command like this:
390 <p
><blockquote
><pre
>
393 </pre
></blockquote
></p
>
395 <p
>There is a fsck command available to check the file system and
396 correct any problems detected. This can be used if the local server
397 crashes while the file system is mounted, to reset the
"already
398 mounted
" flag. This is what it look like when processing a working
399 file system:
</p
>
401 <p
><blockquote
><pre
>
402 # fsck.s3ql --force --ssl s3c://s.greenqloud.com:
443/bucket-name
403 Using cached metadata.
404 File system seems clean, checking anyway.
405 Checking DB integrity...
406 Creating temporary extra indices...
407 Checking lost+found...
408 Checking cached objects...
409 Checking names (refcounts)...
410 Checking contents (names)...
411 Checking contents (inodes)...
412 Checking contents (parent inodes)...
413 Checking objects (reference counts)...
414 Checking objects (backend)...
415 ..processed
5000 objects so far..
416 ..processed
10000 objects so far..
417 ..processed
15000 objects so far..
418 Checking objects (sizes)...
419 Checking blocks (referenced objects)...
420 Checking blocks (refcounts)...
421 Checking inode-block mapping (blocks)...
422 Checking inode-block mapping (inodes)...
423 Checking inodes (refcounts)...
424 Checking inodes (sizes)...
425 Checking extended attributes (names)...
426 Checking extended attributes (inodes)...
427 Checking symlinks (inodes)...
428 Checking directory reachability...
429 Checking unix conventions...
430 Checking referential integrity...
431 Dropping temporary indices...
432 Backing up old metadata...
442 Compressing and uploading metadata...
443 Wrote
0.89 MB of compressed metadata.
445 </pre
></blockquote
></p
>
447 <p
>Thanks to the cache, working on files that fit in the cache is very
448 quick, about the same speed as local file access. Uploading large
449 amount of data is to me limited by the bandwidth out of and into my
450 house. Uploading
685 MiB with a
100 MiB cache gave me
305 kiB/s,
451 which is very close to my upload speed, and downloading the same
452 Debian installation ISO gave me
610 kiB/s, close to my download speed.
453 Both were measured using
<tt
>dd
</tt
>. So for me, the bottleneck is my
454 network, not the file system code. I do not know what a good cache
455 size would be, but suspect that the cache should e larger than your
456 working set.
</p
>
458 <p
>I mentioned that only one machine can mount the file system at the
459 time. If another machine try, it is told that the file system is
462 <p
><blockquote
><pre
>
463 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
464 --ssl --allow-root s3c://s.greenqloud.com:
443/bucket-name /s3ql
465 Using
8 upload threads.
466 Backend reports that fs is still mounted elsewhere, aborting.
468 </pre
></blockquote
></p
>
470 <p
>The file content is uploaded when the cache is full, while the
471 metadata is uploaded once every
24 hour by default. To ensure the
472 file system content is flushed to the cloud, one can either umount the
473 file system, or ask S3QL to flush the cache and metadata using
476 <p
><blockquote
><pre
>
477 # s3qlctrl upload-meta /s3ql
478 # s3qlctrl flushcache /s3ql
480 </pre
></blockquote
></p
>
482 <p
>If you are curious about how much space your data uses in the
483 cloud, and how much compression and deduplication cut down on the
484 storage usage, you can use s3qlstat on the mounted file system to get
487 <p
><blockquote
><pre
>
489 Directory entries:
9141
492 Total data size:
22049.38 MB
493 After de-duplication:
21955.46 MB (
99.57% of total)
494 After compression:
21877.28 MB (
99.22% of total,
99.64% of de-duplicated)
495 Database size:
2.39 MB (uncompressed)
496 (some values do not take into account not-yet-uploaded dirty blocks in cache)
498 </pre
></blockquote
></p
>
500 <p
>I mentioned earlier that there are several possible suppliers of
501 storage. I did not try to locate them all, but am aware of at least
502 <a href=
"https://www.greenqloud.com/
">Greenqloud
</a
>,
503 <a href=
"http://drive.google.com/
">Google Drive
</a
>,
504 <a href=
"http://aws.amazon.com/s3/
">Amazon S3 web serivces
</a
>,
505 <a href=
"http://www.rackspace.com/
">Rackspace
</a
> and
506 <a href=
"http://crowncloud.net/
">Crowncloud
</A
>. The latter even
507 accept payment in Bitcoin. Pick one that suit your need. Some of
508 them provide several GiB of free storage, but the prize models are
509 quite different and you will have to figure out what suits you
512 <p
>While researching this blog post, I had a look at research papers
513 and posters discussing the S3QL file system. There are several, which
514 told me that the file system is getting a critical check by the
515 science community and increased my confidence in using it. One nice
517 "<a href=
"http://www.lanl.gov/orgs/adtsc/publications/science_highlights_2013/docs/pg68_69.pdf
">An
518 Innovative Parallel Cloud Storage System using OpenStack’s SwiftObject
519 Store and Transformative Parallel I/O Approach
</a
>" by Hsing-Bung
520 Chen, Benjamin McClelland, David Sherrill, Alfred Torrez, Parks Fields
521 and Pamela Smith. Please have a look.
</p
>
523 <p
>Given my problems with different file systems earlier, I decided to
524 check out the mounted S3QL file system to see if it would be usable as
525 a home directory (in other word, that it provided POSIX semantics when
526 it come to locking and umask handling etc). Running
527 <a href=
"http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html
">my
528 test code to check file system semantics
</a
>, I was happy to discover that
529 no error was found. So the file system can be used for home
530 directories, if one chooses to do so.
</p
>
532 <p
>If you do not want a locally file system, and want something that
533 work without the Linux fuse file system, I would like to mention the
534 <a href=
"http://www.tarsnap.com/
">Tarsnap service
</a
>, which also
535 provide locally encrypted backup using a command line client. It have
536 a nicer access control system, where one can split out read and write
537 access, allowing some systems to write to the backup and others to
538 only read from it.
</p
>
540 <p
>As usual, if you use Bitcoin and want to show your support of my
541 activities, please send Bitcoin donations to my address
542 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
&label=PetterReinholdtsenBlog
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>
547 <title>EU-domstolen bekreftet i dag at datalagringsdirektivet er ulovlig
</title>
548 <link>http://people.skolelinux.org/pere/blog/EU_domstolen_bekreftet_i_dag_at_datalagringsdirektivet_er_ulovlig.html
</link>
549 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/EU_domstolen_bekreftet_i_dag_at_datalagringsdirektivet_er_ulovlig.html
</guid>
550 <pubDate>Tue,
8 Apr
2014 11:
30:
00 +
0200</pubDate>
551 <description><p
>I dag kom endelig avgjørelsen fra EU-domstolen om
552 datalagringsdirektivet, som ikke overraskende ble dømt ulovlig og i
553 strid med borgernes grunnleggende rettigheter. Hvis du lurer på hva
554 datalagringsdirektivet er for noe, så er det
555 <a href=
"http://tv.nrk.no/program/koid75005313/tema-dine-digitale-spor-datalagringsdirektivet
">en
556 flott dokumentar tilgjengelig hos NRK
</a
> som jeg tidligere
557 <a href=
"http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html
">har
558 anbefalt
</a
> alle å se.
</p
>
560 <p
>Her er et liten knippe nyhetsoppslag om saken, og jeg regner med at
561 det kommer flere ut over dagen. Flere kan finnes
562 <a href=
"http://www.mylder.no/?drill=datalagringsdirektivet
&intern=
1">via
563 mylder
</a
>.
</p
>
567 <li
><a href=
"http://e24.no/digital/eu-domstolen-datalagringsdirektivet-er-ugyldig/
22879592">EU-domstolen:
568 Datalagringsdirektivet er ugyldig
</a
> - e24.no
2014-
04-
08
570 <li
><a href=
"http://www.aftenposten.no/nyheter/iriks/EU-domstolen-Datalagringsdirektivet-er-ulovlig-
7529032.html
">EU-domstolen:
571 Datalagringsdirektivet er ulovlig
</a
> - aftenposten.no
2014-
04-
08
573 <li
><a href=
"http://www.aftenposten.no/nyheter/iriks/politikk/Krever-DLD-stopp-i-Norge-
7530086.html
">Krever
574 DLD-stopp i Norge
</a
> - aftenposten.no
2014-
04-
08
576 <li
><a href=
"http://www.p4.no/story.aspx?id=
566431">Apenes: - En
577 gledens dag
</a
> - p4.no
2014-
04-
08
579 <li
><a href=
"http://www.nrk.no/norge/_-datalagringsdirektivet-er-ugyldig-
1.11655929">EU-domstolen:
580 – Datalagringsdirektivet er ugyldig
</a
> - nrk.no
2014-
04-
08</li
>
582 <li
><a href=
"http://www.vg.no/nyheter/utenriks/data-og-nett/eu-domstolen-datalagringsdirektivet-er-ugyldig/a/
10130280/
">EU-domstolen:
583 Datalagringsdirektivet er ugyldig
</a
> - vg.no
2014-
04-
08</li
>
585 <li
><a href=
"http://www.dagbladet.no/
2014/
04/
08/nyheter/innenriks/datalagringsdirektivet/personvern/
32711646/
">-
586 Vi bør skrote hele datalagringsdirektivet
</a
> - dagbladet.no
587 2014-
04-
08</li
>
589 <li
><a href=
"http://www.digi.no/
928137/eu-domstolen-dld-er-ugyldig
">EU-domstolen:
590 DLD er ugyldig
</a
> - digi.no
2014-
04-
08</li
>
592 <li
><a href=
"http://www.irishtimes.com/business/sectors/technology/european-court-declares-data-retention-directive-invalid-
1.1754150">European
593 court declares data retention directive invalid
</a
> - irishtimes.com
594 2014-
04-
08</li
>
596 <li
><a href=
"http://www.reuters.com/article/
2014/
04/
08/us-eu-data-ruling-idUSBREA370F020140408?feedType=RSS
">EU
597 court rules against requirement to keep data of telecom users
</a
> -
598 reuters.com
2014-
04-
08</li
>
603 <p
>Jeg synes det er veldig fint at nok en stemme slår fast at
604 totalitær overvåkning av befolkningen er uakseptabelt, men det er
605 fortsatt like viktig å beskytte privatsfæren som før, da de
606 teknologiske mulighetene fortsatt finnes og utnyttes, og jeg tror
607 innsats i prosjekter som
608 <a href=
"https://wiki.debian.org/FreedomBox
">Freedombox
</a
> og
609 <a href=
"http://www.dugnadsnett.no/
">Dugnadsnett
</a
> er viktigere enn
612 <p
><strong
>Update
2014-
04-
08 12:
10</strong
>: Kronerullingen for å
613 stoppe datalagringsdirektivet i Norge gjøres hos foreningen
614 <a href=
"http://www.digitaltpersonvern.no/
">Digitalt Personvern
</a
>,
615 som har samlet inn
843 215,- så langt men trenger nok mye mer hvis
617 ikke Høyre og Arbeiderpartiet bytter mening i saken. Det var
618 <a href=
"http://www.holderdeord.no/parliament-issues/
48650">kun
619 partinene Høyre og Arbeiderpartiet
</a
> som stemte for
620 Datalagringsdirektivet, og en av dem må bytte mening for at det skal
621 bli flertall mot i Stortinget. Se mer om saken
622 <a href=
"http://www.holderdeord.no/issues/
69-innfore-datalagringsdirektivet
">Holder
623 de ord
</a
>.
</p
>
628 <title>ReactOS Windows clone - nice free software
</title>
629 <link>http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html
</link>
630 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html
</guid>
631 <pubDate>Tue,
1 Apr
2014 12:
10:
00 +
0200</pubDate>
632 <description><p
>Microsoft have announced that Windows XP reaches its end of life
633 2014-
04-
08, in
7 days. But there are heaps of machines still running
634 Windows XP, and depending on Windows XP to run their applications, and
635 upgrading will be expensive, both when it comes to money and when it
636 comes to the amount of effort needed to migrate from Windows XP to a
637 new operating system. Some obvious options (buy new a Windows
638 machine, buy a MacOSX machine, install Linux on the existing machine)
639 are already well known and covered elsewhere. Most of them involve
640 leaving the user applications installed on Windows XP behind and
641 trying out replacements or updated versions. In this blog post I want
642 to mention one strange bird that allow people to keep the hardware and
643 the existing Windows XP applications and run them on a free software
644 operating system that is Windows XP compatible.
</p
>
646 <p
><a href=
"http://www.reactos.org/
">ReactOS
</a
> is a free software
647 operating system (GNU GPL licensed) working on providing a operating
648 system that is binary compatible with Windows, able to run windows
649 programs directly and to use Windows drivers for hardware directly.
650 The project goal is for Windows user to keep their existing machines,
651 drivers and software, and gain the advantages from user a operating
652 system without usage limitations caused by non-free licensing. It is
653 a Windows clone running directly on the hardware, so quite different
654 from the approach taken by
<a href=
"http://www.winehq.org/
">the Wine
655 project
</a
>, which make it possible to run Windows binaries on
658 <p
>The ReactOS project share code with the Wine project, so most
659 shared libraries available on Windows are already implemented already.
660 There is also a software manager like the one we are used to on Linux,
661 allowing the user to install free software applications with a simple
662 click directly from the Internet. Check out the
663 <a href=
"http://www.reactos.org/screenshots
">screen shots on the
664 project web site
</a
> for an idea what it look like (it looks just like
665 Windows before metro).
</p
>
667 <p
>I do not use ReactOS myself, preferring Linux and Unix like
668 operating systems. I
've tested it, and it work fine in a virt-manager
669 virtual machine. The browser, minesweeper, notepad etc is working
670 fine as far as I can tell. Unfortunately, my main test application
671 is the software included on a CD with the Lego Mindstorms NXT, which
672 seem to install just fine from CD but fail to leave any binaries on
673 the disk after the installation. So no luck with that test software.
674 No idea why, but hope someone else figure out and fix the problem.
675 I
've tried the ReactOS Live ISO on a physical machine, and it seemed
676 to work just fine. If you like Windows and want to keep running your
677 old Windows binaries, check it out by
678 <a href=
"http://www.reactos.org/download
">downloading
</a
> the
679 installation CD, the live CD or the preinstalled virtual machine