During shutdown samba shares should be unmounted before network connection is shut down
Bug #228947 reported by
Ralph Janke
This bug report is a duplicate of:
Bug #211631: Network is brought down before network filesystems are unmounted (CIFS timeout at shutdown).
Edit
Remove
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
Changed in samba: | |
status: | Incomplete → New |
To post a comment you must log in.
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.