| Summary: | System hangs on shutdown/reboot in halt.sh when sshfs mounted | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | steve <fourstar10_2000> |
| Component: | [OLD] baselayout | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I cannot replicate the issue. Please update your sshfs-fuse version. Add the used versions, emerge --info etc. before reopening if the problem persists. |
My systems hang on shutdown/reboot @ "Unmounting filesystems" when I have a sshfs mount. adding echos to halt.sh I found it hangs unmounting "/sys/kernel/security" I found if I commented out this code: ------------------------- # If we're using the mount (probably /usr) then don't unmount us if [[ " $(fuser -m "${x}" 2>/dev/null) " == *" $$ "* ]] ; then continue fi ------------------------- and a sshfs mount exists, the system reboots ok. I don't understand what *" $$ "* is, so i dont have a fix. thanks steve Reproducible: Always Steps to Reproduce: 1.sshfs root@somemachine:/somedir somedir 2.reboot 3.system hangs @ "Unmounting filesystems" Expected Results: system reboots