Context
PR #2241 adds VCluster × Docker (Vind) support. During CI testing on GitHub Actions Ubuntu runners, the VCluster SDK's install-standalone.sh fails with:
failed to start vCluster standalone: exit status 1: Failed to connect to bus: No such file or directory
Root cause: The SDK runs systemctl restart systemd-journald inside the privileged Docker container before systemd has initialized D-Bus (/run/dbus/system_bus_socket). The container starts with --tmpfs /run, so the socket doesn't exist immediately. Combined with set -e, this aborts the install script.
This works on macOS (Docker Desktop provides a fully-initialized systemd VM) but fails on Linux CI runners due to a timing race.
Current workaround
KSail detects the "Failed to connect to bus" error from CreateDocker, waits for D-Bus readiness inside the container, then re-runs the install script. See recoverFromDBusError in pkg/svc/provisioner/cluster/vcluster/provisioner.go.
Action items
References
install-standalone.sh line 333: systemctl restart systemd-journald
- VCluster SDK:
github.com/loft-sh/vcluster v0.32.0-rc.1
- Chart version:
0.32.0-alpha.2
Context
PR #2241 adds VCluster × Docker (Vind) support. During CI testing on GitHub Actions Ubuntu runners, the VCluster SDK's
install-standalone.shfails with:Root cause: The SDK runs
systemctl restart systemd-journaldinside the privileged Docker container before systemd has initialized D-Bus (/run/dbus/system_bus_socket). The container starts with--tmpfs /run, so the socket doesn't exist immediately. Combined withset -e, this aborts the install script.This works on macOS (Docker Desktop provides a fully-initialized systemd VM) but fails on Linux CI runners due to a timing race.
Current workaround
KSail detects the
"Failed to connect to bus"error fromCreateDocker, waits for D-Bus readiness inside the container, then re-runs the install script. SeerecoverFromDBusErrorinpkg/svc/provisioner/cluster/vcluster/provisioner.go.Action items
systemctl restart systemd-journaldininstall-standalone.shset -eor use|| true)References
install-standalone.shline 333:systemctl restart systemd-journaldgithub.com/loft-sh/vcluster v0.32.0-rc.10.32.0-alpha.2