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 February
2014</title>
5 <description>Entries from February
2014</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Lenker for
2014-
02-
28</title>
11 <link>http://people.skolelinux.org/pere/blog/Lenker_for_2014_02_28.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenker_for_2014_02_28.html
</guid>
13 <pubDate>Fri,
28 Feb
2014 13:
30:
00 +
0100</pubDate>
14 <description><p
>Her er noen lenker til tekster jeg har satt pris på å lese de siste
15 månedene. Det er mye om varsleren Edward Snowden, som burde få all
16 hjelp, støtte og beskyttelse Norge kan stille opp med for å ha satt
17 totalitær overvåkning på sakskartet, men også endel annet
18 tankevekkende og interessant.
</p
>
23 <a href=
"http://www.dagbladet.no/
2013/
12/
21/nyheter/thomas_drake/nsa/overvakning/snowden/
30925886/
">-
24 NSA tenker som Stasi
</a
> - Dagbladet.no
</li
>
26 <li
>2013-
12-
19 <a href=
"http://www.dagensit.no/article2732734.ece
">-
27 Staten har ikke rett til å vite alt om deg
</a
> - DN.no
</li
>
30 <a href=
"http://www.dagbladet.no/
2013/
12/
21/nyheter/krig_og_konflikter/politikk/utenriks/
30961126/
">Nye
31 mål for NSAs spionasje avslørt
</a
> - Dagbladet.no
</li
>
34 <a href=
"http://www.dagbladet.no/
2013/
12/
19/nyheter/nsa/usa/politikk/barack_obama/
30918684/
">«NSA
35 bør fjernes fra sin makt til å samle inn metadata fra amerikanske
36 telefonsamtaler»
</a
> - Dagbladet.no
</li
>
39 <a href=
"http://www.dagbladet.no/
2013/
12/
18/kultur/meninger/hovedkronikk/debatt/snowden/
30901089/
">Etterretning,
40 overvåking, frihet og sikkerhet
</a
> - Dagbladet.no
</li
>
43 <a href=
"http://www.nrk.no/verden/snowden-vil-ha-asyl-i-brasil-
1.11423444">Snowden
44 angriper USA i åpent brev
</a
> - nrk.no
</li
>
47 <a href=
"http://www.digi.no/
925820/rettslig-nederlag-for-etterretning
">Rettslig
48 nederlag for etterretning
</a
> - digi.no
</li
>
51 <a href=
"http://www.dagbladet.no/
2013/
12/
21/kultur/meninger/hovedkommentar/kommentar/etterretning/
30963284/
">Truende
52 nedkjøling
</a
> - dagbladet.no
</li
>
55 <a href=
"http://www.aftenposten.no/viten/Matematikk-og-forstaelse-
7411849.html
">Matematikk
56 og forståelse
</a
> - aftenposten.no
</li
>
59 <a href=
"http://www.nrk.no/viten/ny-studie_sovn-reinser-hjernen-var-
1.11306106">Vi
60 søv for å reinse hjernen vår, ifølgje ny studie
</a
> - nrk.no
</li
>
63 <a href=
"http://www.nrk.no/buskerud/julebaksten-i-vasken-
1.11410033">Rotterace
64 i kloakken
</a
> - nrk.no
</li
>
67 <a href=
"http://www.aftenposten.no/viten/Apne-brev-og-frie-tanker-
7413734.html
">Åpne
68 brev og frie tanker
</a
> - aftenposten.no
</li
>
71 <a href=
"http://www.aftenposten.no/viten/Stopp-kunnskapsapartheidet-
7428229.html
">Stopp dagens kunnskapsapartheid!
</a
> - aftenposten.no
</li
>
74 <a href=
"http://www.aftenposten.no/nyheter/uriks/EU-rapport-Britisk-og-amerikansk-overvaking-ser-ut-til-a-vare-ulovlig-
7428933.html
">EU-rapport:
75 Britisk og amerikansk overvåking ser ut til å være ulovlig
</a
> -
76 aftenposten.no
</li
>
78 <li
>2013-
10-
23 Professor Jan Arild Audestad
79 <a href=
"http://www.digi.no/
924008/advarer-mot-konspirasjonsteori
">Advarer
80 mot konspirasjonsteori
</a
> i digi.no og sier han ikke tror NSA kan
81 avlytte mobiltelefoner, mens han noen måneder senere forteller:
</li
>
84 <a href=
"http://www.aftenposten.no/nyheter/iriks/--Vi-ble-presset-til-a-svekke-mobilsikkerheten-pa-
80-tallet-
7410467.html
">-
85 Vi ble presset til å svekke mobilsikkerheten på
80-tallet
</a
> -
86 aftenposten.no
</li
>
89 <a href=
"http://tv.nrk.no/program/koid20005814/et-moete-med-edward-snowden
">Et
90 møte med Edward Snowden
</a
> - intervju sendt av nrk, tilgjengelig til
94 <a href=
"http://politiken.dk/debat/profiler/jessteinpedersen/ECE2210356/litteraturredaktoeren-helle-thornings-tavshed-om-snowden-er-en-skandale/
">Litteraturredaktøren:
95 Helle Thornings tavshed om Snowden er en skandale
</a
> -
96 politiken.dk
</li
>
99 <a href=
"http://www.aftenposten.no/meninger/kronikker/Bra-a-ha-en-Storebror-
7476734.html
">Bra å ha en «Storebror»
</a
> - aftenposten.no
</li
>
102 <a href=
"http://johnchristianelden.blogg.no/
1393536806_narkotikasiktet_stort.html
">"Narkotikasiktet
103 Stortingsmann
" - Spillet bak kulissene
</a
> - John Christian Eldens
107 <a href=
"http://www.aftenposten.no/meninger/Heksejakt-pa-hasjbrukere-
7486283.html
">Heksejakt
108 på hasjbrukere
</a
> - aftenposten.no
</li
>
115 <title>New home and release
1.0 for netgroup and innetgr (aka ng-utils)
</title>
116 <link>http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html
</link>
117 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html
</guid>
118 <pubDate>Sat,
22 Feb
2014 21:
45:
00 +
0100</pubDate>
119 <description><p
>Many years ago, I wrote a GPL licensed version of the netgroup and
120 innetgr tools, because I needed them in
121 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
>. I called the project
122 ng-utils, and it has served me well. I placed the project under the
123 <a href=
"http://www.hungry.com/
">Hungry Programmer
</a
> umbrella, and it was maintained in our CVS
124 repository. But many years ago, the CVS repository was dropped (lost,
125 not migrated to new hardware, not sure), and the project have lacked a
126 proper home since then.
</p
>
128 <p
>Last summer, I had a look at the package and made a new release
129 fixing a irritating crash bug, but was unable to store the changes in
130 a proper source control system. I applied for a project on
131 <a href=
"https://alioth.debian.org/
">Alioth
</a
>, but did not have time
132 to follow up on it. Until today. :)
</p
>
134 <p
>After many hours of cleaning and migration, the ng-utils project
135 now have a new home, and a git repository with the highlight of the
136 history of the project. I published all release tarballs and imported
137 them into the git repository. As the project is really stable and not
138 expected to gain new features any time soon, I decided to make a new
139 release and call it
1.0. Visit the new project home on
140 <a href=
"https://alioth.debian.org/projects/ng-utils/
">https://alioth.debian.org/projects/ng-utils/
</a
>
141 if you want to check it out. The new version is also uploaded into
142 <a href=
"http://packages.qa.debian.org/n/ng-utils.html
">Debian Unstable
</a
>.
</p
>
147 <title>Testing sysvinit from experimental in Debian Hurd
</title>
148 <link>http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html
</link>
149 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html
</guid>
150 <pubDate>Mon,
3 Feb
2014 13:
40:
00 +
0100</pubDate>
151 <description><p
>A few days ago I decided to try to help the Hurd people to get
152 their changes into sysvinit, to allow them to use the normal sysvinit
153 boot system instead of their old one. This follow up on the
154 <a href=
"https://teythoon.cryptobitch.de//categories/gsoc.html
">great
155 Google Summer of Code work
</a
> done last summer by Justus Winter to
156 get Debian on Hurd working more like Debian on Linux. To get started,
157 I downloaded a prebuilt hard disk image from
158 <a href=
"http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.gz
">http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.gz
</a
>,
159 and started it using virt-manager.
</p
>
161 <p
>The first think I had to do after logging in (root without any
162 password) was to get the network operational. I followed
163 <a href=
"https://www.debian.org/ports/hurd/hurd-install
">the
164 instructions on the Debian GNU/Hurd ports page
</a
> and ran these
165 commands as root to get the machine to accept a IP address from the
166 kvm internal DHCP server:
</p
>
168 <p
><blockquote
><pre
>
169 settrans -fgap /dev/netdde /hurd/netdde
170 kill $(ps -ef|awk
'/[p]finet/ { print $
2}
')
171 kill $(ps -ef|awk
'/[d]evnode/ { print $
2}
')
173 </pre
></blockquote
></p
>
175 <p
>After this, the machine had internet connectivity, and I could
176 upgrade it and install the sysvinit packages from experimental and
177 enable it as the default boot system in Hurd.
</p
>
179 <p
>But before I did that, I set a password on the root user, as ssh is
180 running on the machine it for ssh login to work a password need to be
181 set. Also, note that a bug somewhere in openssh on Hurd block
182 compression from working. Remember to turn that off on the client
185 <p
>Run these commands as root to upgrade and test the new sysvinit
188 <p
><blockquote
><pre
>
189 cat
> /etc/apt/sources.list.d/experimental.list
&lt;
&lt;EOF
190 deb http://http.debian.net/debian/ experimental main
194 apt-get install -t experimental initscripts sysv-rc sysvinit \
195 sysvinit-core sysvinit-utils
196 update-alternatives --config runsystem
197 </pre
></blockquote
></p
>
199 <p
>To reboot after switching boot system, you have to use
200 <tt
>reboot-hurd
</tt
> instead of just
<tt
>reboot
</tt
>, as there is not
201 yet a sysvinit process able to receive the signals from the normal
202 'reboot
' command. After switching to sysvinit as the boot system,
203 upgrading every package and rebooting, the network come up with DHCP
204 after boot as it should, and the settrans/pkill hack mentioned at the
205 start is no longer needed. But for some strange reason, there are no
206 longer any login prompt in the virtual console, so I logged in using
209 <p
>Note that there are some race conditions in Hurd making the boot
210 fail some times. No idea what the cause is, but hope the Hurd porters
211 figure it out. At least Justus said on IRC (#debian-hurd on
212 irc.debian.org) that they are aware of the problem. A way to reduce
213 the impact is to upgrade to the Hurd packages built by Justus by
214 adding this repository to the machine:
</p
>
216 <p
><blockquote
><pre
>
217 cat
> /etc/apt/sources.list.d/hurd-ci.list
&lt;
&lt;EOF
218 deb http://darnassus.sceen.net/~teythoon/hurd-ci/ sid main
220 </pre
></blockquote
></p
>
222 <p
>At the moment the prebuilt virtual machine get some packages from
223 http://ftp.debian-ports.org/debian, because some of the packages in
224 unstable do not yet include the required patches that are lingering in
225 BTS. This is the completely list of
"unofficial
" packages installed:
</p
>
227 <p
><blockquote
><pre
>
228 # aptitude search
'?narrow(?version(CURRENT),?origin(Debian Ports))
'
229 i emacs - GNU Emacs editor (metapackage)
231 i hurd-recommended - Miscellaneous translators
232 i isc-dhcp-client - ISC DHCP client
233 i isc-dhcp-common - common files used by all the isc-dhcp* packages
234 i libc-bin - Embedded GNU C Library: Binaries
235 i libc-dev-bin - Embedded GNU C Library: Development binaries
236 i libc0.3 - Embedded GNU C Library: Shared libraries
237 i A libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
238 i libc0.3-dev - Embedded GNU C Library: Development Libraries and Hea
239 i multiarch-support - Transitional package to ensure multiarch compatibilit
240 i A x11-common - X Window System (X.Org) infrastructure
241 i xorg - X.Org X Window System
242 i A xserver-xorg - X.Org X server
243 i A xserver-xorg-input-all - X.Org X server -- input driver metapackage
245 </pre
></blockquote
></p
>
247 <p
>All in all, testing hurd has been an interesting experience. :)
248 X.org did not work out of the box and I never took the time to follow
249 the porters instructions to fix it. This time I was interested in the
250 command line stuff.
<p
>