S6-boot, S6opts : new version


Author : obarun | Tags : Packagespublied : 2018-01-18 18:01:00

You can find on obarun testing repo s6-boot 0.2.1 and s6opts 0.1.9 packages. It's strongly recommended to test and upgrade those packages as soon as possible. Those packages will pass on obarun repo on February 5, 2018.


S6-boot changes :

  • classic service for root user are now launched on the same scandir as boot services, meaning /run/boot/service (previously /run/user/master/classic).
  • rc service database for root user is now located at /run/boot/master- (previously /run/user/master/rc) and use the same scandir as boot rc services.
  • S6.conf have a new variable : TTY. This variable set the number of tty launched at the boot time. By default the variable is set to 2, so tty1 and tty2 will be created at boot time. All those tty will not launched if something wrong happens during the boot. As usual an interactive shell will be started instead.
  • The earlier tty for debug purpose is now launched on tty6 (previously tty2).


Pacman will install a newly /etc/s6/s6.conf file stored as s6.conf.pacnew and the old is left as s6.conf. You should backup your old, make changes to .pacnew (timezone, hostname, etc) and save it as s6.conf. Do not forget to make the change on this file before rebooting.


S6opts changes :
The major changes on this version should be transparent for the user. However a manual intervention is needed if you have already a user supervision tree. S6opts use /usr/share/obarun/s6opts/template to create the supervision tree for the first time and copy the file service.conf to /home/name_of_user/service/service.conf. This file contain important changes on it.

If you do not have made changes on this file simply follow these steps :

$ cp -f /usr/share/obarun/s6opts/template/service.conf /home/name_of_user/service/service.conf
Now replace the variable GEN_NAME=base by GEN_NAME=name_of_your_user. That's it.


If you have made some changes on this file, remove the variables which doesn't exist on the new service.conf file, append your file with the new GEN_NAME variable and set it to the name of the user used


Pacman will install a newly /etc/obarun/s6opts.conf file stored as s6opts.conf.pacnew and the old is left as s6opts.conf. You should backup your old, make changes to .pacnew and save it as s6opts.conf. Do not forget to make the change on this file before rebooting.


Bugs report are welcomed

Latest posts