Author: Henry Jensen
Subject: Re: [DNG] runit: unclean shutdown?
Am Sun, Mar 12, 2023 at 10:47:39PM -0400 schrieb Steve Litt:
> To start, I'll post my 3 shellscript, and perhaps you'll see something
> mine has that yours doesn't.
Curious, my /etc/runit/3 looks completely different. The last line is
which should execute all K* scripts in /etc/rc0.d/, including the
unmount stuff. But obiviously this fails somehow.
However, I added now some excerpts from you script before the last line:
halt -w # for wtmp
udevadm control --exit
pkill --inverse -s0,1 -TERM
pkill --inverse -s0,1 -KILL
umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
mount -o remount,ro /
It seems that this does the trick, no complains from the root partion
at boot now. Thank you.