G. Pape
runit

runit - upgrading from previous versions


0.7.x to 0.8.0

With this version runit's handling of its magic files has changed slightly for better support of read-only root filesystems. You should adapt stages 1 and 3 and ctrlaltdel to set file permissions on the magic files instead of creating and removing them; please take a look at the examples in /package/admin/runit/etc/.

The runit program now calls the reboot() function if possible, and if stage 3 didn't take care of this.

0.6.0 to 0.7.0 or 0.7.1 or 0.7.2

This version introduces runlevel support with the new runsvchdir program. See the runlevels documentation for more information.

The runsvdir and runsv programs have changed and should be restarted. If you want to switch runlevels, runsvdir must be restarted. This is done on the next reboot or by following these steps:

0.5.0 to 0.6.0

There are two new programs, runsvdir and runsv, which replace the svscanboot/svscan/readproctitle/supervise combination of daemontools. Please adapt runit's stage 2 (/etc/runit/2) to use runsvdir instead of svscanboot; see the examples in /package/admin/runit/etc/. The change takes effect on the next reboot or if you stop all services and kill svscan and readproctitle. runit then automatically restarts stage 2.

The svwaitdown program has new options: -k and -x. They are used in runit's stage 3 (/etc/runit/3). Please adapt your /etc/runit/3 script after the changes to stage 2 have taken effect (runsvdir must run instead of svscanboot); see the examples in /package/admin/runit/etc/.

0.4.1 to 0.5.0

There is a new program: utmpset. This program is used in the getty run scripts to enable local login accounting. You might want to adapt your getty run scripts /service/getty-*/run, see the examples in /package/admin/runit/etc/.
Gerrit Pape <pape@smarden.org>
$Id: upgrade.html,v 1.8 2003/02/25 12:51:38 pape Exp $