about summary refs log tree commit diff
path: root/doc/upgrade.html
blob: 932d4f9bf797e9a9c681ad21462efbb391c233e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en" />
    <title>How to upgrade s6</title>
    <meta name="Description" content="How to upgrade s6" />
    <meta name="Keywords" content="s6 installation upgrade" />
    <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
  </head>
<body>

<p>
<a href="index.html">s6</a><br />
<a href="//skarnet.org/software/">Software</a><br />
<a href="//skarnet.org/">skarnet.org</a>
</p>

<h1> What has changed in s6 </h1>

<h2> in 2.10.0.3 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.10.0.3. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.8.0.1. </li>
</ul>

<h2> in 2.10.0.2 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.10.0.2. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.7.0.1. </li>
</ul>

<h2> in 2.10.0.1 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.10.0.1. </li>
</ul>

<h2> in 2.10.0.0 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.10.0.0. </li>
 <li> <a href="//skarnet.org/software/nsss/">nsss</a>
optional dependency bumped to 0.1.0.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.7.0.0. </li>
 <li> Commands received by <a href="s6-svscan.html">s6-svscan</a> and
sent by <a href="s6-svscanctl.html">s6-svscanctl</a> have changed significantly.
Different semantics of SIGHUP for <a href="s6-svscan.html">s6-svscan</a>. </li>
 <li> Commands received by <a href="s6-supervise.html">s6-supervise</a> and
sent by <a href="s6-svc.html">s6-svc</a> have changed slightly
(no <tt>s6-svc -X</tt> anymore). Different semantics of SIGHUP and SIGQUIT
for <a href="s6-supervise.html">s6-supervise</a>. </li>
 <li> <a href="s6-supervise.html">s6-supervise</a> now handles SIGINT
appropriately, by forwarding it to its child's process group. </li>
 <li> The <tt>nosetsid</tt> file is not recognized anymore in service
directories. <a href="s6-supervise.html">s6-supervise</a> now always starts
it child as a session leader. </li>
 <li> Split permissions on service control are now officially supported.
New binary: <a href="s6-svperms.html">s6-svperms</a>. </li>
 <li> New program that creates service directories to run a supervision tree
managed by a user: <a href="s6-usertree-maker.html">s6-usertree-maker</a>. </li>
</ul>

<h2> in 2.9.2.0 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.9.2.1. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.6.0.1. </li>
 <li> New <tt>-d</tt> option to <a href="s6-sudod.html">s6-sudod</a>. </li>
</ul>

<h2> in 2.9.1.0 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.9.2.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.6.0.0. (And made optional, see below.) </li>
 <li> The <a href="//skarnet.org/software/execline/">execline</a>
dependency is now optional, and can be disabled via the <tt>--disable-execline</tt>
option to configure. Functionality that depends on execline in s6 binaries is
disabled when execline support is disabled. </li>
 <li> A new '?' directive has been added to <a href="s6-log.html">s6-log</a>,
it declares a processor command line that is spawned with the <tt>/bin/sh</tt>
interpreter. </li>
 <li> A new <tt>-X</tt> option has been added to <a href="s6-svscan.html">s6-svscan</a>
to better support <a href="//skarnet.org/software/s6-linux-init/">s6-linux-init</a>
installations. </li>
 <li> <a href="s6-svscan.html">s6-svscan</a> now handles SIGPWR and SIGWINCH, when
diverted, on systems that define those signals. </li>
</ul>

<h2> in 2.9.0.1 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.9.1.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.5.3.0. </li>
</ul>

<h2> in 2.9.0.0 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.9.0.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.5.2.0. </li>
 <li> All the <tt>s6-fdholder-*c</tt> binaries have been
removed. </li>
</ul>

<h2> in 2.8.0.1 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.8.1.0. </li>
</ul>

<h2> in 2.8.0.0 </h2>

<ul>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.8.0.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.5.1.0. </li>
 <li> New <tt>-d <em>notif</em></tt> option to <a href="s6-log.html">s6-log</a>. </li>
 <li> New default for the <tt>-l <em>linelimit</em></tt> option to <a href="s6-log.html">s6-log</a>:
8192 bytes. </li>
 <li> In the <a href="libs6/accessrules.html">accessrules</a> library, checking against uid/gid
now checks the <tt>uid/self</tt> key if the client and the server have the same uid, and
the <tt>gid/self</tt> key if the client and the server have the same gid. </li>
 <li> Everything now builds as PIC by default no matter
the toolchain's settings. Use the <tt>--disable-all-pic</tt> configure
option to build executables and static libraries as non-PIC. </li>
 <li> This is a major version release of s6. It is recommended to first stop
all your s6 services, then upgrade, then immediately restart your
supervision tree, then start your services again. Failure to do so
*will* cause issues if you're relying on s6-ftrigrd notifications
(which is the case, for instance, with services managed by
<a href="//skarnet.org/software/s6-rc/">s6-rc</a>). </li>
</ul>

<h2> in 2.7.2.2 </h2>
<ul>
 <li> No functional changes. </li>
</ul>

<h2> in 2.7.2.1 </h2>
<ul>
 <li> No functional changes. </li>
</ul>

<h2> in 2.7.2.0 </h2>

<ul>
 <li> Optional <a href="//skarnet.org/software/nsss/">nsss</a> support added. </li>
 <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.7.0.0. </li>
 <li> <a href="//skarnet.org/software/execline/">execline</a>
dependency bumped to 2.5.0.1. </li>
 <li> <tt>-B</tt> option added to
<a href="s6-ipcserver-socketbinder.html">s6-ipcserver-socketbinder</a>. </li>
 <li> <tt>-d&nbsp;<em>notif</em></tt> option added to
<a href="s6-svscan.html">s6-svscan</a>. </li>
 <li> New optional <tt>./down-signal</tt> file in a
<a href="servicedir.html">service directory</a>, to tell
<a href="s6-supervise.html">s6-supervise</a> to use another signal than
SIGTERM when bringing the service down. </li>
 <li> New <tt>-r</tt> option added to <a href="s6-svc.html">s6-svc</a>, to
restart the service via the signal defined in <tt>./down-signal</tt>. </li>
</ul>

<h2> in 2.7.1.1 </h2>

<ul>
 <li> No functional changes. </li>
</ul>

<h2> in 2.7.1.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.6.4.0. </li>
 <li> New commands: <a href="s6-svdt.html">s6-svdt</a>,
<a href="s6-svdt-clear.html">s6-svdt-clear</a>,
<a href="s6-permafailon.html">s6-permafailon</a> </li>
 <li> <a href="s6-tai64nlocal.html">s6-tai64nlocal</a> can now
print GMT times with the <tt>-g</tt> option. </li>
</ul>

<h2> in 2.7.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.6.3.0. </li>
 <li> <a href="libs6/s6lockd.html">s6lockd</a> and
<a href="libs6/s6-ftrigrd.html">s6-ftrigrd</a> now use the new
<tt>textclient</tt> API and ABI from skalibs, instead of the
more generic <tt>skaclient</tt>. This is cleaner, faster code.
(<a href="s6-fdholderd.html">s6-fdholderd</a> still uses
skaclient, since its point is to transmit file descriptors,
which textclient does not support.) </li>
</ul>

<h2> in 2.6.2.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.6.2.0. </li>
 <li> execline dependency bumped to 2.3.0.4. </li>
 <li> New <a href="libs6/s6-fdholder.html">s6_fdholder</a> functions:
s6_fdholder_start(), s6_fdholder_end(). </li>
</ul>

<h2> in 2.6.1.1 </h2>

<ul>
 <li> skalibs dependency bumped to 2.6.0.1. </li>
 <li> execline dependency bumped to 2.3.0.3. </li>
</ul>

<h2> in 2.6.1.0 </h2>

<ul>
 <li> Additions of a few interfaces to libs6
in order to fix a race condition in s6-rc. </li>
 <li> New program: <a href="s6-notifyoncheck.html">s6-notifyoncheck</a>. </li>
</ul>

<h2> in 2.6.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.5.1.1. </li>
</ul>

<h2> in 2.5.1.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.5.1.0. </li>
 <li> execline dependency bumped to 2.3.0.1. </li>
 <li> <a href="s6-ftrig-listen1.html">s6-ftrig-listen1</a> prints the last event
it received to stdout. </li>
 <li> The <tt>timeout-kill</tt> file is now recognized in a
<a href="servicedir.html">service directory</a> and allows
<a href="s6-svc.html">s6-svc -d</a> to send a SIGKILL after a timeout if the
process is still not dead after the initial SIGTERM and SIGCONT. </li>
</ul>

<h2> in 2.5.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.5.0.0. </li>
 <li> execline dependency bumped to 2.3.0.0. </li>
 <li> Services can now report permanent failure by having <tt>./finish</tt>
exit 125. </li>
 <li> <a href="s6-svwait.html">s6-svwait</a>,
      <a href="s6-svlisten.html">s6-svlisten</a> and
      <a href="s6-svlisten1.html">s6-svlisten1</a> now exit 99
when they time out. They exit <em>n</em> when there are <em>n</em>
services reporting permanent failure. </li>
</ul>

<h2> in 2.4.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.4.0.0. </li>
 <li> execline dependency bumped to 2.2.0.0. </li>
 <li> <a href="s6-ipcserver-socketbinder.html">s6-ipcserver-socketbinder</a>
can now create datagram sockets. </li>
</ul>

<h2> in 2.3.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.10.0. </li>
 <li> execline dependency bumped to 2.2.5.0. </li>
 <li> <a href="s6-svscan.html">s6-svscan</a> now defaults to <tt>-t0</tt>
instead of <tt>-t5000</tt>. </li>
</ul>

<h2> in 2.2.4.3 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.9.0. </li>
</ul>

<h2> in 2.2.4.2 </h2>

<ul>
 <li> No functional changes </li>
</ul>

<h2> in 2.2.4.1 </h2>

<ul>
 <li> <a href="s6-envuidgid.html">s6-envuidgid</a> behaviour fixed to be
compatible with 2.2.3.1 and previous releases. </li>
</ul>

<h2> in 2.2.4.0 </h2>

<ul>
 <li> Additional options to
<a href="s6-envuidgid.html">s6-envuidgid</a> for more flexibility </li>
 <li> skalibs dependency bumped to 2.3.8.3. </li>
 <li> execline dependency bumped to 2.1.4.5. </li>
</ul>

<h2> in 2.2.3.1 </h2>

<ul>
 <li> No functional changes </li>
</ul>

<h2> in 2.2.3.0 </h2>

<ul>
 <li> Processor scripts for <a href="s6-log.html">s6-log</a>
now switch their working directory to the logdir they process. </li>
 <li> skalibs dependency bumped to 2.3.8.2. </li>
 <li> execline dependency bumped to 2.1.4.4. </li>
</ul>

<h2> in 2.2.2.2 </h2>

<ul>
 <li> No functional changes </li>
</ul>

<h2> in 2.2.2.1 </h2>

<ul>
 <li> No functional changes </li>
</ul>

<h2> in 2.2.2.0 </h2>

<ul>
 <li> <a href="s6-svscan.html">s6-svscan</a> now supports the <tt>-s</tt>
option for configurable signal management. </li>
 <li> GNU make dependency pushed back to 3.81. </li>
 <li> skalibs dependency bumped to 2.3.8.0. </li>
 <li> execline dependency bumped to 2.1.4.2. </li>
</ul>

<h2> in 2.2.1.1 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.7.1. </li>
 <li> execline dependency bumped to 2.1.4.1. </li>
</ul>

<h2> in 2.2.1.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.7.0. </li>
 <li> execline dependency bumped to 2.1.4.0. </li>
 <li> <a href="s6-svc.html">s6-svc</a>,
<a href="s6-svlisten1.html">s6-svlisten1</a> and
<a href="s6-svlisten.html">s6-svlisten</a> support new
<tt>-wr</tt> and <tt>-wR</tt> options. </li>
</ul>

<h2> in 2.2.0.1 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.6.1. </li>
 <li> execline dependency bumped to 2.1.3.1. </li>
</ul>

<h2> in 2.2.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.6.0. </li>
 <li> execline dependency bumped to 2.1.3.0. </li>
 <li> The internals of <a href="s6-supervise.html">s6-supervise</a> have
changed; the <tt>supervise/status</tt> file ABI has changed and is not
compatible with the daemontools/runit <tt>supervise/status</tt> files
anymore. (This should not impact anything.) </li>
 <li> <a href="s6-supervise.html">s6-supervise</a> features a
configurable timeout for <tt>./finish</tt> scripts, via the
<a href="servicedir.html"><tt>./timeout-finish</tt></a> file. </li>
 <li> <a href="s6-svwait.html">s6-svwait</a>,
<a href="s6-svlisten1.html">s6-svlisten1</a> and
<a href="s6-svlisten.html">s6-svlisten</a> can now wait for a <tt>'D'</tt>
event, which means the <tt>./finish</tt> script has terminated. </li>
 <li> The deprecated <tt>s6-notifywhenup</tt> program has been
removed. </li>
 <li> The syntax for synchronous <a href="s6-svc.html">s6-svc</a>
waiting has changed. </li>
</ul>

<h2> in 2.1.6.0 </h2>

<ul>
 <li> <a href="s6-svc.html">s6-svc</a> now checks for the existence
of <tt>notification-fd</tt> before accepting a <tt>U</tt> command. </li>
 <li> New <tt>-X</tt> option to <a href="s6-svc.html">s6-svc</a>. </li>
 <li> Different meaning of SIGQUIT for
<a href="s6-supervise.html">s6-supervise</a>: now the same as
<tt>s6-svc -X</tt>. </li>
</ul>

<h2> in 2.1.5.0 </h2>

<ul>
 <li> <a href="s6-log.html">s6-log</a> now exits cleanly on SIGHUP. </li>
</ul>

<h2> in 2.1.4.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.5.1. </li>
 <li> execline dependency bumped to 2.1.2.2. </li>
 <li> The <a href="s6-notifywhenup.html">s6-notifywhenup</a> command
has been deprecated. Race-free
<a href="notifywhenup.html">readiness notification</a> can now be implemented
via the <tt>notification-fd</tt> file in a
<a href="servicedir.html">service directory</a>. </li>
</ul>

<h2> in 2.1.3.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.2.0. </li>
 <li> execline dependency bumped to 2.1.1.0. </li>
 <li> New options to <a href="s6-envuidgid.html">s6-envuidgid</a>. </li>
</ul>

<h2> in 2.1.2.0 </h2>

<ul>
 <li> New options to <a href="s6-setsid.html">s6-setsid</a>. </li>
</ul>

<h2> in 2.1.1.2 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.1.0. </li>
 <li> execline dependency bumped to 2.1.0.0. </li>
 <li> Apart from that, this is a bugfix release. (The bump in
dependencies is part of the bugfix.) </li>
</ul>

<h2> in 2.1.1.1 </h2>

<p>
 Bugfix release, no important changes.
</p>

<h2> in 2.1.1.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.3.0.0. </li>
 <li> execline dependency bumped to 2.0.2.1. </li>
 <li> New functionality added to <a href="s6-log.html">s6-log</a>. Its
syntax has been extended; some options are now marked as obsolescent. </li>
 <li> Access control instated in <a href="s6-fdholderd.html">s6-fdholderd</a>
for <a href="s6-fdholder-list.html">listing</a> </li>
</ul>

<h2> in 2.1.0.1 </h2>

<p>
 Bugfix release, no important changes.
</p>

<h2> in 2.1.0.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.2.1.0. </li>
 <li> execline dependency bumped to 2.0.2.0. </li>
 <li> Unix domain socket utilities moved from the
<a href="//skarnet.org/software/s6-networking/">s6-networking</a>
package to s6. </li>
 <li> <tt>./finish</tt> argument for "service crashed" is now 256
instead of 255. <strong>Check your finish scripts!</strong> </li>
 <li> <tt>supervise/status</tt> now includes wstat information
when the service died, and s6-svstat reports that information. </li>
 <li> s6-svstat now reports symbolic signal information by default,
use <tt>-n</tt> to get the old behaviour. </li>
 <li> s6-log now properly calls execlineb with its installation
prefix, in the slashpackage case. </li>
 <li> New commands: s6-svlisten and s6-svlisten1, to signal a
service and wait on it without race condition. </li>
 <li> A brand new set of programs, <tt>s6-fdholder*</tt>, to perform
fd-holding. </li>
 <li> Catchy blurb on intro page. </li>
</ul>

<h2> in 2.0.1.0 </h2>

<ul>
 <li> skalibs dependency bumped to 2.2.0.0. </li>
 <li> execline dependency bumped to 2.0.1.1. </li>
 <li> Better readiness notification management via s6-svwait -U. </li>
</ul>

<h2> in 2.0.0.1 </h2>

<ul>
 <li> skalibs dependency bumped to 2.1.0.0. </li>
</ul>

<h2> in 2.0.0.0 </h2>

<ul>
 <li> The build system has completely changed. It is now a standard
<tt>./configure &amp;&amp; make &amp;&amp; sudo make install</tt>
build system. See the enclosed INSTALL file for details. </li>
 <li> slashpackage is not activated by default. </li>
 <li> shared libraries are not used by default. </li>
 <li> skalibs dependency bumped to 2.0.0.0. </li>
 <li> execline dependency bumped to 2.0.0.0. </li>
 <li> <a href="s6-supervise.html">s6-supervise</a> does not create
the <tt>./event</tt> fifodir as public. Subscriptions are restricted
to users having the same gid as the s6-supervise process. </li>
 <li> The <a href="s6-notifywhenup.html">s6-notifywhenup</a> program
is a new addition. </li>
</ul>

</body>
</html>