rc-mount.sh is designed to use fuser on mounted partitions to kill any process still accessing those mounts when the system is about to shut down. The script is should use SIGTERM for the first two fuser runs and if those fail using SIGKILL for the last run of fuser. Unfortunately the script is a bit flawed and doesn't come to the point where SIGKILL could be used. This is especially bad when /home is on a separate partition/mount and someone is still logged into the system via ssh while shutdown is running. In this case rc-mount.sh fails to kill the ssh-process which results in rc-mount.sh being unable to unmount /home. The patch mentioned in the URL field does fix this problem so please include that patch in our openrc package. Reproducible: Always Steps to Reproduce: 1. Have /home being on a separate partition/mount 2. Have some user where his $HOME is located under /home logged into the machine via ssh 3. run shutdown on the machine 4. see unmount of /home failing due to ssh process not being killed by fuser in rc-mount.sh
Roy, I have been asked to do a revbump to include this patch. However, there have been quite a few changes since -r1, so, I am enclined to wait for your next release. Can you give me an idea of when that may happen? Thanks, William
I'll see about knocking one out over the weekend
This is fixed in 0.6.1-r1.