On Thu, Feb 2, 2017 at 4:43 AM, Guillaume Perréal <gperr...@free.fr> wrote:
> 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 ?
Make sure you are running s6-svscan with the -s option.
> The source of my scripts are there, if one would like to check them:
"If the doors of perception were cleansed every thing would appear to
man as it is, infinite. For man has closed himself up, till he sees
all things thru' narrow chinks of his cavern."
-- William Blake