]> pere.pagekite.me Git - homepage.git/blob - blog/tags/bootsystem/index.html
f9e597c1bc9636e228d9e98f2ac53b1a83a37c8a
[homepage.git] / blog / tags / bootsystem / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: Entries Tagged bootsystem</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css">
7 <link rel="alternate" title="RSS Feed" href="bootsystem.rss" type="application/rss+xml">
8 </head>
9 <body>
10
11 <div class="title">
12 <h1>
13 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
14
15 </h1>
16
17 </div>
18
19 <p>Entries tagged "bootsystem".</p>
20
21
22
23
24 <div class="entry">
25 <div class="title">
26 <a href="http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html">Parallellized boot is now the default in Debian/unstable</a>
27 </div>
28 <div class="date">
29 2010-05-14 22:40
30 </div>
31
32 <div class="body">
33
34 <p>Since this evening, parallel booting is the default in
35 Debian/unstable for machines using dependency based boot sequencing.
36 Apparently the testing of concurrent booting has been wider than
37 expected, if I am to believe the
38 <a href="http://lists.debian.org/debian-devel/2010/05/msg00122.html">input
39 on debian-devel@</a>, and I concluded a few days ago to move forward
40 with the feature this weekend, to give us some time to detect any
41 remaining problems before Squeeze is frozen. If serious problems are
42 detected, it is simple to change the default back to sequential boot.
43 The upload of the new sysvinit package also activate a new upstream
44 version.</p>
45
46 More information about
47 <a href="http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
48 based boot sequencing</a> is available from the Debian wiki. It is
49 currently possible to disable parallel booting when one run into
50 problems caused by it, by adding this line to /etc/default/rcS:</p>
51
52 <blockquote><pre>
53 CONCURRENCY=none
54 </pre></blockquote>
55
56 <p>If you report any problems with dependencies in init.d scripts to
57 the BTS, please usertag the report to get it to show up at
58 <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
59 list of usertagged bugs related to this</a>.</p>
60
61 </div>
62 <div class="tags">
63
64
65
66 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
67
68 </div>
69 </div>
70 <div class="padding"></div>
71
72 <div class="entry">
73 <div class="title">
74 <a href="http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html">Parallellized boot seem to hold up well in Debian/testing</a>
75 </div>
76 <div class="date">
77 2010-05-27 23:55
78 </div>
79
80 <div class="body">
81
82 <p>A few days ago, parallel booting was enabled in Debian/testing.
83 The feature seem to hold up pretty well, but three fairly serious
84 issues are known and should be solved:
85
86 <p><ul>
87
88 <li>The wicd package seen to
89 <a href="http://bugs.debian.org/508289">break NFS mounting</a> and
90 <a href="http://bugs.debian.org/581586">network setup</a> when
91 parallel booting is enabled. No idea why, but the wicd maintainer
92 seem to be on the case.</li>
93
94 <li>The nvidia X driver seem to
95 <a href="http://bugs.debian.org/583312">have a race condition</a>
96 triggered more easily when parallel booting is in effect. The
97 maintainer is on the case.</li>
98
99 <li>The sysv-rc package fail to properly enable dependency based boot
100 sequencing (the shutdown is broken) when old file-rc users
101 <a href="http://bugs.debian.org/575080">try to switch back</a> to
102 sysv-rc. One way to solve it would be for file-rc to create
103 /etc/init.d/.legacy-bootordering, and another is to try to make
104 sysv-rc more robust. Will investigate some more and probably upload a
105 workaround in sysv-rc to help those trying to move from file-rc to
106 sysv-rc get a working shutdown.</li>
107
108 </ul></p>
109
110 <p>All in all not many surprising issues, and all of them seem
111 solvable before Squeeze is released. In addition to these there are
112 some packages with bugs in their dependencies and run level settings,
113 which I expect will be fixed in a reasonable time span.</p>
114
115 <p>If you report any problems with dependencies in init.d scripts to
116 the BTS, please usertag the report to get it to show up at
117 <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
118 list of usertagged bugs related to this</a>.</p>
119
120 <p>Update: Correct bug number to file-rc issue.</p>
121
122 </div>
123 <div class="tags">
124
125
126
127 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
128
129 </div>
130 </div>
131 <div class="padding"></div>
132
133 <div class="entry">
134 <div class="title">
135 <a href="http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html">KDM fail at boot with NVidia cards - and no one try to fix it?</a>
136 </div>
137 <div class="date">
138 2010-06-01 17:05
139 </div>
140
141 <div class="body">
142
143 <p>It is strange to watch how a bug in Debian causing KDM to fail to
144 start at boot when an NVidia video card is used is handled. The
145 problem seem to be that the nvidia X.org driver uses a long time to
146 initialize, and this duration is longer than kdm is configured to
147 wait.</p>
148
149 <p>I came across two bugs related to this issue,
150 <a href="http://bugs.debian.org/583312">#583312</a> initially filed
151 against initscripts and passed on to nvidia-glx when it became obvious
152 that the nvidia drivers were involved, and
153 <a href="http://bugs.debian.org/524751">#524751</a> initially filed against
154 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.</p>
155
156 <p>To me, it seem that no-one is interested in actually solving the
157 problem nvidia video card owners experience and make sure the Debian
158 distribution work out of the box for these users. The nvidia driver
159 maintainers expect kdm to be set up to wait longer, while kdm expect
160 the nvidia driver maintainers to fix the driver to start faster, and
161 while they wait for each other I guess the users end up switching to a
162 distribution that work for them. I have no idea what the solution is,
163 but I am pretty sure that waiting for each other is not it.</p>
164
165 <p>I wonder why we end up handling bugs this way.</p>
166
167 </div>
168 <div class="tags">
169
170
171
172 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
173
174 </div>
175 </div>
176 <div class="padding"></div>
177
178 <div class="entry">
179 <div class="title">
180 <a href="http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html">Upstart or sysvinit - as init.d scripts see it</a>
181 </div>
182 <div class="date">
183 2010-06-06 23:55
184 </div>
185
186 <div class="body">
187
188 <p>If Debian is to migrate to upstart on Linux, I expect some init.d
189 scripts to migrate (some of) their operations to upstart job while
190 keeping the init.d for hurd and kfreebsd. The packages with such
191 needs will need a way to get their init.d scripts to behave
192 differently when used with sysvinit and with upstart. Because of
193 this, I had a look at the environment variables set when a init.d
194 script is running under upstart, and when it is not.</p>
195
196 <p>With upstart, I notice these environment variables are set when a
197 script is started from rcS.d/ (ignoring some irrelevant ones like
198 COLUMNS):</p>
199
200 <blockquote><pre>
201 DEFAULT_RUNLEVEL=2
202 previous=N
203 PREVLEVEL=
204 RUNLEVEL=
205 runlevel=S
206 UPSTART_EVENTS=startup
207 UPSTART_INSTANCE=
208 UPSTART_JOB=rc-sysinit
209 </pre></blockquote>
210
211 <p>With sysvinit, these environment variables are set for the same
212 script.</p>
213
214 <blockquote><pre>
215 INIT_VERSION=sysvinit-2.88
216 previous=N
217 PREVLEVEL=N
218 RUNLEVEL=S
219 runlevel=S
220 </pre></blockquote>
221
222 <p>The RUNLEVEL and PREVLEVEL environment variables passed on from
223 sysvinit are not set by upstart. Not sure if it is intentional or not
224 to not be compatible with sysvinit in this regard.</p>
225
226 <p>For scripts needing to behave differently when upstart is used,
227 looking for the UPSTART_JOB environment variable seem to be a good
228 choice.</p>
229
230 </div>
231 <div class="tags">
232
233
234
235 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
236
237 </div>
238 </div>
239 <div class="padding"></div>
240
241 <p style="text-align: right;"><a href="bootsystem.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS Feed" width="36" height="14"></a></p>
242
243
244
245
246 <div id="sidebar">
247
248 <h2>Archive</h2>
249 <ul>
250
251 <li>2010
252 <ul>
253
254 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
255
256 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
257
258 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
259
260 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
261
262 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
263
264 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (7)</a></li>
265
266 </ul></li>
267
268 <li>2009
269 <ul>
270
271 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
272
273 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
274
275 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
276
277 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
278
279 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
280
281 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
282
283 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
284
285 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
286
287 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
288
289 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
290
291 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
292
293 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
294
295 </ul></li>
296
297 <li>2008
298 <ul>
299
300 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
301
302 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
303
304 </ul></li>
305
306 </ul>
307
308
309
310 <h2>Tags</h2>
311 <ul>
312
313 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (11)</a></li>
314
315 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
316
317 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
318
319 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (4)</a></li>
320
321 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (25)</a></li>
322
323 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (25)</a></li>
324
325 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (36)</a></li>
326
327 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
328
329 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (6)</a></li>
330
331 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (2)</a></li>
332
333 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (1)</a></li>
334
335 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
336
337 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (5)</a></li>
338
339 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (67)</a></li>
340
341 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (75)</a></li>
342
343 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (12)</a></li>
344
345 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (11)</a></li>
346
347 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (10)</a></li>
348
349 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
350
351 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (8)</a></li>
352
353 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>
354
355 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (12)</a></li>
356
357 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
358
359 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (10)</a></li>
360
361 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
362
363 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (6)</a></li>
364
365 </ul>
366
367 </div>
368 </body>
369 </html>