|
Bugzilla – Full Text Bug Listing |
| Summary: | nfs service blocks boot when no network is present (even when no nfs mounts are present) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Forgotten User 6pyoK8uj9i <forgotten_6pyoK8uj9i> |
| Component: | Basesystem | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | syntron |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User 6pyoK8uj9i
2011-11-28 11:28:55 UTC
do you use NetworkManager ? there is a bug causing "infinite" wait at startup when network is not connected. (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). 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. > 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 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?
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. everything should be available in /var/log/messages (if you use systemd.log_target=syslog ) Network manager fixes was released (you can set it back to 0). |