On Mon, Mar 13, 2023 at 05:03:39PM +0100, Henry Jensen via Dng wrote: > Curious, my /etc/runit/3 looks completely different. The last line is
> /etc/init.d/rc 0
> 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
> sleep 1
> pkill --inverse -s0,1 -KILL
> swapoff -a
> 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.
There was a "recent" (on my scale, ie. within 10 years or so :) change in
Debian where sshd is *not* killed along with all the other daemons in
the K scripts. Wonder if that might have something to do with this, as
killing all the daemons indiscriminately seems to help.
This message was posted to the following mailing lists: