Repository navigation
v0.68.2
⚠️ Critical for v0.68.0 / v0.68.1 Windows self-hosters
- The v0.68.0 and v0.68.1 Windows agents are dead on arrival — treat them as do-not-deploy. The PAM ETW LUA subscriber (#959) called
etw.NewRealTimeConsumer(nil), and the library'scontext.WithCancel(parent)panics withcannot create context from nil parent. BecausestartETWLuaonly gated onprivilege.IsRunningAsRoot()(always true for the SYSTEM service) andEnableProvideralways succeeds for SYSTEM, every Windows host running the agent as the normal SYSTEM service reached the nil-context call and crash-looped on startup (~1s after broker init). MSI in-place upgrades hit Error 1920 and roll back — so endpoints attempting an MSI upgrade safely stay on their prior working agent — but binary-swap auto-update channels crash-loop. macOS and Linux are unaffected (ETW is Windows-only and stubbed elsewhere). CI cross-compiles but never runs the Windows agent, so the panic was not caught (#999).
Fixed
- Windows agent no longer crashes on startup.
NewRealTimeConsumeris now passedcontext.Background()instead ofnil, eliminating the ETW consumer panic. The consumer remains leak-free — it is explicitly stopped viaetwSession.Stop()→consumer.Stop(), invoked frometwlua.Start'sdefer sub.Stop()onctx.Done(). Verified on a real Windows VM: the fixed agent boots, logsetwlua started/agent is running, and stays up with no panic (#999).
Full Changelog: v0.68.1...v0.68.2