Mailinglist Archive: opensuse-bugs (4753 mails)

< Previous Next >
[Bug 567865] Shutdown hangs on stopping smbfs after NetworkManager was killed
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 8 Apr 2010 20:20:20 +0000
  • Message-id: <20100408202020.073A5CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=567865

http://bugzilla.novell.com/show_bug.cgi?id=567865#c15


Diederik van der Boor <vdboor-fora@xxxxxxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
InfoProvider|vdboor-fora@xxxxxxxxxxxxxxx |
|m |

--- Comment #15 from Diederik van der Boor <vdboor-fora@xxxxxxxxxxxxxxxx>
2010-04-08 20:20:17 UTC ---
(In reply to comment #14)
the solution from comment #5 is described in bug 487190#c7.
you should NOT use /etc/init.d/smbfs!
disable it using: insserv -r smbfs

and instead use networkmanager dispatcher script
/etc/NetworkManager/dispatcher.d/smbfs.
this script can be made by copying /etc/NetworkManager/dispatcher.d/nfs and
changing it.
here it is ready-to-use as attachment from bug 487190:
https://bugzilla.novell.com/attachment.cgi?id=336364

I've tried this solution, it merely moves the problem.

Mounting works properly after being connected. Unmounting happens too late.

Unmounting happens when the connection is already closed. For example
* When selecting a different network to connect to
* When closing/killing the network manager applet.

So there is a umount.cifs being stale for each of my connected shares. After ~1
minute it's timed out, and the mount is removed. Then it continues with the
next mounted share, up till all 5 I have..


but this only works when:
1. /usr is on local disc.
2. NetworkManger is used

but i assume this is the case for you, Diederik, right?

Yes, I'm using a pretty standard openSUSE install on a laptop. Hence the
NetworkManager stuff, because I'm mostly connected with WiFi, even at home.
Here, I auto-mount my NAS network shares via smbfs/cifs.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >