Bug 1172684

Summary: wicked boot time optimization
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ludwig Nussel <lnussel>
Component: NetworkAssignee: wicked maintainers <wicked-maintainers>
Status: RESOLVED FEATURE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fvogt, mt, rtorreromarijnissen
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: example boot on a rpi3 with network-online needed by rebootmgr
example boot on a rpi3 with rebootmgr not requiring network-online

Description Ludwig Nussel 2020-06-08 15:46:05 UTC
Following modification improves boot time by not blocking services that do not actually need network to be up:

/etc/systemd/system/network.service -> /usr/lib/systemd/system/wickedd.service

/etc/systemd/system/network-online.target.wants:
   wicked.service -> /usr/lib/systemd/system/wicked.service

/etc/systemd/system/network.target.wants:
   wickedd.service -> /usr/lib/systemd/system/wickedd.service

/etc/systemd/system/wickedd.service.wants:
   wicked.service -> /usr/lib/systemd/system/wicked.service


That way network.target only brings up wickedd which in turn triggers wicked aka ifup in the background.
Comment 1 Ludwig Nussel 2020-06-08 15:47:42 UTC
Created attachment 838589 [details]
example boot on a rpi3 with network-online needed by rebootmgr
Comment 2 Ludwig Nussel 2020-06-08 15:49:27 UTC
Created attachment 838590 [details]
example boot on a rpi3 with rebootmgr not requiring network-online

as can be seen, wicked continues in the background without preventing multi-user.target getting reached.
Comment 3 Ludwig Nussel 2020-06-17 15:46:09 UTC
Modified service files:
https://github.com/openSUSE/wicked/pull/836
Comment 5 Marius Tomaschewski 2020-11-24 15:19:47 UTC
See https://jira.suse.com/browse/PM-1982
Comment 6 OBSbugzilla Bot 2022-03-28 08:40:03 UTC
This is an autogenerated message for OBS integration:
This bug (1172684) was mentioned in
https://build.opensuse.org/request/show/965322 Factory / skelcd-control-Kubic