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: Mon, 26 Apr 2010 18:52:15 +0000
  • Message-id: <20100426185215.989E42454D6@xxxxxxxxxxxxxxxxxxxxxx>

Christian Eggers <ceggers@xxxxxx> changed:

What |Removed |Added
InfoProvider|rmueller@xxxxxxxxxxxxxxxxxx |

--- Comment #16 from Christian Eggers <ceggers@xxxxxx> 2010-04-26 18:52:14 UTC
(In reply to comment #15)

This bug was not reproducible in my setup with dhclient and that is why I'm
thinking this is a dhcpcd issue. Could you see whether it is reproducible when
you use dhclient instead of dhcpcd?

It's not surprising that the problem doesn't exist with dhclient. With dhcpcd a
complex script (/etc/sysconfig/network/scripts/dhcpcd-hook) is called
periodically every time the lease is renewed. dhclient uses a completely
different script (/sbin/dhclient-script) which is only called once after
dhclient initially gets the lease.

dhclient (at startup):
ifup br0
--> ifup-dhcp br0
--> /sbin/dhclient
--> /sbin/dhclient-script

dhclient (at lease renewal):

dhcpcd (at startup):
ifup br0
--> ifup-dhcp br0
--> /sbin/dhcpcd
--> /etc/sysconfig/network/scripts/dhcpcd-hook
--> ifdown br0 -o dhcp
--> ifup br0 -o dhcp
--> if-up.d/21-smbfs
--> rcsmbfs restart

dhcpcd (at lease renewal):
--> /etc/sysconfig/network/scripts/dhcpcd-hook
--> ifup br0 -o dhcp
--> if-up.d/21-smbfs
--> rcsmbfs restart

Also I think this is nothing specific to cifs; any network filesystem should
have the same behavior (for e.g. nfs mounts).

I don't know why the package "samba-client" places a script into
/etc/sysconfig/network/if-up.d/ and the package "nfs-client" doesn't.

Using dhclient instead of dhcpcd is no solution for me. Why not fixing the
configuration for dhcpcd?


Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >