Bug 738727

Summary: systemd waits network
Product: [openSUSE] openSUSE 12.1 Reporter: Dinar Valeev <dvaleev>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: crrodriguez
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dinar Valeev 2011-12-27 23:31:26 UTC
When my machine boots, disk activity stops on starting network (it seen by wlan indicator light-up and get IP address). After network is established, boot process continues. So delay is about 30 seconds.

Network is controlled by NetworkManager, DE is GNOME 3.

With sysvinit this doesn't happen. NetworkManager setting up network in background.
Comment 1 Cristian Rodríguez 2012-01-06 20:50:55 UTC
Does applying current online updates solve your problem ?
Comment 2 Dinar Valeev 2012-01-09 16:09:23 UTC
No, I have all maintenance updates applied. Problem still exists.
Comment 3 Bin Li 2012-01-11 07:16:15 UTC
Frederic,

 Do yo have any idea about this? Thanks!
Comment 4 Frederic Crozat 2012-01-20 12:57:56 UTC
I'm guessing you are using wifi with NetworkManager and you upgraded your system from 11.4 (or earlier) to 12.1.

Please check /etc/sysconfig/network/config and ensure it contains :
NM_ONLINE_TIMEOUT="0"

(this was fixed by an update of sysconfig but if you upgrade from an earlier distro release, the fix is not applied).
Comment 5 Dinar Valeev 2012-02-02 23:02:30 UTC
Fixed with systemctl disable NetworkManager-wait-online.service
The question is if that service intended?
Comment 6 Frederic Crozat 2012-02-03 09:40:45 UTC
yes, it is intended, but you didn't say if you tried with the fix in /etc/sysconfig/network/config (and make sure to have all NetworkManager maintenance update applied to).
Comment 7 Dinar Valeev 2012-02-03 10:04:09 UTC
yes, you was righ. I've misread the setting. I thought about nm wait for interfaces setting. 

So setting NM_ONLINE_TIMEOUT="0" and enabling NetworkManager-wait-online.service works.

So I think we can close bug as INVALID
Comment 8 Frederic Crozat 2012-02-03 10:24:33 UTC
let's mark it as duplicate of the sysconfig default value for NM_ONLINE_TIMEOUT ;)

*** This bug has been marked as a duplicate of bug 722304 ***