Killall5 ist executed at the end of the shutdown process. Killall5 does not have a omitpid feature, thus when the root partition is on a fuse filesystem, the fS-driver is killed, too, and the system freezes. Ubuntu implemented this feature a while ago. I created a patch for sysvinit-2.86-r10 based on the ubuntu patchset (see attachment). The Ubuntu patchset can be found here: http://archive.ubuntu.com/ubuntu/pool/main/s/sysvinit/sysvinit_2.86.ds1-59ubuntu13.diff.gz My patch is based on patch 81_killall_avoid_init, 82_killall_exclude_pids and and the following bugreport (ubuntu): https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/151580 . Reproducible: Always Steps to Reproduce: 1. install gentoo on fuse filesystem (ntfs-3g, zfs-fuse, ...) 2. "shutdown -r now" Actual Results: System freezes before reboot. Expected Results: System should reboot fine.
Created attachment 185202 [details, diff] omitpid implementation for killall5 (based on ubuntu patches)
Created attachment 185203 [details] updated ebuild using proposed patch
This was added in sysvinit-2.87, so it is supported in the latest versions in portage.