Mailinglist Archive: opensuse-bugs (4766 mails)

< Previous Next >
[Bug 573246] mounted shares via mount.cifs disappear when dhclient renews lease
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 25 Apr 2010 07:50:27 +0000
  • Message-id: <20100425075027.91B04245520@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=573246

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


Christian Eggers <ceggers@xxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P3 - Medium
Status|RESOLVED |REOPENED
CC| |ceggers@xxxxxx
Resolution|FIXED |

--- Comment #11 from Christian Eggers <ceggers@xxxxxx> 2010-04-25 07:50:24 UTC
---
Hi all,

my system is also suffering from this bug. I've found out that the following
happens on each renewal of the dhcp lease:

dhcpcd
--> /etc/sysconfig/network/scripts/dhcpcd-hook [..] up
--> if-up br0 -o dhcp
--> if-up.d/21-smbfs
--> /usr/sbin/rcsmbfs restart
--> umount -at cifs

The command "/usr/sbin/rcsmbfs restart" will unmount all cifs shares and only
remount those shares which are listed in /etc/samba/smbfstab. If shares are not
present here (for instance in case of mounting manually or using pam_mount), it
will not be mounted again.

Independent of the fact that only shares present in /etc/samba/smbfstab are
remounted, I disbelieve that it's a good behavior to remount a device every few
minutes...

regards
Christian

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