Bug 2394565 - Dependency cycle on cloud-init-local
Summary: Dependency cycle on cloud-init-local
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeremy Cline
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-11 13:58 UTC by Jeremy Cline
Modified: 2025-10-07 00:17 UTC (History)
7 users (show)

Fixed In Version: cloud-init-25.2-7.fc43
Clone Of:
Environment:
Last Closed: 2025-10-07 00:17:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.