summaryrefslogtreecommitdiff
path: root/doc/upgrade.html
blob: 428e41fdeaa1f0399229b7ef781498c81e04ff5d (plain)
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
<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.7.2.0 </h2>

<ul>
 <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-listc.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>