http://bugzilla.novell.com/show_bug.cgi?id=487190 http://bugzilla.novell.com/show_bug.cgi?id=487190#c11 --- Comment #11 from Rainer Klier <rainer.klier@gmx.at> 2010-01-13 14:31:54 UTC --- (In reply to comment #10)
Have you ever checked or tried to use the default script /etc/sysconfig/network/scripts/smbfs (/etc/sysconfig/network/scripts/cifs in 11.3 and newer)?
in 11.1 and 11.2 there is no /etc/sysconfig/network/scripts/smbfs or /etc/sysconfig/network/scripts/cifs. i created my /etc/sysconfig/network/scripts/smbfs by copying the /etc/sysconfig/network/scripts/nfs and changing the copy. it is "some kind of expected" to not work as i read in bug #557836 at comment #3 by Marius Tomaschewski about these dispatcher scripts.
The main difference is:
a) The script also cares about the nmb service.
the /etc/sysconfig/network/scripts/smbfs must have been added in 11.3. this is new. the original /etc/NetworkManager/dispatcher.d/nfs script (from which i created the /etc/sysconfig/network/scripts/smbfs) has only one difference to mine.
b) It only restarts services which are enabled from the chkconfig point of view.
this IS the only difference. in my version i commented the line out which does the chkconfig before the "smbfs restart/stop" and copied only the "smbfs restart/stop" in a new line.
Please correct me as I can't see the advantage of your approach.
i think this is the reason it works! if it doesn't check if smbfs is enabled in the current runlevel, but instead, simply try to restart smbfs, the smbfs gets restarted and works. if it checks if smbfs is enabled in the current runlevel then it whould not restart smbfs, because i don't have it enabled in the runlevels. if i whould enable it in the runlevels then smbfs holds/freezes/halts the shutdown process, because it is called twice and at the wrong time. and then i have exaclty the situation like described in my comment 4 and what bug 557836 is all about. see bug 557836 comment 3 and bug 557836 comment 5. -- 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.