The runit documentation (
http://smarden.org/runit/replaceinit.html)
recommends users to replace the FreeBSD /sbin/init with runit-init. This
works at first glance but breaks the FreeBSD upgrade procedure.
The correct way to use alternative init exectuables is to change the
init_path kernel environment variable. The init_path kenv variable is
interpreted as a list of colon separated paths to init executables.
To set the init_path kenv variable through the FreeBSD /boot/loader add
the following line to /boot/loader.conf:
init_path="/sbin/runit-init:/sbin/init:/rescue/init"
Upgrading FreeBSD overwrites /sbin/init with a new version of the
FreeBSD init leaving the system unusable unless steps are taken to start
runsvdir through the FreeBSD rcNG system if init is not runit-init.
Received on Mon Dec 08 2014 - 13:07:01 UTC