Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-110534

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

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.2
    • rhel-10.0
    • yggdrasil
    • None
    • No
    • Important
    • subs-client-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      This is a copy of the upstream bug report, https://github.com/RedHatInsights/yggdrasil/issues/352 - copying and pasting the text verbatim:

      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 ~]#  

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rbiba@redhat.com Radek Bíba
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: