Bug 843526

Summary: question: network.service enablement (network:wicked:factory/wicked -> factory)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Marius Tomaschewski <mt>
Component: NetworkAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aj, kmroz, meissner, mfilka, ohering, pwieczorkiewicz, security-team, werner
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: https://build.opensuse.org/request/show/201154
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marius Tomaschewski 2013-10-01 14:45:36 UTC
Until now, the sysconfig network service were enabling itself by default
at installation time.

Frederic: How should we handle this with wicked?
Should we use systemd-presets[-branding-openSUSE] or enable it as before
with sysconfig?

Currently wicked.spec enables itself if the network.service link (is unset)
or points to wicked.service or network.service [=syscofig], that is when it
migrates from/replaces sysconfig-network.

In a normal installation yast2-network network service is changing to the
network service as needed / as specified by the user.

But on update or additional install of wicked, yast2-network is not involved
and when the spec file does not enable itself as above, there would be no
network enabled after reboot...

See also obs rq #201154.
Comment 1 Frederic Crozat 2013-10-01 16:23:09 UTC
you can't use presets since they don't apply on for upgrade, only for new package installation (and it is not flexible enough for what you want, I think).

you will probably need to handle the migration on your own, with explicit systemctl enable calls.
Comment 2 Marius Tomaschewski 2013-10-02 06:17:02 UTC
OK, thanks!

I'm going to add a comment about to the spec file and close as FIXED here.
Comment 3 Bernhard Wiedemann 2013-10-02 07:00:31 UTC
This is an autogenerated message for OBS integration:
This bug (843526) was mentioned in
https://build.opensuse.org/request/show/201663 Factory / wicked