CHANGES (28327B)
1 2.1.2 2 Sun, 10 Aug 2014 18:01:54 +0000 3 * doc/index.html: reorder, cleanup links to distributions; add Linux 4 from Scratch, Finnix, VServer. 5 * sv.c: properly format status command's output on failure cases. 6 * sv.c: support optional LSB init script actions reload and 7 try-restart. 8 * man/sv.8: "sv exit" does not send a TERM signal to the log service 9 (thx Jonathan Nieder). 10 * fmt_ptime.c: 64 bits time_t fix for svlogd (tnx Jérémie 11 Courrèges-Anglas). 12 * sv.c: fix typo that may lead to wrong output from sv when reporting 13 status of multiple service directories. 14 * doc/index.html: add deepOfix Mail Server to list of distributions 15 that include runit (thx Debayan Banerjee). 16 * doc/useinit.html: update description on how to use with upstart 17 (thx Gabriel de Perthuis). 18 * doc/index.html: add Dragora GNU/Linux to list of distributions that 19 use runit as default init scheme (thx Matias A. Fonzo). 20 * doc/index.html: add ArchLinux to list of distributions that include 21 runit (thx Kevin Berry). 22 23 2.1.1 24 Sun, 04 Oct 2009 20:28:38 +0000 25 * doc/upgrade.html: fix typo. 26 * sv.c: on 'down', send runsv the 'down' command properly if not yet 27 done (e.g. when taken up with 'once'). 28 29 2.1.0 30 Thu, 24 Sep 2009 22:49:33 +0000 31 * pathexec_env.c, pathexec.h: add function pathexec_env_run(). 32 * chpst.c, man/chpst.8: new option -b argv0: run prog with different 33 0th argument. 34 * sv.c: fix exit code of status command in lsb mode (thx Mathieu 35 Poumeyrol) 36 * chpst.c, svwaitdown.c, svwaitup.c: fix checks for return value of 37 open_* functions (thx David Reiss). 38 * runsv.c: exit with error if [log/]supervise/control exists, but is 39 not a fifo (thx Charlie Brady). 40 * man/sv.8: clarify which return values apply to the LSB init script 41 interface. 42 43 2.0.0 44 Sun, 15 Jun 2008 15:31:05 +0000 45 46 1.9.0 47 Mon, 05 May 2008 22:00:13 +0000 48 * doc/upgrade.html: typo. 49 * sv.c: service name is also relative to the current directory if it 50 ends with a slash. 51 * change default directory for services from /var/service/ to /service/. 52 * runsv.c: create temporary new status files for log/supervise/ actually 53 in log/supervise/. 54 * doc/benefits.html: minor additions. 55 56 1.8.0 57 Fri, 21 Sep 2007 00:33:56 +0000 58 * man/svlogd.8: add hint on how to manually remove log files after the 59 number of log files svlogd should maintain has been reduced; add hint 60 about increasing the buffer size if lots of data is to be processed 61 in short time. 62 * chpst.c, uidgid.c: improve error reporting if getpwnam() or getgrnam() 63 fails; cleanup. 64 * svlogd.c: don't statically bind local udp socket, but request new 65 source port for each log message sent through udp. 66 * runit.c: fix typo in error messages (thx Matthew R. Dempsky); minor 67 rewording. 68 * doc/useinit.html: add instructions on how to use with upstart (thx 69 Lloyd Zusman). 70 * chpst.c: add explicit braces to avoid ambiguous 'else'. 71 * uw_tmp.h1: fallback to UTMP_FILE if _PATH_UTMP is not defined as seen 72 on AIX 5.2 ML1, AIX 5.3 ML5 (thx Daniel Clark). 73 * sv.c: fix race on check for down if pid is 0 and state is run or finish. 74 * runit.c: speed up collecting zombies. 75 * runit.c: force check for zombies after a 14 second timeout without 76 signals (CHLD, CONT, INT). 77 * doc/index.html: typo. 78 * doc/*.html: remove $Id$. 79 80 1.7.2 81 Tue, 21 Nov 2006 15:13:47 +0000 82 * doc/index.html: add list of distributions that are known to include 83 or package runit; some reordering. 84 * doc/replaceinit.html: point to faq.html#create, faq.html#tell (thx 85 David Kaufman). 86 * doc/runscripts.html: point to faq.html#createlog. 87 * runit.c: fix arguments to wait_pid() after fork for reboot_system() 88 (thx Jan Kampe). 89 * man/runsv.8: suggest printf t instead of echo -n t. 90 * runsv.c: really don't act on commands in state finish; minor. 91 92 1.7.1 93 Sat, 04 Nov 2006 19:23:29 +0000 94 * chpst.c, uidgid.c, uidgid.h: support numerical uid gid through 95 chpst -[u|U] :uid:gid... 96 * man/chpst.8: adapt; clarify that users and groups are looked up in 97 /etc/passwd and /etc/group only. 98 * sv.c: properly wait for a service to be restarted on 'restart'; 99 support checks through -v for pause, cont, kill. 100 * doc/runscripts.html: add contributed run scripts (thx Kevin, marlowe, 101 ed neville, xavier dutoit). 102 103 1.7.0 104 Sat, 07 Oct 2006 18:24:17 +0000 105 * svlogd.c, fmt_ptime.*, man/svlogd.8: new option -ttt: prefix log 106 messages with sortable UTC timestamp YYYY-MM-DDTHH:MM:SS.xxxxx. 107 * runsv.c, runsv.8: give two arguments to ./finish: exit code and exit 108 status of ./run (mostly copied from pipe-tools' npt-supervise, thx 109 Laurent Bercot). 110 * runit.c: don't make console the controlling terminal for process 1, 111 but for stage 1 only; fork before initiating system halt or reboot, 112 the linux kernel calls do_exit(0) in kernel/sys.c (thx Jan Kampe). 113 114 1.6.0 115 Thu, 29 Jun 2006 07:52:35 +0000 116 * svlogd.c: cleanup *.t files possibly leftover by processor when 117 interrupted by signal, also on startup (thx Andras Korn, 118 http://bugs.debian.org/369840); 1st rename .t to .s, then remove .u. 119 * man/svlogd.8: adapt. 120 * svlogd.c: prepend optional timestamp to log messages sent through UDP, 121 as done for messages written to dir and to stderr. 122 * uidgid.c: properly fixup user/group argument on getpwnam() error. 123 * doc/benefits.html: typo; wording. 124 125 1.5.1 126 Wed, 10 May 2006 20:55:35 +0000 127 * runsv.c: delay restart of log service at least 1 sec, just as the main 128 service. 129 * runsvdir.c: don't double-copy filedescriptor. 130 * package/README, package/COPYING: 2006. 131 * man/runsvctrl.8, man/runsvstat.8, man/svwaitup.8, man/svwaitdown.8, 132 doc/runsvctrl.html, doc/runsvstat.html, doc/svwaitdown.html, 133 doc/svwaitup.html: remove; obsolete. 134 135 1.5.0 136 Sun, 16 Apr 2006 12:26:50 +0000 137 * man/runsvdir.8: document that the services directory is re-scanned if 138 the time of last modification, the inode, or the device has changed. 139 * sv.c: don't report success on 'sv start' if the service is in state 140 finish (thx Matthew R. Dempsky). 141 * svlogd.c: new config line p: optionally prefix each line written to 142 logs, stderr, or through udp; no longer skip empty lines (just 143 containing '\n'), old behavior can be restored with '-' in config. 144 * man/svlogd.8: document new p config line; adapt. 145 146 1.4.1 147 Mon, 20 Mar 2006 18:54:41 +0000 148 * doc/faq.html: typos; add usercontrol, userservices; minor. 149 * src/uidgid.h: use uid_t, git_t (fix setting of multiple groups with 150 dietlibc, thx Tino Keitel, http://bugs.debian.org/356016) 151 152 runit 1.4.0 153 Mon, 06 Mar 2006 12:45:08 +0000 154 * doc/faq.html: new. 155 * doc/benefits.html: use sv program instead of runsvstat, runsvctrl; 156 minor. 157 * doc/replaceinit.html, doc/runlevels.html: put getty service directory 158 into /etc/sv/. 159 * doc/runscripts.html: use sv program instead of svwaitup. 160 * etc/*/3, etc/macosx/StartupItems/runit: use sv program instead of 161 svwaitdown. 162 * man/runsv.8: use sv program instead of runsvctrl. 163 * man/sv.8: minor. 164 * Makefile, package/commands: no longer build/install runsvctrl, 165 runsvstat, svwaitdown, svwaitup. 166 * man/runsvctrl.8, man/runsvstat.8, man/svwaitdown.8, man/svwaitup.8: 167 remove; obsolete. 168 * doc/index.html: add faq; remove runsvctrl, runsvstat, svwaitdown, 169 svwaitup. 170 * sv: fix usage output. 171 * chpst: new option -d, limit data segment per process; don't use nested 172 functions. 173 174 runit 1.3.3 175 Mon, 02 Jan 2006 20:35:34 +0000 176 * chpst.c: adjust nice value and set limits before dropping permissions. 177 * sv.c: new additional command 'check'; with -v check for CONT through 178 ./check if service is up. 179 * man/sv.8: adapt. 180 181 runit 1.3.2 182 Sun, 18 Dec 2005 11:22:04 +0000 183 * svlogd.c: don't print extra newlines to the log if additionally writing 184 to the network through udp (thx Andras Korn, 185 http://bugs.debian.org/339030). 186 * runsvdir.c: also process svdir changes if mtime of svdir has changed into 187 the past (thx Martin Dickopp). 188 * doc/index.html: update description; Please contact this list and not me 189 privately. 190 * doc/replaceinit.html, doc/runscripts.html: minor. 191 * man/chpst.8: -U doesn't support a list of groups. 192 * man/svlogd.8: update PATTERN MATCHING section, add example (based on 193 sugesstions from Joshua N Pritikin). 194 * man/*8: update SEE ALSO sections: runsvctrl, runsvstat, svwaitdown, 195 svwaitup will become obsolete; remove references to man pages for 196 programs from the daemontools package. 197 198 runit 1.3.1 199 Wed, 24 Aug 2005 20:14:17 +0000 200 * doc/runscripts.html: typo; openssh needs absolute path (thx Kevin Berry); 201 exec into dhcpcd. 202 * uidgid.c, uidgid.h, chpst.c: support colon-separated list of groups. 203 * sv.c: utilize optional ./check script in service directory to check for 204 availablity of service. 205 * runsv.c: wait_pid() might be interupted. 206 * man/chpst.8, man/sv.8: adapt. 207 208 runit 1.3.0 209 Sun, 24 Jul 2005 16:50:55 +0000 210 * man/runsv.8: typo; no longer document the e control character; clarify 211 custom control on d and x. 212 * doc/useinit.html: how to use runit with macosx 10.4 (thx Lars Uffmann). 213 * etc/macosx/org.smarden.runit.plist: new; launchd plist file for 214 runsvdir-start (thx Lars Uffmann). 215 * doc/runscripts.html: don't use absolute pathnames for programs in $PATH; 216 add contributed run scripts (thx Sascha Huedepohl); typos. 217 * runsvchdir.c, runsvstat.c: optimize output buffer handling. 218 * runsvctrl.c: write x control character to runsv on e. 219 * svlogd.c: write to log dir after possibly writing through udp (fixes 220 line break issue). 221 * runsv.c, runsv.check: optimize output buffer handling; porperly run 222 custom t, d, x, k, when stopping service; no longer support e control 223 character. 224 * sv.c: new sv program to control services, optionally can be linked to 225 /etc/init.d/ as lsb "init script" command line interface. 226 * Makefile, TARGETS: adapt. 227 * chpst.c: fix pointer types. 228 * man/sv.8: new. 229 * package/TODO: new. 230 231 runit 1.2.3 232 Mon, 18 Apr 2005 17:08:35 +0000 233 * doc/runscripts.html: add contributed run scripts (thx Kevin Berry); 234 remove mysql run scripts. 235 * svlogd.dist, svwaitdown.dist, svwaitup.dist: fix program selftest's 236 false alarms (thx Ian Stokes-Rees). 237 238 runit 1.2.2 239 Sun, 03 Apr 2005 09:21:52 +0000 240 * doc/index.html, doc/replaceinit.html: no longer refer to sysvinit's 241 shutdown program. 242 * man/svlogd.8: svlogd doesn't decrease the number of log files in a log 243 directory; with n0 don't remove any log files. 244 * svlogd.c: properly prefix log messages written to standard error with 245 optional timestamp. 246 * runsvctrl.c, svwaitdown.c, svwaitup.c: supervise not running -> runsv 247 not running. 248 * package/README: 2005. 249 250 runit 1.2.1 251 Sat, 15 Jan 2005 11:57:46 +0000 252 * chpst.c: typo. 253 * svwaitdown.c: minimum timeout is 1 second; service directories no longer 254 must start with /. 255 * svwaitup.c: minimum uptime of services is 1 second; service directories 256 no longer must start with /; print number of seconds a service is up if 257 verbose. 258 * man/svwaitdown.8, man/svwaitup.8: adapt. 259 * doc/runscripts.html: add contributed run scripts (thx Stefan Karrmann, 260 Kevin Berry, Karl Chen). 261 * runsv.c: typos; bugfix: run optional control/x when receiving SIGTERM 262 (thx Vladimir Smelhaus); minor. 263 * man/runsvctrl.8: minor. 264 * package/COPYING: adapt, 2005. 265 266 runit 1.2.0 267 Fri, 17 Dec 2004 21:08:50 +0000 268 * doc/upgrade.html: typo. 269 * runsv.c: support custom control commands through control/ directory, 270 optionally switch off sending signal; don't update timestamp in status 271 when running ./finish; only sleep for a second if ./run has been 272 restarted within a second, and after updating status to down, normally 273 up, want up. 274 * man/runsv.8: document custom control commands. 275 * runsv.check, runsv.dist: check custom control commands. 276 * doc/runscripts.html: add contributed run scripts (thx Stefan Karrmann, 277 Kevin Berry). 278 279 runit 1.1.0 280 Sat, 06 Nov 2004 17:21:11 +0000 281 * svlogd.c: new config option t timeout (thx Enrico Scholz); config 282 options e and E select and deselect lines for stderr respectively (thx 283 Vladimir Smelhaus); new config option N. 284 * man/svlogd.8: adapt. 285 * runsv.c: on commands down and exit send CONT after TERM. 286 * man/runsv.8: adapt. 287 * etc/2: use -P option to runsvdir. 288 * src/svlogd.check: add check for t config option. 289 * chpst.c: new option -n: adjust nice level. 290 * man/chpst.8: adapt. 291 292 runit 1.0.5 293 Tue, 21 Sep 2004 18:18:14 +0000 294 * svlogd.c: fix line buffer handling for pattern matching (thx Enrico 295 Scholz); properly retry writing to current on error; minor. 296 * doc/index.html: wording; add link to useinit.html; remove link to runit 297 on linuxfromscratch. 298 * doc/runscripts.html: add hint, some getties need to be run in a new 299 session/process group (thx Dan Melomedman). 300 * man/svlogd.8: minor fixes. 301 * man/svwaitdown.8: remove hint about -x option. 302 * package/check, package/compile, package/install, package/install-man, 303 package/upgrade: use set -e instead of #!/bin/sh -e. 304 * runsvdir.c: new option -P, run each runsv process in a new session and 305 process group (thx Charlie Brady). 306 * man/runsvdir.8: adapt; typo. 307 308 runit 1.0.4 309 Sun, 01 Aug 2004 18:29:36 +0000 310 * doc/runlevels.html, doc/upgrade.html, doc/useinit.html, man/runsvdir.8, 311 man/runsvchdir.8: minor changes in wording, notations. 312 * runsvdir.c: check services dir again after one second until it's 313 unchanged (thx Eric Lammerts); sleep one second before scanning if 314 services dir mtime is now; loop while chdir to starting dir fails; 315 rename log, loglen to rplog, rploglen. 316 * etc/macosx/StartupItems/runit: use -x option to svwaitdown; timeout 14. 317 318 runit 1.0.3 319 Sat, 26 Jun 2004 14:50:41 +0000 320 * chpst.c, man/chpst.8: new option -/ chroot. 321 * runit.c, man/runit.8: if stage 1 crashes or exits 100, stage 2 will be 322 skipped; if stage 2 crashes or exits 111, it will be restarted. 323 * package/check, package/compile, package/install-man, package/upgrade: 324 minor cleanup. 325 * doc/runscripts.html: add, adapt various run scripts (thx). 326 327 runit 1.0.2 328 Mon, 29 Mar 2004 17:52:50 +0000 329 * man/svlogd.8: timestamps are not considered when matching patterns (thx 330 Andras KORN). 331 * runsv.c: on exit run the finish scripts when taking the service down 332 (thx X.). 333 * runsv.c, runsvctrl.c: handle sig_quit (thx Wayne Marshall). 334 * svlogd.c: don't crash on zero byte long config file (thx Alex Efros). 335 * man/*: minor cleanup. 336 * doc/index.html: add link to runit on linuxfromscratch doc (thx Richard 337 A Downing FBCS). 338 339 runit 1.0.1 340 Sun, 07 Mar 2004 10:40:40 +0000 341 * doc/usedietlibc.html: minor. 342 * fmt_ptime.c: create timestamps in UTC, not localtime. 343 * chpst.c: -e dir: silently ignore directories, print warning if verbose. 344 * runsv.c: allow also log/supervise to be a dangling symlink; more 345 meaningful error message if opening lock or locking fails. 346 * check-diff, check-dist, check-local, package/check: new; run checks on 347 programs. 348 * package/install: run package/check. 349 * chpst.check, runit-init.check, runit.check, runsv.check, 350 runsvchdir.check, runsvctrl.check, runsvdir.check, runsvstat.check, 351 svlogd.check, svwaitdown.check, svwaitup.check, utmpset.check: new; 352 check program. 353 * chpst.dist, runit-init.dist, runit.dist, runsv.dist, runsvchdir.dist, 354 runsvctrl.dist, runsvdir.dist, runsvstat.dist, svlogd.dist, 355 svwaitdown.dist, svwaitup.dist, utmpset.dist: new; dist check program 356 output. 357 358 runit 1.0.0 359 Tue, 10 Feb 2004 13:37:28 +0000 360 * doc/benefits.html, doc/dependencies.html, doc/index.html, 361 doc/replaceinit.html, doc/runlevels.html, doc/upgrade.html, 362 doc/useinit.html: cleanup; minor. 363 * man/utmpset.8: run utmpset in finish script, not run script. 364 * man/runsvdir.8: minor. 365 366 runit 0.13.1 367 Mon, 19 Jan 2004 18:32:58 +0000 368 * doc/upgrade.html: typo. 369 * svlogd.c: bugfix: properly print new-line character to the log on end 370 of line (thx Pawel Chmielowski). 371 * trysocketlib.c: new; check for libraries needed for socket() on some 372 systems (fixes link failure on solaris, thx Uffe Jakobsen). 373 * Makefile: adapt. 374 * print-cc.sh, print-ld.sh: head -1 -> head -n1. 375 376 runit 0.13.0 377 Mon, 12 Jan 2004 14:39:38 +0000 378 * doc/runscripts.html: use html named entities (thx Taj Khattra); add 379 more contributed run scripts (thx Marek Bartnikowski, Thomas Schwinge). 380 * svlogd.c: support sending log entries to remote host through udp, 381 configurable through u and U lines in log dir config file; minor. 382 * man/svlogd.8: adapt; document -tt option. 383 * package/compile, package/install-man, package/upgrade: exit 1 on 384 sub-shell failures. 385 * man/runsv.8: fix typos (thx Christian Hammers). 386 387 runit 0.12.1 388 Tue, 18 Nov 2003 15:42:44 +0000 389 * doc/runscripts: add pppd run script (with chpst) next to the ppp one. 390 * man/chpst.8: typo. 391 * etc/debian/3: test -r -> test -x (thx Alejandro Mery). 392 * runsv.c: don't start new processes while collecting children. 393 394 runit 0.12.0 395 Wed, 29 Oct 2003 18:27:48 +0000 396 * runsv.c: don't use EOVERFLOW as it is not standard (thx Christoph 397 Scheurer). 398 * reboot_system.h1, reboot_system.h2, tryreboot.c: new; test if reboot() 399 function takes one or two arguments (solaris). 400 * runit.c: fallthrough stage 3: re-get stderr; sync() before reboot(). 401 * uw_tmp.h1, uw_tmp.h2, tryuwtmp.c, tryuwtmpx.c: new; test for utmpx or 402 utmp support. 403 * utmpset.c: support systems with utmp or utmpx (solaris). 404 * Makefile: adapt. 405 * supports the solaris platform (thx Uffe Jakobsen). 406 * doc/benefits.html, doc/index.html, doc/replaceinit.html, 407 doc/runlevels.html, doc/useinit.html: default service directory is 408 /var/service; minor. 409 * etc/2, etc/debian/3, etc/freebsd/3, etc/macosx/StartupItems/runit, 410 etc/openbsd/3, man/runsv.8, man/runsvchdir.8, man/runsvdir.8: default 411 service directory is /var/service. 412 * doc/runscripts.html: add more contributed run scripts (thx Tomasz 413 Nidecki). 414 415 runit 0.11.2 416 Tue, 23 Sep 2003 10:15:32 +0200 417 * doc/useinit.html, etc/macosx/StartupItems/runit: don't use /etc/runit/2 418 when using runit service supervision with traditional init, use 419 /sbin/runsvdir-start instead. 420 * fmt_ptime.c: calculate UTC localtime correctly. 421 * runsv.c: support ./supervise as symbolic link, on dangling symlink create 422 link target. 423 424 runit 0.11.1 425 Thu, 4 Sep 2003 11:51:02 +0200 426 * src/Makefile: add dependency to sysdeps to target fmt_ptime.o (thx Thomas 427 Schwinge). 428 * svlogd.c: barf if all log directories given at the command line fail. 429 * man/svlogd.8: adapt. 430 * doc/runscripts.html: adaptions (thx Erich Schubert, Lang Martin). 431 432 runit 0.11.0 433 Fri, 08 Aug 2003 12:37:14 +0200 434 * uidgid.c, uidgid.h: new; get uid/gid by name. 435 * chpst: new; run program with a changed process state (includes envdir, 436 envuidgid, pgrphack, setlock, setuidgid, softlimit functionality). 437 * setuidgid.c: remove; obsolete (replaced by chpst). 438 439 runit 0.10.0 440 Sun, 22 Jun 2003 20:44:58 +0200 441 * doc/index.html, doc/install.html, doc/replaceinit.html, doc/useinit.html: 442 how to install and configure runit on MacOSX. 443 * svlogd.c: typo; fix incorrect handling of processor's state file; minor 444 code cleanup; correctly calculate size for all types of timestamps. 445 * runit-init.c: exit 0 on wrong usage. 446 * package/versions: new. 447 448 runit 0.9.5 449 Tue, 17 Jun 2003 10:48:10 +0200 450 * runit.c: use select() on systems that don't provide poll(). 451 * svlogd.c: reset match flag in lineflush() in all cases. 452 * Makefile: build setuidgid in default target. 453 * doc/useinit.html: add instruction to create /etc/runit/2 first. 454 * doc/install.html: minor. 455 456 runit 0.9.4 457 Wed, 04 Jun 2003 13:56:33 +0200 458 * svlogd.c: default log file size is 1M; print verbose message only if 459 -v is set. 460 * man/svlogd.8: document -v option; minor. 461 * etc/freebsd/3, etc/openbsd/3: check if magic files in /etc/runit/ are 462 executable, not readable. 463 * etc/*/getty-tty*/run: remove utmpset from script. 464 * etc/*/getty-tty*/finish: new: run utmpset. 465 * doc/replaceinit.html: adapt. 466 * setuidgid.c: new: daemontools' setuidgid drop in replacement (not 467 installed by default). 468 * Makefile: build setuidgid. 469 * doc/index.html: update. 470 471 runit 0.9.3 472 Sun, 04 May 2003 11:30:58 +0200 473 * Makefile: actually build runsvstat, runsvctrl before installing them, 474 fixes build failure (thx Lukas Beeler). 475 * runsvctrl.c, runsvstat.c: use _exit(). 476 477 runit 0.9.2 478 Sat, 03 May 2003 17:40:23 +0200 479 * doc/runscripts.html: changes from Jesse Cablek. 480 * doc/dependencies.html, doc/useinit.html: new. 481 * doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed 482 by default. 483 * doc/install.html: remove dependency on daemontools; create /package. 484 * doc/replaceinit.html, man/runsv.8: typos. 485 * man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise. 486 * svlogd.c: fix counter var namespace. 487 * package/commands: add runsvctrl, runsvstat. 488 489 runit 0.9.1 490 Wed, 30 Apr 2003 22:10:57 +0200 491 * svlogd.c: reset match flag on deselection, fixes pattern matching. 492 493 runit 0.9.0 494 Fri, 25 Apr 2003 09:22:03 +0200 495 * runsvdir.c: don't propagate sig_term to runsv processes when receiving 496 sig_term; send sig_term to all runsv processes and exit 111 when 497 receiving sig_hangup. 498 * runit.c: print warning for each state that exits non-zero; restart 499 stage 2 if it exits non-zero. 500 * svlogd.c: code cleanup. 501 * svwaitdown.c: send command 'd' (and 'x' if -x is set) to each service if 502 it's not in state 'want down'. 503 * svwaitup.c: minor code cleanup. 504 * man/runsvdir.8, man/svwaitdown.8: adapt. 505 * doc/runscripts.html: add contributed run scripts (thx!). 506 * doc/upgrade.html, doc/index.html: adapt. 507 508 runit 0.8.4 509 Sun, 20 Apr 2003 19:31:24 +0200 510 * svlogd.c: new; runit's service logging daemon. 511 * fmt_ptime.h, fmt_ptime.c, pmatch.h, pmatch.c: new. 512 * man/svlogd.8, doc/svlogd.8.html: new. 513 * man/runsv.8, man/runsvstat.8, man/utmpset.8: minor cleanup. 514 515 runit 0.8.1 516 Wed, 12 Mar 2003 15:10:04 +0100 517 * runsvdir.c, runsv.c: close-on-exec file descriptors of current dir and 518 lock files (thx Lukas Beeler). 519 * doc/runscripts.html: add contributed run scripts (thx Robin S. Socha, 520 Claus Alboege, Paul Jarc, clemens fischer, Jesse Cablek). 521 522 runit 0.8.0 523 Tue, 25 Feb 2003 16:17:34 +0100 524 * doc/benefits.html: new. 525 * doc/index.html, doc/upgrade.html: adapt. 526 * etc/*/1, etc/*/3, etc/*/ctrlaltdel: set permissions on the magic files 527 instead of creating and removing them (can make them symbolic links 528 now); set PATH. 529 * runit.h: new; centralize runit's compiled in magic file names. 530 * runit.c: check permissions of magic files instead of sole existence; 531 conditionally call reboot(RB_AUTOBOOT), reboot(RB_POWER_OFF), 532 reboot(RB_HALT_SYSTEM) if possible; code cleanup. 533 * runit-init.c: set permissions on magic files instead of creating or 534 removing them; code cleanup. 535 * runsvdir.c: detect and tolerate system time warp; code cleanup. 536 * runsv.c, runsvchdir.c, runsvctrl.c, runsvstat.c, svwaitdown.c, 537 svwaitup.c, utmpset.c: code cleanup. 538 * man/runit.8, man/runit-init.8: adapt. 539 540 runit 0.7.2 541 Fri, 10 Jan 2003 21:34:13 +0100 542 * runsv.c: close finish script file descriptor. 543 * runsv.c: close logpipe[] instead of sending sigterm to logservice when 544 told to exit, loggers should exit when they see EOF on stdin (thx Paul 545 Jarc). 546 * etc/*/1, etc/*/3: remove explicit 'exit'. 547 * error.h: include <errno.h> (upcoming glibc changes). 548 549 runit 0.7.1 550 Wed, 23 Oct 2002 11:40:24 +0200 551 * man/runsv.8, doc/runlevels.html: typos. 552 * runsvctrl.c, runsvstat.c: exit 111 on error. 553 * runsvdir.c: continue reading directory when stat() on entry fails. 554 * doc/runsvstat.8.html,doc/runsvctrl.8.html: new. 555 * runsvstat, runsvctrl: new; optional svc, svstat replacements. 556 * doc/index.html: adapt; new example. 557 558 runit 0.7.0 559 Mon, 07 Oct 2002 11:26:27 +0200 560 * runsvdir.c: check service directory's inode and device in addition 561 to mtime; sleep at least 1 second before restarting runsv processes. 562 * runsv.c: use status[19] for state information; control pipe supports e. 563 * runsvstat.c: new option -l: only show log service if -l is given; use 564 status[19] for state. 565 * runsvchdir: new; change directory runsvdir is running in (switch 566 runlevels). 567 * man/runsvchdir.8, doc/runsvchdir.8.html: new. 568 * svwaitdown.c: -k option: only kill service that still are up on timeout. 569 570 runit 0.6.0 571 Fri, 27 Sep 2002 16:34:57 +0200 572 * man/runsv.8, man/runsvdir.8: new. 573 * doc: use runsvdir/runsv instead of svscanboot/supervise. 574 * svwaitdown.c, svwaitup.c, man/svwaitdown.8, man/svwaitup.8: services 575 must start with slash. 576 * svwaitdown: new option -x: wait for runsv to exit instead for the 577 service to be down; new option -k: SIGKILL still running services if 578 timeout is reached. 579 * stage 3: use new svwaitdown options. 580 581 runit 0.5.3 582 Mon, 23 Sep 2002 16:25:07 +0200 583 * runsv, runsvdir: new; svscan/supervise replacement. 584 * etc/runit/2: use runsvdir instead of svscanboot. 585 * runsvstat.c: new; svstat for runsv. 586 * runsvctrl.c: new; svc for runsv. 587 * runsvdir.c, runsv.c: code cleanup. 588 * utmpset.c: setlock utmp and wtmp file. 589 590 runit 0.5.0 591 Wed, 28 Aug 2002 11:18:28 +0200 592 * utmpset: avoids libutil; compiles with dietlibc; built by default. 593 * doc/usedietlibc.html: fix description. 594 * getty-*/run: add utmpset. 595 596 runit 0.4.1 597 Mon, 24 Jun 2002 15:53:11 +0200 598 * utmpset.c: new option -w: additionally write wtmp record. 599 600 runit 0.4.0 601 Sun, 19 May 2002 12:28:29 +0200 602 * src/: include public domain sources to build byte.a, unix.a, time.a: 603 runit builds without having daemontools' sources installed. 604 * utmpset.c: new utmpset program. 605 * doc/utmpset.html: new. 606 607 runit 0.3.2 608 Wed, 13 Feb 2002 10:56:17 +0100 609 * runit.c: support ctrl-alt-del also on Linux/i386, dietlibc. 610 * runscripts.html: more samples. (thx Alessandro Bono) 611 612 runit 0.3.1 613 Sun, 3 Feb 2002 16:30:55 +0100 614 * src: cleanup. 615 616 runit 0.3.0 617 Tue, 29 Jan 2002 19:38:33 +0100 618 * doc: adapted. 619 * runit.8: changes documented. 620 * runscripts.html: more examples. 621 622 runit 0.2.9 623 Thu, 17 Jan 2002 19:00:44 +0100 624 * reportedly runs on FreeBSD 4.3 (thx clemensF) 625 * svwaitdown: max timeout is 6000, really. (thx ska) 626 * runit.c: stage 1 gets no new session and full control of console; an 627 emergency shell or login program (if present) can be executed. 628 * openbsd, freebsd: support for 'single user' emergency shell in stage 1 629 * runit.c: skip stage 2 if stage 1 crashes. 630 631 runit 0.2.7 632 Tue, 1 Jan 2002 16:20:14 +0100 633 * tested on fresh freebsd 4.4 installation in vmware 634 * new etc/freebsd: stages and getty service 635 * doc: replaceinit: how to replace bsd init (freebsd) 636 * svwaitup: minor code cleanup 637 * doc: /service/getty-5/ as default getty service. 638 * doc: index: related links added. 639 * package: install-man added for installing manpages in /usr/local/man/ 640 641 runit 0.2.6 642 Sun, 30 Dec 2001 17:29:29 +0100 643 * runs on openbsd 2.9 644 * runit: console init and reinit 645 * runit: sig_pause() on end. 646 * new: etc/openbsd: stages and getty service 647 * doc: replaceinit: how to replace bsd init 648 649 runit 0.2.3 650 Thu, 27 Dec 2001 14:41:56 +0100 651 * doc: runscripts.html integrated 652 653 runit 0.2.2 654 Sun, 23 Dec 2001 18:12:29 +0100 655 * runit: checks for pid == 1 656 * new: svwaitdown, svwaitup, svwaitdown.8, svwaitup.8 657 * stage3: uses svwaitdown 658 * doc: runscripts.html added 659 660 runit 0.2.0 661 Mon, 26 Nov 2001 12:29:44 +0100 662 * runit-halt, runit-reboot removed, integrated into runit-init 663 * tested with dietlibc 664 * doc: usedietlibs.html added. 665 * BSD license. 666 667 runit 0.1.2 668 Thu, 22 Nov 2001 18:29:05 +0100 669 * collects all terminated children in all stages 670 * sends sigkill to whole process group if stage2 crashes and waits 671 5 seconds before restarting 672 * ctraltdel not automatically shuts down, now respects /etc/runit/stopit 673 * /etc/runit/ctrlaltdel touches /etc/runit/stopit 674 * on shutdown request: send sigterm to stage 2, wait max 5 second, send 675 sigkill if still running, leave stage 2, enter stage 3 676 677 runit 0.1.1 678 Tue, 20 Nov 2001 11:56:58 +0100 679 * package moved to smarden.org 680 681 runit 0.1.0 682 Fri, 16 Nov 2001 14:01:27 +0100 683 * documention 684 * debian package 685 686 runit 0.0.4 687 Sun, 11 Nov 2001 19:07:49 +0100 688 * initial release