Platform: Linux (Ubuntu 24.04, ARM64, systemd user unit)
Hermes version: 2026.5.16
Summary
hermes gateway restart (which calls systemctl --user restart hermes-gateway) hangs indefinitely due to a D-Bus race condition. The gateway process never restarts. The only reliable workaround is kill -9 <PID> and letting systemd's Restart=always bring it back.
Steps to reproduce
- Start gateway as systemd user service
- Change any config that requires restart
- Run
systemctl --user restart hermes-gateway
- Command hangs forever, gateway does not restart
Workaround
kill -9 $(systemctl --user show -p MainPID hermes-gateway | cut -d= -f2)
# systemd auto-restarts via Restart=always after RestartSec
Logs after kill -9
Main process exited, code=killed, status=9/KILL
<new PID spawned after RestartSec>
Additional context
Occurs on Linuxbrew-installed Hermes. Unit file: ~/.config/systemd/user/hermes-gateway.service. Restart parameters: Restart=always, RestartSec=60, RestartMaxDelaySec=300, RestartSteps=20. The D-Bus session bus seems to lose the connection during the restart handoff, causing the systemctl command to block indefinitely.
Platform: Linux (Ubuntu 24.04, ARM64, systemd user unit)
Hermes version: 2026.5.16
Summary
hermes gateway restart(which callssystemctl --user restart hermes-gateway) hangs indefinitely due to a D-Bus race condition. The gateway process never restarts. The only reliable workaround iskill -9 <PID>and letting systemd'sRestart=alwaysbring it back.Steps to reproduce
systemctl --user restart hermes-gatewayWorkaround
Logs after kill -9
Additional context
Occurs on Linuxbrew-installed Hermes. Unit file:
~/.config/systemd/user/hermes-gateway.service. Restart parameters:Restart=always, RestartSec=60, RestartMaxDelaySec=300, RestartSteps=20. The D-Bus session bus seems to lose the connection during the restart handoff, causing thesystemctlcommand to block indefinitely.