Mailinglist Archive: opensuse-bugs (4728 mails)

< Previous Next >
[Bug 573246] mounted shares via mount.cifs disappear when dhclient renews lease
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 1 May 2010 16:59:51 +0000
  • Message-id: <20100501165951.589F0CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=573246

http://bugzilla.novell.com/show_bug.cgi?id=573246#c18


Gustav Haapalahti <gushaa@xxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |gushaa@xxxxxxxxx

--- Comment #18 from Gustav Haapalahti <gushaa@xxxxxxxxx> 2010-05-01 16:59:48
UTC ---
I also have this problem.

If I run the command
mount -t cifs //server/share /mnt/mountpoint
the share gets mounted and it becomes present in in /etc/mtab

When the dhcp lease is renewed the script
"/etc/sysconfig/network/if-up.d/21-smbfs"
is run which in turn calls /usr/sbin/rcsmbfs restart

The rcsmbfs script runs the command
"umount -at cifs"
which will unmount all cifs mounts that are present in the mtab file.

A workaround for this is to mount your cifs shares with
mount -n -t cifs //server/share /mnt/mountpoint
which will not put a line into the mtab file.

This is however a workaround that should not be needed.

PS. I use dhcpcd 3.2.3-47.4.1

Best Regards Gustav

--
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 >