Hi everybody! On Thu, Nov 12, 2015 at 06:37:00PM +0100, Laurent Bercot wrote: > On 12/11/2015 16:45, Alex Suykov wrote: > > s6-svc: fatal: unable to control /run/service/s6-svscan-log: supervisor > > not listening > >(...) > >By this point ps shows pid 1 as > > > > foreground s6-rc -ad change foreground s6-echo Performing reboot. > > s6-reboot > > Indeed: it's a mistake to run "s6-rc -ad change" in /etc/rc.shutdown, > because by that point s6-svscan is not running anymore. s6-rc needs an > operational supervision tree. > > "s6-rc -ad change" should be run before switching to stage 3. > Éric, can you please change this? The latest version of s6-linux-init > produces a set of scripts that work, with an additional /etc/rc.tini > to perform that kind of "stage 2 shutdown".
The "develop" branch of the repository contains an updated version of the s6 stack, as well as improvements and fixes for this problem (namely the use of /etc/rc.tini). I will merge it shortly into "master". -- ELB
