s6-linux-init: /etc/rc.tini not executed

From: Guillaume Perréal <gperreal_at_free.fr>
Date: Thu, 2 Feb 2017 13:43:00 +0100

Hello,

I finally have a working initramfs and know the system is happily
booting. I am slowly adding one-shots and services to build a functional
server

However, it seems there is an issue with poweroff :

If I manually launch /run/s6/services/.s6-svcan/SIGUSR1, everything is
fine. /etc/rc.tini is executed first, shutting down s6-rc, then
/etc/rc.shutdown.

But when I use s6-poweroff, it seems s6-svscan skips directly to
/etc/rc.shutdown, omitting /etc/rc.tini.

Have I overlooked/misunderstood something ?

The source of my scripts are there, if one would like to check them:
https://github.com/Adirelle/s6-alpy/blob/master/rootfs/etc

-- 
Guillaume.
Received on Thu Feb 02 2017 - 12:43:00 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC