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
111 <title>New home and release
1.0 for netgroup and innetgr (aka ng-utils)
</title>
112 <link>http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html
</link>
113 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html
</guid>
114 <pubDate>Sat,
22 Feb
2014 21:
45:
00 +
0100</pubDate>
115 <description><p
>Many years ago, I wrote a GPL licensed version of the netgroup and
116 innetgr tools, because I needed them in
117 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
>. I called the project
118 ng-utils, and it has served me well. I placed the project under the
119 <a href=
"http://www.hungry.com/
">Hungry Programmer
</a
> umbrella, and it was maintained in our CVS
120 repository. But many years ago, the CVS repository was dropped (lost,
121 not migrated to new hardware, not sure), and the project have lacked a
122 proper home since then.
</p
>
124 <p
>Last summer, I had a look at the package and made a new release
125 fixing a irritating crash bug, but was unable to store the changes in
126 a proper source control system. I applied for a project on
127 <a href=
"https://alioth.debian.org/
">Alioth
</a
>, but did not have time
128 to follow up on it. Until today. :)
</p
>
130 <p
>After many hours of cleaning and migration, the ng-utils project
131 now have a new home, and a git repository with the highlight of the
132 history of the project. I published all release tarballs and imported
133 them into the git repository. As the project is really stable and not
134 expected to gain new features any time soon, I decided to make a new
135 release and call it
1.0. Visit the new project home on
136 <a href=
"https://alioth.debian.org/projects/ng-utils/
">https://alioth.debian.org/projects/ng-utils/
</a
>
137 if you want to check it out. The new version is also uploaded into
138 <a href=
"http://packages.qa.debian.org/n/ng-utils.html
">Debian Unstable
</a
>.
</p
>
143 <title>Testing sysvinit from experimental in Debian Hurd
</title>
144 <link>http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html
</link>
145 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html
</guid>
146 <pubDate>Mon,
3 Feb
2014 13:
40:
00 +
0100</pubDate>
147 <description><p
>A few days ago I decided to try to help the Hurd people to get
148 their changes into sysvinit, to allow them to use the normal sysvinit
149 boot system instead of their old one. This follow up on the
150 <a href=
"https://teythoon.cryptobitch.de//categories/gsoc.html
">great
151 Google Summer of Code work
</a
> done last summer by Justus Winter to
152 get Debian on Hurd working more like Debian on Linux. To get started,
153 I downloaded a prebuilt hard disk image from
154 <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
>,
155 and started it using virt-manager.
</p
>
157 <p
>The first think I had to do after logging in (root without any
158 password) was to get the network operational. I followed
159 <a href=
"https://www.debian.org/ports/hurd/hurd-install
">the
160 instructions on the Debian GNU/Hurd ports page
</a
> and ran these
161 commands as root to get the machine to accept a IP address from the
162 kvm internal DHCP server:
</p
>
164 <p
><blockquote
><pre
>
165 settrans -fgap /dev/netdde /hurd/netdde
166 kill $(ps -ef|awk
'/[p]finet/ { print $
2}
')
167 kill $(ps -ef|awk
'/[d]evnode/ { print $
2}
')
169 </pre
></blockquote
></p
>
171 <p
>After this, the machine had internet connectivity, and I could
172 upgrade it and install the sysvinit packages from experimental and
173 enable it as the default boot system in Hurd.
</p
>
175 <p
>But before I did that, I set a password on the root user, as ssh is
176 running on the machine it for ssh login to work a password need to be
177 set. Also, note that a bug somewhere in openssh on Hurd block
178 compression from working. Remember to turn that off on the client
181 <p
>Run these commands as root to upgrade and test the new sysvinit
184 <p
><blockquote
><pre
>
185 cat
> /etc/apt/sources.list.d/experimental.list
&lt;
&lt;EOF
186 deb http://http.debian.net/debian/ experimental main
190 apt-get install -t experimental initscripts sysv-rc sysvinit \
191 sysvinit-core sysvinit-utils
192 update-alternatives --config runsystem
193 </pre
></blockquote
></p
>
195 <p
>To reboot after switching boot system, you have to use
196 <tt
>reboot-hurd
</tt
> instead of just
<tt
>reboot
</tt
>, as there is not
197 yet a sysvinit process able to receive the signals from the normal
198 'reboot
' command. After switching to sysvinit as the boot system,
199 upgrading every package and rebooting, the network come up with DHCP
200 after boot as it should, and the settrans/pkill hack mentioned at the
201 start is no longer needed. But for some strange reason, there are no
202 longer any login prompt in the virtual console, so I logged in using
205 <p
>Note that there are some race conditions in Hurd making the boot
206 fail some times. No idea what the cause is, but hope the Hurd porters
207 figure it out. At least Justus said on IRC (#debian-hurd on
208 irc.debian.org) that they are aware of the problem. A way to reduce
209 the impact is to upgrade to the Hurd packages built by Justus by
210 adding this repository to the machine:
</p
>
212 <p
><blockquote
><pre
>
213 cat
> /etc/apt/sources.list.d/hurd-ci.list
&lt;
&lt;EOF
214 deb http://darnassus.sceen.net/~teythoon/hurd-ci/ sid main
216 </pre
></blockquote
></p
>
218 <p
>At the moment the prebuilt virtual machine get some packages from
219 http://ftp.debian-ports.org/debian, because some of the packages in
220 unstable do not yet include the required patches that are lingering in
221 BTS. This is the completely list of
"unofficial
" packages installed:
</p
>
223 <p
><blockquote
><pre
>
224 # aptitude search
'?narrow(?version(CURRENT),?origin(Debian Ports))
'
225 i emacs - GNU Emacs editor (metapackage)
227 i hurd-recommended - Miscellaneous translators
228 i isc-dhcp-client - ISC DHCP client
229 i isc-dhcp-common - common files used by all the isc-dhcp* packages
230 i libc-bin - Embedded GNU C Library: Binaries
231 i libc-dev-bin - Embedded GNU C Library: Development binaries
232 i libc0.3 - Embedded GNU C Library: Shared libraries
233 i A libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
234 i libc0.3-dev - Embedded GNU C Library: Development Libraries and Hea
235 i multiarch-support - Transitional package to ensure multiarch compatibilit
236 i A x11-common - X Window System (X.Org) infrastructure
237 i xorg - X.Org X Window System
238 i A xserver-xorg - X.Org X server
239 i A xserver-xorg-input-all - X.Org X server -- input driver metapackage
241 </pre
></blockquote
></p
>
243 <p
>All in all, testing hurd has been an interesting experience. :)
244 X.org did not work out of the box and I never took the time to follow
245 the porters instructions to fix it. This time I was interested in the
246 command line stuff.
<p
>