Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311365 - System hangs on shutdown/reboot in halt.sh when sshfs mounted
Summary: System hangs on shutdown/reboot in halt.sh when sshfs mounted
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 23:52 UTC by steve
Modified: 2010-03-31 18:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2010-03-25 23:52:42 UTC
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
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2010-03-31 18:33:47 UTC
I cannot replicate the issue.
Please update your sshfs-fuse version. 
Add the used versions, emerge --info etc. before reopening if the problem persists.