Bug 1137046

Summary: systemd-networkd erroneously shown as "enabled" due to shipped link to dbus-org.freedesktop.network1.service
Product: [openSUSE] openSUSE Distribution Reporter: Andrei Borzenkov <arvidjaar>
Component: BasesystemAssignee: systemd maintainers <systemd-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fbui
Version: Leap 15.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andrei Borzenkov 2019-06-01 04:54:26 UTC
bor@localhost:/etc/systemd/system> systemctl --no-pager status systemd-networkd
● systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-networkd.service(8)
bor@localhost:/etc/systemd/system> sudo mv dbus-org.freedesktop.network1.service /tmp/dbus-org.freedesktop.network1.service
bor@localhost:/etc/systemd/system> systemctl --no-pager status systemd-networkd
● systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-networkd.service(8)
bor@localhost:/etc/systemd/system> rpm -qf dbus-org.freedesktop.network1.service
systemd-234-lp151.25.7.x86_64
bor@localhost:/etc/systemd/system>

systemd package really should not ship stray links under /etc. No package should ever do it actually. This is quite confusing to users.
Comment 1 Franck Bui 2019-06-11 10:51:10 UTC
A fix [1] for the issue you reported has already been backported to SLE15 but unfortunately has still not landed into leap repositories.

So it should be available when the next update will be released, hence I'm closing this bug.

Feel free to re-open if it's not the case.

[1] https://github.com/openSUSE/systemd/commit/4b56b9e8d779cecfc9d6549807b7027f9fd15383