Bug 1807485

Summary: systemctl list-dependencies now lists .socket units twice
Product: [Fedora] Fedora Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: jpazdziora, lnykryn, msekleta, ssahani, s, systemd-maint, zbyszek
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-245.2-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 18:26:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pazdziora (Red Hat) 2020-02-26 13:38:55 UTC
Description of problem:

Running systemctl list-dependencies now shows the .socket units that triggered the .services twice.

Version-Release number of selected component (if applicable):

systemd-245~rc1-3.fc33.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. systemctl list-dependencies dbus-broker.service
2. systemctl list-dependencies systemd-journald.service

Actual results:

# systemctl list-dependencies dbus-broker.service
dbus-broker.service
● ├─-.mount
● ├─dbus.socket
● ├─dbus.socket
● ├─system.slice
● └─tmp.mount
# systemctl list-dependencies systemd-journald.service
systemd-journald.service
● ├─-.mount
● ├─system.slice
● ├─systemd-journald-audit.socket
● ├─systemd-journald-dev-log.socket
● ├─systemd-journald.socket
● └─systemd-journald.socket

Expected results:

On Fedora 31, the output is

$ systemctl list-dependencies dbus-broker.service
dbus-broker.service
● ├─-.mount
● ├─dbus.socket
● ├─system.slice
● └─tmp.mount
$ systemctl list-dependencies systemd-journald.service
systemd-journald.service
● ├─system.slice
● ├─systemd-journald-audit.socket
● ├─systemd-journald-dev-log.socket
● └─systemd-journald.socket

Additional info:

Running systemctl status on the .socket and .service units does not reveal any reason why the .socket dependencies should be listed twice.

Comment 1 Zbigniew Jędrzejewski-Szmek 2020-03-04 08:58:49 UTC
https://github.com/systemd/systemd/pull/15013

Comment 2 Fedora Update System 2020-03-18 21:18:45 UTC
FEDORA-2020-645de57f2e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-645de57f2e

Comment 3 Fedora Update System 2020-03-19 02:26:26 UTC
systemd-245.2-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-645de57f2e

Comment 4 Fedora Update System 2020-03-23 20:24:57 UTC
FEDORA-2020-645de57f2e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Zbigniew Jędrzejewski-Szmek 2020-04-01 18:26:29 UTC
For some reason, bodhi didn't close this bug.