From 8ac01386adffca64293d6fdbf3ffb506299ac7e8 Mon Sep 17 00:00:00 2001 From: Josh Chorlton Date: Wed, 18 Sep 2024 18:27:19 +0000 Subject: [PATCH] clean up Signed-off-by: Josh Chorlton --- cgroup2/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cgroup2/manager.go b/cgroup2/manager.go index 1e50bc63..61fb8ae7 100644 --- a/cgroup2/manager.go +++ b/cgroup2/manager.go @@ -960,6 +960,7 @@ func startUnit(conn *systemdDbus.Conn, group string, properties []systemdDbus.Pr return fmt.Errorf("error creating systemd unit `%s`: got `%s`", group, s) } case <-time.After(systemdStartUnitTimeout): + attemptFailedUnitReset(conn, group) return fmt.Errorf("Timed out while waiting for StartTransientUnit(%s) completion signal from dbus after %v", group, systemdStartUnitTimeout) }