Skip to content

Every second attempt to enable & start yggdrasil fails due to a dbus error #352

@RadekBiba

Description

@RadekBiba

Describe the bug
If the yggrdasil service is disabled, enabling and starting it fails in exactly 50% cases.

To Reproduce
Steps to reproduce the behavior:

  1. Take a fresh RHEL 10 system.
  2. Register it with RHSM.
  3. Run: systemctl enable --now yggdrasil
  4. So far so good, but then try:
  5. Disable the service: systemctl disable yggdrasil
  6. Repeat the previous command: systemctl enable --now yggdrasil

Expected behavior
OK

Screenshots
This is a command, so let me copy and paste the output instead:

# systemctl enable --now yggdrasil 
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Job for yggdrasil.service failed because the control process exited with error code.
See "systemctl status yggdrasil.service" and "journalctl -xeu yggdrasil.service" for details.

The log reads:

Aug 21 10:10:11 ip-10-0-0-159 yggd[6491]: [yggd] 2025/08/21 10:10:11 starting yggd version 0.4.5
Aug 21 10:10:11 ip-10-0-0-159 yggd[6491]: cannot setup client: cannot connect client: cannot connect dispatcher: name com.redhat.Yggdrasil1.Dispatcher1 already taken
Aug 21 10:10:11 ip-10-0-0-159 systemd[1]: yggdrasil.service: Main process exited, code=exited, status=1 FAILURE
Aug 21 10:10:11 ip-10-0-0-159 systemd[1]: yggdrasil.service: Failed with result 'exit-code'.

Additional Information

  • OS: RHEL 10
  • Version: yggdrasil-0.4.5-2.el10_0.x86_64

If I repeat the commands to disable and enable & (re)start yggdrasil, it's OK. If I repeat it again, I get the same error. And so on and so on. I can also reproduce the alternating good and bad results by simple disable/enable/restart commands:

[root@ip-10-0-0-159 ~]# systemctl disable yggdrasil ; systemctl enable yggdrasil ; systemctl restart yggdrasil
Removed '/etc/systemd/system/multi-user.target.wants/yggdrasil.service'.
Removed '/etc/systemd/system/yggd.service'.
Removed '/etc/systemd/system/rhcd.service'.
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Job for yggdrasil.service failed because the control process exited with error code.
See "systemctl status yggdrasil.service" and "journalctl -xeu yggdrasil.service" for details.
[root@ip-10-0-0-159 ~]# systemctl disable yggdrasil ; systemctl enable yggdrasil ; systemctl restart yggdrasil
Removed '/etc/systemd/system/multi-user.target.wants/yggdrasil.service'.
Removed '/etc/systemd/system/yggd.service'.
Removed '/etc/systemd/system/rhcd.service'.
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
[root@ip-10-0-0-159 ~]# systemctl disable yggdrasil ; systemctl enable yggdrasil ; systemctl restart yggdrasil
Removed '/etc/systemd/system/multi-user.target.wants/yggdrasil.service'.
Removed '/etc/systemd/system/yggd.service'.
Removed '/etc/systemd/system/rhcd.service'.
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Job for yggdrasil.service failed because the control process exited with error code.
See "systemctl status yggdrasil.service" and "journalctl -xeu yggdrasil.service" for details.
[root@ip-10-0-0-159 ~]# systemctl disable yggdrasil ; systemctl enable yggdrasil ; systemctl restart yggdrasil
Removed '/etc/systemd/system/multi-user.target.wants/yggdrasil.service'.
Removed '/etc/systemd/system/yggd.service'.
Removed '/etc/systemd/system/rhcd.service'.
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
[root@ip-10-0-0-159 ~]# systemctl disable yggdrasil ; systemctl enable yggdrasil ; systemctl restart yggdrasil
Removed '/etc/systemd/system/multi-user.target.wants/yggdrasil.service'.
Removed '/etc/systemd/system/yggd.service'.
Removed '/etc/systemd/system/rhcd.service'.
Created symlink '/etc/systemd/system/yggd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/rhcd.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/yggdrasil.service' → '/usr/lib/systemd/system/yggdrasil.service'.
Job for yggdrasil.service failed because the control process exited with error code.
See "systemctl status yggdrasil.service" and "journalctl -xeu yggdrasil.service" for details.
[root@ip-10-0-0-159 ~]# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions