During shutdown samba shares should be unmounted before network connection is shut down

Bug #228947 reported by Ralph Janke
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I have mounted smb/cifs share automatically during startup of Ubuntu with an entry in fstab. Startup and working with this setup works quite well. However a problem occurs during shutdown. It looks to me that the network connection is shut down BEFORE the smb share is unmounted. Therefore the system hangs during shutdown until a timeout occurs.
If I manually unmount the share before shutting down everythings works fine.
The question is: What should I change in order to get the share unmounted before the network connection is shut down?

Regards,

Udo Eisenbarth

Revision history for this message
Ralph Janke (txwikinger) wrote :

Not sure if it should be done in samba or other package. Please change package if not appropriate. Probably it needs a shutdown script in either init.d or upstart that executes during shutdown before networking and unmounts all smbfs mounts.

Revision history for this message
Mathias Gug (mathiaz) wrote :

Are you using network manager to handle your network connection ?

Changed in samba:
status: New → Incomplete
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

 status new

On Monday 12 May 2008 10:21:24 Mathias Gug wrote:
> Are you using network manager to handle your network connection ?

In my case, this happens when I set up by line the IP and the SMB mounts

--
BUGabundo :o)
(``-_-´´) http://Ubuntu.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
ps. My emails tend to sound authority and aggressive. I'm sorry in advance. I'll try to be more assertive as time goes by...

Changed in samba:
status: Incomplete → New
Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

This is the same as bug #211631, which had an unclear title. I've fixed the title of that bug and am marking this as a duplicate.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in samba (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.