http://bugzilla.novell.com/show_bug.cgi?id=573246 http://bugzilla.novell.com/show_bug.cgi?id=573246#c31 --- Comment #31 from Marius Tomaschewski <mt@novell.com> 2010-07-07 12:16:56 UTC --- (In reply to comment #29)
I think the reason behind 21-smbfs or 21-cifs (in 11.3) restarting rccifs when the lease is renewed because the IPaddress could possibly change.
Yes, I think also this was the reason for.
However, it should not never drop the existing mounts.
Well, when the old IP went away (or more worse: e.g. the network changed) it is required to remount I think... (In reply to comment #30)
Looks like if we are able to get the 'state' value from /etc/sysconfig/network/scripts/dhcpcd-hook, then we could check if 'state' is 'new' and not 'up' and restart the rccifs script.
Marius, Lars, any idea whether it is possible to pass this 'state' value down to 21-cifs script?
You can read it with: /etc/sysconfig/network/scripts/functions state=`read_cached_config_data dhcp4_state "$interface"` or also like this: state=`{ . /etc/sysconfig/network/scripts/functions && \ read_cached_config_data dhcp4_state "$interface" ; } 2>/dev/null` -- 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.