[Bug 679059] New: Boot hangs when NFS is enabled
https://bugzilla.novell.com/show_bug.cgi?id=679059 https://bugzilla.novell.com/show_bug.cgi?id=679059#c0 Summary: Boot hangs when NFS is enabled Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: noelcarlos.carneiro@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 Fresh installation of OpenSUSE 11.4 (final version). After adding NFS directory mappings using YaST and rebooting, the system just hangs up forever. The messages during boot are: ... Starting NFS client services: Starting auditd Initalizing random number generator mount.nfs: Connection timed out mount.nfs: Connection timed out mount.nfs: Connection timed out mount.nfs: Connection timed out mount.nfs: Connection timed out sm-notify idmapd Mounting network file systems ...mount.nfs: Connection timed out mount.nfs: Connection timed out ... It's the same bug as reported in Bug #623307. As it goes, applying the fix described in the previous bug solves the problem. Regards, Noel Carneiro Reproducible: Always Steps to Reproduce: 1.Install system (fresh installation) 2.Add NFS directory mappings using YaST 3.reboot Actual Results: System is just waiting for NFS mountings. It doesn't finish booting. Expected Results: Normal reboot, system working properly, with NFS directories mapped. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c1
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c2
noel carneiro
Just to make sure I understand correctly:
The fix that solves the problem is to set Defaultvers=3 in /etc/nfsmount.conf Yes, that is what I've done. I've also changed /etc/init.d/nfs from .. mount_usr() .. mount -o nolock $where || { # maybe network device hasn't appeared yet. udevadm settle mount -o nolock $where ..
to .. mount_usr() .. mount -o nolock, vers=3 $where || { # maybe network device hasn't appeared yet. udevadm settle mount -o nolock, vers=3 $where .. according to your suggestions in Bug#623307. It's been working without problems since.
and the root problem is that you are using network manager so the network doesn't get configured until after the init scripts run, and they won't complete until an NFS mount succeeds, and the NFS mount cannot succeed until network managers starts.
If I've got that right, the correct solution might be to tell yast to not allow NFS mounts to be configured if network manager is in use. They really are incompatible.
I really don't know how to configure Yast to do that
If you use network manager, then you should use automounts for NFS.
I have very little experience with automount.
Please confirm this agrees with your understanding.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c3
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c4
Robert Smits
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c5
--- Comment #5 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c6
--- Comment #6 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c7
--- Comment #7 from noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c8
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c9
--- Comment #9 from noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c10
--- Comment #10 from noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c11
--- Comment #11 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c12
noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c13
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c15
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=679059
https://bugzilla.novell.com/show_bug.cgi?id=679059#c16
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com