Pulse/internal/agentupdate
rcourtman 7522f6599c fix(agent): three backend fixes for FreeBSD, Docker rootless, and duplicate PVE hosts
FreeBSD auto-update (#1254): determineArch() now includes freebsd in its
OS switch, producing freebsd-amd64/arm64 instead of falling through to
a uname -m fallback that incorrectly returned linux-<arch>. FreeBSD agents
were downloading Linux ELF binaries and failing to exec them.

Docker rootless socket (#1200): buildRuntimeCandidates() now probes
/run/user/<uid>/docker.sock before the system-wide /var/run/docker.sock,
enabling auto-detection of Docker rootless installations.

Duplicate PVE/PBS hosts (#1245, #1252): handleSecureAutoRegister() now
deduplicates by host URL, updating the existing instance's token in-place
instead of appending a duplicate entry on each re-run of the setup script.

Fixes #1254
Fixes #1200
Fixes #1245
Fixes #1252

(cherry picked from commit 0f1d9e9b9fea6c8b9e65872e8a78e25f93653eef)
2026-02-18 12:53:25 +00:00
..
coverage_test.go fix(agent): three backend fixes for FreeBSD, Docker rootless, and duplicate PVE hosts 2026-02-18 12:53:25 +00:00
restart_unix.go Improve internal package test coverage 2025-12-29 17:25:21 +00:00
restart_windows.go Fix Windows agent self-update restart failure 2025-11-30 12:02:43 +00:00
update.go fix(agent): three backend fixes for FreeBSD, Docker rootless, and duplicate PVE hosts 2026-02-18 12:53:25 +00:00
update_http_test.go test: expand cmd and agent update coverage 2025-12-17 13:28:17 +00:00
update_test.go Add unit tests for agentupdate utility functions 2025-11-30 03:48:50 +00:00