summary refs log tree commit diff
path: root/package/CHANGES
blob: dda8c0e9455f0166253756a888d25625c6518a3d (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
  * doc/runscripts.html: typo; openssh needs absolute path (thx Kevin Berry).

runit 1.3.0
Sun, 24 Jul 2005 16:50:55 +0000
  * man/runsv.8: typo; no longer document the e control character; clarify
    custom control on d and x.
  * doc/useinit.html: how to use runit with macosx 10.4 (thx Lars Uffmann).
  * etc/macosx/org.smarden.runit.plist: new; launchd plist file for
    runsvdir-start (thx Lars Uffmann).
  * doc/runscripts.html: don't use absolute pathnames for programs in $PATH;
    add contributed run scripts (thx Sascha Huedepohl); typos.
  * runsvchdir.c, runsvstat.c: optimize output buffer handling.
  * runsvctrl.c: write x control character to runsv on e.
  * svlogd.c: write to log dir after possibly writing through udp (fixes
    line break issue).
  * runsv.c, runsv.check: optimize output buffer handling; porperly run
    custom t, d, x, k, when stopping service; no longer support e control
    character.
  * sv.c: new sv program to control services, optionally can be linked to
    /etc/init.d/ as lsb "init script" command line interface.
  * Makefile, TARGETS: adapt.
  * chpst.c: fix pointer types.
  * man/sv.8: new.
  * package/TODO: new.

runit 1.2.3
Mon, 18 Apr 2005 17:08:35 +0000
  * doc/runscripts.html: add contributed run scripts (thx Kevin Berry);
    remove mysql run scripts.
  * svlogd.dist, svwaitdown.dist, svwaitup.dist: fix program selftest's
    false alarms (thx Ian Stokes-Rees).

runit 1.2.2
Sun, 03 Apr 2005 09:21:52 +0000
  * doc/index.html, doc/replaceinit.html: no longer refer to sysvinit's
    shutdown program.
  * man/svlogd.8: svlogd doesn't decrease the number of log files in a log
    directory; with n0 don't remove any log files.
  * svlogd.c: properly prefix log messages written to standard error with
    optional timestamp.
  * runsvctrl.c, svwaitdown.c, svwaitup.c: supervise not running -> runsv
    not running.
  * package/README: 2005.

runit 1.2.1
Sat, 15 Jan 2005 11:57:46 +0000
  * chpst.c: typo.
  * svwaitdown.c: minimum timeout is 1 second; service directories no longer
    must start with /.
  * svwaitup.c: minimum uptime of services is 1 second; service directories
    no longer must start with /; print number of seconds a service is up if
    verbose.
  * man/svwaitdown.8, man/svwaitup.8: adapt.
  * doc/runscripts.html: add contributed run scripts (thx Stefan Karrmann,
    Kevin Berry, Karl Chen).
  * runsv.c: typos; bugfix: run optional control/x when receiving SIGTERM
    (thx Vladimir Smelhaus); minor.
  * man/runsvctrl.8: minor.
  * package/COPYING: adapt, 2005.

runit 1.2.0
Fri, 17 Dec 2004 21:08:50 +0000
  * doc/upgrade.html: typo.
  * runsv.c: support custom control commands through control/ directory,
    optionally switch off sending signal; don't update timestamp in status
    when running ./finish; only sleep for a second if ./run has been
    restarted within a second, and after updating status to down, normally
    up, want up.
  * man/runsv.8: document custom control commands.
  * runsv.check, runsv.dist: check custom control commands.
  * doc/runscripts.html: add contributed run scripts (thx Stefan Karrmann,
    Kevin Berry).

runit 1.1.0
Sat, 06 Nov 2004 17:21:11 +0000
  * svlogd.c: new config option t timeout (thx Enrico Scholz); config
    options e and E select and deselect lines for stderr respectively (thx
    Vladimir Smelhaus); new config option N.
  * man/svlogd.8: adapt.
  * runsv.c: on commands down and exit send CONT after TERM.
  * man/runsv.8: adapt.
  * etc/2: use -P option to runsvdir.
  * src/svlogd.check: add check for t config option.
  * chpst.c: new option -n: adjust nice level.
  * man/chpst.8: adapt.

runit 1.0.5
Tue, 21 Sep 2004 18:18:14 +0000
  * svlogd.c: fix line buffer handling for pattern matching (thx Enrico
    Scholz); properly retry writing to current on error; minor.
  * doc/index.html: wording; add link to useinit.html; remove link to runit
    on linuxfromscratch.
  * doc/runscripts.html: add hint, some getties need to be run in a new
    session/process group (thx Dan Melomedman).
  * man/svlogd.8: minor fixes.
  * man/svwaitdown.8: remove hint about -x option.
  * package/check, package/compile, package/install, package/install-man,
    package/upgrade: use set -e instead of #!/bin/sh -e.
  * runsvdir.c: new option -P, run each runsv process in a new session and
    process group (thx Charlie Brady).
  * man/runsvdir.8: adapt; typo.

runit 1.0.4
Sun, 01 Aug 2004 18:29:36 +0000
  * doc/runlevels.html, doc/upgrade.html, doc/useinit.html, man/runsvdir.8,
    man/runsvchdir.8: minor changes in wording, notations.
  * runsvdir.c: check services dir again after one second until it's
    unchanged (thx Eric Lammerts); sleep one second before scanning if
    services dir mtime is now; loop while chdir to starting dir fails;
    rename log, loglen to rplog, rploglen.
  * etc/macosx/StartupItems/runit: use -x option to svwaitdown; timeout 14.

runit 1.0.3
Sat, 26 Jun 2004 14:50:41 +0000
  * chpst.c, man/chpst.8: new option -/ chroot.
  * runit.c, man/runit.8: if stage 1 crashes or exits 100, stage 2 will be
    skipped; if stage 2 crashes or exits 111, it will be restarted.
  * package/check, package/compile, package/install-man, package/upgrade:
    minor cleanup.
  * doc/runscripts.html: add, adapt various run scripts (thx).

runit 1.0.2
Mon, 29 Mar 2004 17:52:50 +0000
  * man/svlogd.8: timestamps are not considered when matching patterns (thx
    Andras KORN).
  * runsv.c: on exit run the finish scripts when taking the service down
    (thx X.).
  * runsv.c, runsvctrl.c: handle sig_quit (thx Wayne Marshall).
  * svlogd.c: don't crash on zero byte long config file (thx Alex Efros).
  * man/*: minor cleanup.
  * doc/index.html: add link to runit on linuxfromscratch doc (thx Richard
    A Downing FBCS).

runit 1.0.1
Sun, 07 Mar 2004 10:40:40 +0000
  * doc/usedietlibc.html: minor.
  * fmt_ptime.c: create timestamps in UTC, not localtime.
  * chpst.c: -e dir: silently ignore directories, print warning if verbose.
  * runsv.c: allow also log/supervise to be a dangling symlink; more
    meaningful error message if opening lock or locking fails.
  * check-diff, check-dist, check-local, package/check: new; run checks on
    programs.
  * package/install: run package/check.
  * chpst.check, runit-init.check, runit.check, runsv.check,
    runsvchdir.check, runsvctrl.check, runsvdir.check, runsvstat.check,
    svlogd.check, svwaitdown.check, svwaitup.check, utmpset.check: new;
    check program.
  * chpst.dist, runit-init.dist, runit.dist, runsv.dist, runsvchdir.dist,
    runsvctrl.dist, runsvdir.dist, runsvstat.dist, svlogd.dist,
    svwaitdown.dist, svwaitup.dist, utmpset.dist: new; dist check program
    output.

runit 1.0.0
Tue, 10 Feb 2004 13:37:28 +0000
  * doc/benefits.html, doc/dependencies.html, doc/index.html,
    doc/replaceinit.html, doc/runlevels.html, doc/upgrade.html,
    doc/useinit.html: cleanup; minor.
  * man/utmpset.8: run utmpset in finish script, not run script.
  * man/runsvdir.8: minor.

runit 0.13.1
Mon, 19 Jan 2004 18:32:58 +0000
  * doc/upgrade.html: typo.
  * svlogd.c: bugfix: properly print new-line character to the log on end
    of line (thx Pawel Chmielowski).
  * trysocketlib.c: new; check for libraries needed for socket() on some
    systems (fixes link failure on solaris, thx Uffe Jakobsen).
  * Makefile: adapt.
  * print-cc.sh, print-ld.sh: head -1 -> head -n1.

runit 0.13.0
Mon, 12 Jan 2004 14:39:38 +0000
  * doc/runscripts.html: use html named entities (thx Taj Khattra); add
    more contributed run scripts (thx Marek Bartnikowski, Thomas Schwinge).
  * svlogd.c: support sending log entries to remote host through udp,
    configurable through u and U lines in log dir config file; minor.
  * man/svlogd.8: adapt; document -tt option.
  * package/compile, package/install-man, package/upgrade: exit 1 on
    sub-shell failures.
  * man/runsv.8: fix typos (thx Christian Hammers).

runit 0.12.1
Tue, 18 Nov 2003 15:42:44 +0000
  * doc/runscripts: add pppd run script (with chpst) next to the ppp one.
  * man/chpst.8: typo.
  * etc/debian/3: test -r -> test -x (thx Alejandro Mery).
  * runsv.c: don't start new processes while collecting children.

runit 0.12.0
Wed, 29 Oct 2003 18:27:48 +0000
  * runsv.c: don't use EOVERFLOW as it is not standard (thx Christoph
    Scheurer).
  * reboot_system.h1, reboot_system.h2, tryreboot.c: new; test if reboot()
    function takes one or two arguments (solaris).
  * runit.c: fallthrough stage 3: re-get stderr; sync() before reboot().
  * uw_tmp.h1, uw_tmp.h2, tryuwtmp.c, tryuwtmpx.c: new; test for utmpx or
    utmp support.
  * utmpset.c: support systems with utmp or utmpx (solaris).
  * Makefile: adapt.
  * supports the solaris platform (thx Uffe Jakobsen).
  * doc/benefits.html, doc/index.html, doc/replaceinit.html,
    doc/runlevels.html, doc/useinit.html: default service directory is
    /var/service; minor.
  * etc/2, etc/debian/3, etc/freebsd/3, etc/macosx/StartupItems/runit,
    etc/openbsd/3, man/runsv.8, man/runsvchdir.8, man/runsvdir.8: default
    service directory is /var/service.
  * doc/runscripts.html: add more contributed run scripts (thx Tomasz
    Nidecki).

runit 0.11.2
Tue, 23 Sep 2003 10:15:32 +0200
  * doc/useinit.html, etc/macosx/StartupItems/runit: don't use /etc/runit/2
    when using runit service supervision with traditional init, use
    /sbin/runsvdir-start instead.
  * fmt_ptime.c: calculate UTC localtime correctly.
  * runsv.c: support ./supervise as symbolic link, on dangling symlink create
    link target.

runit 0.11.1
Thu,  4 Sep 2003 11:51:02 +0200
  * src/Makefile: add dependency to sysdeps to target fmt_ptime.o (thx Thomas
    Schwinge).
  * svlogd.c: barf if all log directories given at the command line fail.
  * man/svlogd.8: adapt.
  * doc/runscripts.html: adaptions (thx Erich Schubert, Lang Martin).

runit 0.11.0
Fri, 08 Aug 2003 12:37:14 +0200
  * uidgid.c, uidgid.h: new; get uid/gid by name.
  * chpst: new; run program with a changed process state (includes envdir,
    envuidgid, pgrphack, setlock, setuidgid, softlimit functionality).
  * setuidgid.c: remove; obsolete (replaced by chpst).

runit 0.10.0
Sun, 22 Jun 2003 20:44:58 +0200
  * doc/index.html, doc/install.html, doc/replaceinit.html, doc/useinit.html:
    how to install and configure runit on MacOSX.
  * svlogd.c: typo; fix incorrect handling of processor's state file; minor
    code cleanup; correctly calculate size for all types of timestamps.
  * runit-init.c: exit 0 on wrong usage.
  * package/versions: new.

runit 0.9.5
Tue, 17 Jun 2003 10:48:10 +0200
  * runit.c: use select() on systems that don't provide poll().
  * svlogd.c: reset match flag in lineflush() in all cases.
  * Makefile: build setuidgid in default target.
  * doc/useinit.html: add instruction to create /etc/runit/2 first.
  * doc/install.html: minor.

runit 0.9.4
Wed, 04 Jun 2003 13:56:33 +0200
  * svlogd.c: default log file size is 1M; print verbose message only if
    -v is set.
  * man/svlogd.8: document -v option; minor.
  * etc/freebsd/3, etc/openbsd/3: check if magic files in /etc/runit/ are
    executable, not readable.
  * etc/*/getty-tty*/run: remove utmpset from script.
  * etc/*/getty-tty*/finish: new: run utmpset.
  * doc/replaceinit.html: adapt.
  * setuidgid.c: new: daemontools' setuidgid drop in replacement (not
    installed by default).
  * Makefile: build setuidgid.
  * doc/index.html: update.

runit 0.9.3
Sun, 04 May 2003 11:30:58 +0200
  * Makefile: actually build runsvstat, runsvctrl before installing them,
    fixes build failure (thx Lukas Beeler).
  * runsvctrl.c, runsvstat.c: use _exit().

runit 0.9.2
Sat, 03 May 2003 17:40:23 +0200
  * doc/runscripts.html: changes from Jesse Cablek.
  * doc/dependencies.html, doc/useinit.html: new.
  * doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed
    by default.
  * doc/install.html: remove dependency on daemontools; create /package.
  * doc/replaceinit.html, man/runsv.8: typos.
  * man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise.
  * svlogd.c: fix counter var namespace.
  * package/commands: add runsvctrl, runsvstat.

runit 0.9.1
Wed, 30 Apr 2003 22:10:57 +0200
  * svlogd.c: reset match flag on deselection, fixes pattern matching.
 
runit 0.9.0
Fri, 25 Apr 2003 09:22:03 +0200
  * runsvdir.c: don't propagate sig_term to runsv processes when receiving
    sig_term; send sig_term to all runsv processes and exit 111 when
    receiving sig_hangup.
  * runit.c: print warning for each state that exits non-zero; restart
    stage 2 if it exits non-zero.
  * svlogd.c: code cleanup.
  * svwaitdown.c: send command 'd' (and 'x' if -x is set) to each service if
    it's not in state 'want down'.
  * svwaitup.c: minor code cleanup.
  * man/runsvdir.8, man/svwaitdown.8: adapt.
  * doc/runscripts.html: add contributed run scripts (thx!).
  * doc/upgrade.html, doc/index.html: adapt.

runit 0.8.4
Sun, 20 Apr 2003 19:31:24 +0200
  * svlogd.c: new; runit's service logging daemon.
  * fmt_ptime.h, fmt_ptime.c, pmatch.h, pmatch.c: new.
  * man/svlogd.8, doc/svlogd.8.html: new.
  * man/runsv.8, man/runsvstat.8, man/utmpset.8: minor cleanup.

runit 0.8.1
Wed, 12 Mar 2003 15:10:04 +0100
  * runsvdir.c, runsv.c: close-on-exec file descriptors of current dir and
    lock files (thx Lukas Beeler).
  * doc/runscripts.html: add contributed run scripts (thx Robin S. Socha, 
    Claus Alboege, Paul Jarc, clemens fischer, Jesse Cablek).

runit 0.8.0
Tue, 25 Feb 2003 16:17:34 +0100
  * doc/benefits.html: new.
  * doc/index.html, doc/upgrade.html: adapt.
  * etc/*/1, etc/*/3, etc/*/ctrlaltdel: set permissions on the magic files
    instead of creating and removing them (can make them symbolic links
    now); set PATH.
  * runit.h: new; centralize runit's compiled in magic file names.
  * runit.c: check permissions of magic files instead of sole existence;
    conditionally call reboot(RB_AUTOBOOT), reboot(RB_POWER_OFF),
    reboot(RB_HALT_SYSTEM) if possible; code cleanup.
  * runit-init.c: set permissions on magic files instead of creating or
    removing them; code cleanup.
  * runsvdir.c: detect and tolerate system time warp; code cleanup.
  * runsv.c, runsvchdir.c, runsvctrl.c, runsvstat.c, svwaitdown.c,
    svwaitup.c, utmpset.c: code cleanup.
  * man/runit.8, man/runit-init.8: adapt.

runit 0.7.2
Fri, 10 Jan 2003 21:34:13 +0100
  * runsv.c: close finish script file descriptor.
  * runsv.c: close logpipe[] instead of sending sigterm to logservice when
    told to exit, loggers should exit when they see EOF on stdin (thx Paul
    Jarc).
  * etc/*/1, etc/*/3: remove explicit 'exit'.
  * error.h: include <errno.h> (upcoming glibc changes).

runit 0.7.1
Wed, 23 Oct 2002 11:40:24 +0200
  * man/runsv.8, doc/runlevels.html: typos.
  * runsvctrl.c, runsvstat.c: exit 111 on error.
  * runsvdir.c: continue reading directory when stat() on entry fails.
  * doc/runsvstat.8.html,doc/runsvctrl.8.html: new.
  * runsvstat, runsvctrl: new; optional svc, svstat replacements.
  * doc/index.html: adapt; new example.

runit 0.7.0
Mon, 07 Oct 2002 11:26:27 +0200
  * runsvdir.c: check service directory's inode and device in addition
    to mtime; sleep at least 1 second before restarting runsv processes.
  * runsv.c: use status[19] for state information; control pipe supports e.
  * runsvstat.c: new option -l: only show log service if -l is given; use
    status[19] for state.
  * runsvchdir: new; change directory runsvdir is running in (switch
    runlevels).
  * man/runsvchdir.8, doc/runsvchdir.8.html: new.
  * svwaitdown.c: -k option: only kill service that still are up on timeout.

runit 0.6.0
Fri, 27 Sep 2002 16:34:57 +0200
  * man/runsv.8, man/runsvdir.8: new.
  * doc: use runsvdir/runsv instead of svscanboot/supervise.
  * svwaitdown.c, svwaitup.c, man/svwaitdown.8, man/svwaitup.8: services
    must start with slash.
  * svwaitdown: new option -x: wait for runsv to exit instead for the
    service to be down; new option -k: SIGKILL still running services if
    timeout is reached.
  * stage 3: use new svwaitdown options.

runit 0.5.3
Mon, 23 Sep 2002 16:25:07 +0200
  * runsv, runsvdir: new; svscan/supervise replacement.
  * etc/runit/2: use runsvdir instead of svscanboot.
  * runsvstat.c: new; svstat for runsv.
  * runsvctrl.c: new; svc for runsv.
  * runsvdir.c, runsv.c: code cleanup.
  * utmpset.c: setlock utmp and wtmp file.

runit 0.5.0
Wed, 28 Aug 2002 11:18:28 +0200
  * utmpset: avoids libutil; compiles with dietlibc; built by default.
  * doc/usedietlibc.html: fix description.
  * getty-*/run: add utmpset.

runit 0.4.1
Mon, 24 Jun 2002 15:53:11 +0200
  * utmpset.c: new option -w: additionally write wtmp record.

runit 0.4.0
Sun, 19 May 2002 12:28:29 +0200
  * src/: include public domain sources to build byte.a, unix.a, time.a:
    runit builds without having daemontools' sources installed.
  * utmpset.c: new utmpset program.
  * doc/utmpset.html: new.

runit 0.3.2
Wed, 13 Feb 2002 10:56:17 +0100
  * runit.c: support ctrl-alt-del also on Linux/i386, dietlibc.
  * runscripts.html: more samples. (thx Alessandro Bono)

runit 0.3.1
Sun,  3 Feb 2002 16:30:55 +0100
  * src: cleanup.

runit 0.3.0
Tue, 29 Jan 2002 19:38:33 +0100
  * doc: adapted.
  * runit.8: changes documented.
  * runscripts.html: more examples.

runit 0.2.9
Thu, 17 Jan 2002 19:00:44 +0100
  * reportedly runs on FreeBSD 4.3 (thx clemensF)
  * svwaitdown: max timeout is 6000, really. (thx ska)
  * runit.c: stage 1 gets no new session and full control of console; an
    emergency shell or login program (if present) can be executed.
  * openbsd, freebsd: support for 'single user' emergency shell in stage 1
  * runit.c: skip stage 2 if stage 1 crashes.

runit 0.2.7
Tue,  1 Jan 2002 16:20:14 +0100
  * tested on fresh freebsd 4.4 installation in vmware
  * new etc/freebsd: stages and getty service
  * doc: replaceinit: how to replace bsd init (freebsd)
  * svwaitup: minor code cleanup
  * doc: /service/getty-5/ as default getty service.
  * doc: index: related links added.
  * package: install-man added for installing manpages in /usr/local/man/

runit 0.2.6
Sun, 30 Dec 2001 17:29:29 +0100
  * runs on openbsd 2.9
  * runit: console init and reinit
  * runit: sig_pause() on end.
  * new: etc/openbsd: stages and getty service
  * doc: replaceinit: how to replace bsd init

runit 0.2.3
Thu, 27 Dec 2001 14:41:56 +0100
  * doc: runscripts.html integrated

runit 0.2.2
Sun, 23 Dec 2001 18:12:29 +0100
  * runit: checks for pid == 1
  * new: svwaitdown, svwaitup, svwaitdown.8, svwaitup.8
  * stage3: uses svwaitdown
  * doc: runscripts.html added

runit 0.2.0
Mon, 26 Nov 2001 12:29:44 +0100
  * runit-halt, runit-reboot removed, integrated into runit-init
  * tested with dietlibc
  * doc: usedietlibs.html added.
  * BSD license.

runit 0.1.2
Thu, 22 Nov 2001 18:29:05 +0100
  * collects all terminated children in all stages
  * sends sigkill to whole process group if stage2 crashes and waits
    5 seconds before restarting
  * ctraltdel not automatically shuts down, now respects /etc/runit/stopit
  * /etc/runit/ctrlaltdel touches /etc/runit/stopit
  * on shutdown request: send sigterm to stage 2, wait max 5 second, send
    sigkill if still running, leave stage 2, enter stage 3

runit 0.1.1
Tue, 20 Nov 2001 11:56:58 +0100
  * package moved to smarden.org

runit 0.1.0
Fri, 16 Nov 2001 14:01:27 +0100
  * documention
  * debian package

runit 0.0.4
Sun, 11 Nov 2001 19:07:49 +0100
  * initial release