Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1636480

Summary: dnf-automatic timer files: Incorrect dependency WantedBy=basic.target causing ordering cycle for systemd
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: dnfAssignee: Marek Blaha <mblaha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dmach, jmontleo, markus.linnala, mblaha, mhatina, packaging-team-maint, rpm-software-management, saalwaechter, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-4.0.9-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 02:33:43 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 Christian Stadelmann 2018-10-05 13:45:45 UTC
Description of problem:
Systemd complains about broken configuration of timers installed with dnf-automatic.

Version-Release number of selected component (if applicable):
dnf-automatic-3.6.1-1.fc29.noarch

How reproducible:
always

Steps to Reproduce:
1. enable dnf-automatic-download.timer
2. reboot
3. take a look at syslog

Actual results:
systemd[1]: basic.target: Found ordering cycle on dnf-automatic-download.timer/start
systemd[1]: basic.target: Found dependency on network-online.target/start
systemd[1]: basic.target: Found dependency on network.target/start
systemd[1]: basic.target: Found dependency on network-pre.target/start
systemd[1]: basic.target: Found dependency on firewalld.service/start
systemd[1]: basic.target: Found dependency on basic.target/start
systemd[1]: basic.target: Job dnf-automatic-download.timer/start deleted to break ordering cycle starting with basic.target/start

Expected results:
No error reports from systemd.

Comment 1 Marek Blaha 2018-10-23 07:11:16 UTC
*** Bug 1640181 has been marked as a duplicate of this bug. ***

Comment 2 Marek Blaha 2018-10-23 08:22:01 UTC
PR https://github.com/rpm-software-management/dnf/pull/1247 fixes this issue.

Comment 3 Fedora Update System 2018-11-22 18:57:02 UTC
libdnf-0.22.3-1.fc29 dnf-4.0.9-1.fc29 dnf-plugins-core-4.0.2-1.fc29 dnf-plugins-extras-4.0.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-17cbc3c616

Comment 4 Fedora Update System 2018-11-23 02:56:35 UTC
dnf-4.0.9-1.fc29, dnf-plugins-core-4.0.2-1.fc29, dnf-plugins-extras-4.0.0-1.fc29, libdnf-0.22.3-1.fc29 has been pushed to the Fedora 29 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-2018-17cbc3c616

Comment 5 Fedora Update System 2018-12-05 02:33:43 UTC
dnf-4.0.9-1.fc29, dnf-plugins-core-4.0.2-1.fc29, dnf-plugins-extras-4.0.0-1.fc29, libdnf-0.22.3-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.