[Bug 557836] New: network is turned off before nfs client, halting the shutdown process
http://bugzilla.novell.com/show_bug.cgi?id=557836 http://bugzilla.novell.com/show_bug.cgi?id=557836#c0 Summary: network is turned off before nfs client, halting the shutdown process Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@novell.com ReportedBy: gudlaugu@raunvis.hi.is QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=329042) --> (http://bugzilla.novell.com/attachment.cgi?id=329042) bootloader log file User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 When shutting down my 11.2 system with nfs mounted, the network is turned off before the nfs client. This halts the shutdown process and a hard restart is required, resulting in a hard drive check next time the computer is started. I did a live update with zypper -dup from openSUSE 11.1 if that matters. Reproducible: Always Steps to Reproduce: 1. Mount nfs with rcnfs start 2. I use Network manager to manage my network connection, not sure it happens with traditional ifup. 3. Shutdown the machine Actual Results: The shutdown process stop Expected Results: The shutdown process should complete -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c1
Jiri Srain
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c2
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c3
Marius Tomaschewski
2. I use Network manager to manage my network connection, not sure it happens with traditional ifup.
The behaviour is correct -- it will not work as it is configured. As Werner already described, there are two network scripts involved. The start order is: /etc/init.d/network -- requires only local-fs, sets up _ifup_ interfaces supported for $remote_fs (=nfs) /etc/init.d/nfs -- requires $network (network), mounts nfs; that is, implements/provides $remote_fs /etc/init.d/network-remotefs -- requires $remote_fs, starts NetworkManager The stop order is: network-remotefs, nfs, network When ifup is in use, /etc/init.d/nfs will work over normal ethernet, bridge, bonding, vlan interfaces, but not over wlan, ppp, tunnels... You can not mount via /etc/init.d/nfs and use NetworkManager. The NetworkManager can not be started via network script, because it requires $remote_fs -- it is installed on /usr that maybe on nfs. To mount nfs when NetworkManager is in use, it is required to disable nfs using "insserv -r /etc/init.d/nfs" and start it (mount) via NM dispatcher, that is via /etc/NetworkManager/dispatcher.d ... AFAIS, there is a nfs dispatcher script -- but it expects enabled nfs; this looks like it will not work... same with the autofs dispatcher... It also restarts/stops with every interface up/down... A mechanism like "man 5 ifservices" for ifup would be required here... NM issue => Tambet. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c4
--- Comment #4 from Guðlaugur Jóhannesson
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c5
Tambet Ingo
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c6
--- Comment #6 from Dr. Werner Fink
From the manual page nfs(5):
soft / hard Determines the recovery behavior of the NFS client after an NFS request times out. If neither option is specified (or if the hard option is specified), NFS requests are retried indefinitely. If the soft option is specified, then the NFS client fails an NFS request after retrans retransmissions have been sent, causing the NFS client to return an error to the calling application. NB: A so-called "soft" timeout can cause silent data corrup- tion in certain cases. As such, use the soft option only when client responsiveness is more important than data integrity. Using NFS over TCP or increasing the value of the retrans option may mitigate some of the risks of using the soft option. IMHO the network interface used for NFS for /usr should *not* depend on NetworkManager as /usr is not dynamic but NetworkManager. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c7
Rainer Klier
http://bugzilla.novell.com/show_bug.cgi?id=557836
http://bugzilla.novell.com/show_bug.cgi?id=557836#c8
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com