Skip to content

dracut: Breaks dbus.service and in turn NetworkManager.service, occasionally #841

Description

@dramforever

Package name

dracut

openRuyi version

111

Describe the bug

Using initramfs generated by dracut 111, sometimes dbus.service is not stopped before switching root, causing it to remain started into the non-initrd and stops shortly on its own, which causes units to fail to bring up dbus.service later in boot. In particular, this breaks NetworkManager.service.

Steps to reproduce

Boot up openRuyi 2026.06 ISO. Sometimes, NetworkManager.service fails to start.

Expected behaviour

NetworkManager starts normally.

Screenshots

No response

Relevant log output

Jun 18 04:41:51 openruyi-d765-801c systemd[1]: NetworkManager.service: Bound to unit dbus.service, but unit isn't active.
Jun 18 04:41:51 openruyi-d765-801c systemd[1]: Dependency failed for Network Manager.
Jun 18 04:41:51 openruyi-d765-801c systemd[1]: NetworkManager.service: Job NetworkManager.service/start failed with result 'dependency'.

More journal output: https://gist.github.com/dramforever/825a4e3f0f7a2dee29ed9d1e43047075

Additional context

This dracut-ng/dracut#2482 seems to fix it but I don't know why.

I assert that this issue is relevant for openRuyi

  • I assert that this is a bug and not a support request.
  • I assert that this is not a duplicate of an existing issue.
  • I assert that I have read the openRuyi Code of Conduct and agree to abide by it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Target: RollingTargeting rolling/current branch.Type: BugIssues related to incorrect behavior or failures that need fixing.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions