Hi,
I'm trying to reboot s6-based qemu system [1] and it seems to hang
at around s6-rc -ad change stage. Could anyone please point out why
it can't proceed to reboot, maybe I'm doing something wrong?
The system runs with s6-svscan as pid 1.
I log in and initiate reboot with
s6-svscanctl -i /run/service
This results in
s6-svc: fatal: unable to control /run/service/s6-svscan-log: supervisor not listening
Shutting down system.
Syncing disks.
but I still have my sh, and I can see with ps that all s6-supervise have been
killed except for s6-supervise getty. By this point ps shows pid 1 as
foreground s6-rc -ad change foreground s6-echo Performing reboot. s6-reboot
and it does not seem to proceed any further.
Killing sh, getty or its supervisor does not help.
Same with halt and poweroff.
The init script in that system is
custom/board/common/overlay/s6-init/sbin/init
and reboot script is
custom/board/common/overlay/s6-init/etc/rc.shutdown
[1]
https://github.com/elebihan/buildroot-s6
Received on Thu Nov 12 2015 - 15:45:59 UTC