LMDE: Won't Shutdown if SSHFS Mounted

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

LMDE: Won't Shutdown if SSHFS Mounted

Postby WhatUsernameIsFree? on Sat Apr 28, 2012 12:02 pm

Hi all

In LMDE if I try shutdown the computer with SSHFS mounted the system won't ever power off. It disables all the ctrl+alt+f1 etc and X but the system sits there almost as if it's waiting for the "System will now halt." text but it never appears.

Any way to automatically unmount any SSHFS when powering down?
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 216
Joined: Wed Oct 19, 2011 1:32 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE: Won't Shutdown if SSHFS Mounted

Postby xenopeek on Wed May 02, 2012 5:06 am

Moved here by moderator
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13700
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: LMDE: Won't Shutdown if SSHFS Mounted

Postby WhatUsernameIsFree? on Wed May 02, 2012 5:59 am

What the computer sits on if you shut it down with it mounted, should it help anyone. :)

http://dl.dropbox.com/u/32606209/2012-0 ... .58.11.jpg
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 216
Joined: Wed Oct 19, 2011 1:32 pm

Re: LMDE: Won't Shutdown if SSHFS Mounted

Postby WhatUsernameIsFree? on Sun May 20, 2012 1:20 pm

Can anyone tell me a way that I can have the computer automatically unmount the remote drive when I click 'Shutdown'? Or any suggestions as to how to fix this?
WhatUsernameIsFree?
Level 4
Level 4
 
Posts: 216
Joined: Wed Oct 19, 2011 1:32 pm

Re: LMDE: Won't Shutdown if SSHFS Mounted

Postby äxl on Sat Jun 02, 2012 6:54 pm

Several scripts are run on shutdown to umount devices. Maybe you could look into them in /etc/init.d/
These are LSB scripts: http://wiki.debian.org/LSBInitScripts (http://wiki.debian.org/RunLevel)
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany


Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 2 guests