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:
- Take a fresh RHEL 10 system.
- Register it with RHSM.
- Run: systemctl enable --now yggdrasil
- So far so good, but then try:
- Disable the service: systemctl disable yggdrasil
- 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 ~]#