[Bug 733031] New: nfs service blocks boot when no network is present (even when no nfs mounts are present)
https://bugzilla.novell.com/show_bug.cgi?id=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c0 Summary: nfs service blocks boot when no network is present (even when no nfs mounts are present) Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: All Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Happy.Cerberus@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 I'm using autofs to mount nfs directories. The issue is that if I configure the nfs service to start automatically (so that the nfs directories will mount correctly), the machine won't boot when not connected to network. When connected to network, the machine will boot just fine. Reproducible: Always Steps to Reproduce: 1. turn nfs service on 2. disconnect / turn of network 3. reboot Actual Results: Machine doesn't boot. Expected Results: Machine should boot correctly. -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |fcrozat@suse.com |ovo.novell.com | -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 13:36:18 UTC --- do you use NetworkManager ? there is a bug causing "infinite" wait at startup when network is not connected. -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c2 --- Comment #2 from Simon Toth <Happy.Cerberus@gmail.com> 2011-11-29 14:18:13 UTC --- (In reply to comment #1)
do you use NetworkManager ? there is a bug causing "infinite" wait at startup when network is not connected.
Yes, this is obviously the issue. NFS service doesn't take into account the fact, that when using NetworkManager, the network will start up later. But I think that you can simulate this even without NetworkManager (I will try and report back). -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 14:33:30 UTC --- please try to change in /etc/sysconfig/network/config NM_ONLINE_TIMEOUT to 1 (instead of 0), it should fix the timeout, until it is fixed by a ongoing maintenance package for NetworkManager. -- 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.
please try to change in /etc/sysconfig/network/config NM_ONLINE_TIMEOUT to 1 (instead of 0), it should fix the timeout, until it is fixed by a ongoing maintenance package for NetworkManager. I can confirm that this fixes the issue. I did try different combinations of
https://bugzilla.novell.com/show_bug.cgi?id=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c4 Matthias Pfafferodt <syntron@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |syntron@web.de --- Comment #4 from Matthias Pfafferodt <syntron@web.de> 2011-12-04 13:00:21 UTC --- the boot process and network manager setup to get my laptop to boot if there is no network cable connected. This not only happens with systemd but also using system v as init process. In the later case the laptop boots but the network is missing completely (it is not started at all). I do start it manually but at shutdown it does not finish the process (one time I got an error message in the nfs boot script line 271 - integer expression expected). Is were a way to save/log/debug the boot process with systemd? Something like /var/log/boot.msg? -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c5 --- Comment #5 from Matthias Pfafferodt <syntron@web.de> 2011-12-04 13:17:56 UTC --- I forgot to add that I do not have any nfs shares defined (no autofs, no such file systems in fstab). nfs is only started to be able to manually mount nfs shares if needed. -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2011-12-05 14:05:52 UTC --- everything should be available in /var/log/messages (if you use systemd.log_target=syslog ) -- 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=733031 https://bugzilla.novell.com/show_bug.cgi?id=733031#c7 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Frederic Crozat <fcrozat@suse.com> 2011-12-20 16:20:53 UTC --- Network manager fixes was released (you can set it back to 0). -- 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.
participants (1)
-
bugzilla_noreply@novell.com