Bug 2394565

Summary: Dependency cycle on cloud-init-local
Product: [Fedora] Fedora Reporter: Jeremy Cline <jeremy>
Component: cloud-initAssignee: Jeremy Cline <jeremy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dustymabe, gholms, jeremy, lars, mhayden, python-packagers-sig, rominf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: cloud-init-25.2-7.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-07 00:17:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Cline 2025-09-11 13:58:43 UTC
Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2390898 - the `Before=auditd.service` dependency in cloud-init-local.service results in the following cycle in Azure cloud images:

Sep 11 13:44:44 systemd[1]: sysinit.target: Found ordering cycle: auditd.service/start after cloud-init-local.service/start after hypervkvpd.service/start after basic.target/start after sockets.target/start after dbus.socket/start after sysinit.target/start - after auditd.service
Sep 11 13:44:44 systemd[1]: sysinit.target: Unable to break cycle starting with sysinit.target/start
Sep 11 13:44:44 systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Resource deadlock avoided

Fortunately, upstream agreed to revert the dependency on auditd and that's been merged in https://github.com/canonical/cloud-init/pull/6448. Testing indicates it resolves this cycle.

Reproducible: Always

Steps to Reproduce:
1. Boot the Fedora 43 Beta 1.3 image
2. Search the journal for "ordering cycle"
3.

Comment 1 Fedora Update System 2025-09-11 15:46:52 UTC
FEDORA-2025-4108290b53 (cloud-init-25.2-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4108290b53

Comment 2 Fedora Update System 2025-09-12 02:44:46 UTC
FEDORA-2025-4108290b53 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4108290b53`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4108290b53

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-09-23 01:43:11 UTC
FEDORA-2025-4108290b53 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4108290b53`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4108290b53

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-10-07 00:17:05 UTC
FEDORA-2025-4108290b53 (cloud-init-25.2-7.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.