windows: a failed check of the state root is made again (0.1.0-pre.2)

The once-per-process guard recorded the root before ensure_root ran. A
first check that failed (the service log's create_all ignores its error)
left the root marked as checked, so run()'s create_all skipped the check
and the service went on with a root it could not secure, and runs what
is under its bin\ as SYSTEM. Now only a check that passed is recorded,
under the lock, and a failed one fails again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-10-27 00:51:32 +03:00
1 parent e84d42a10c
commit 363caf912a
3 files changed
+34 -18

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/ps-core", "crates/ps-ipc", "crates/ps-service", "crates/ps-ctl"]
[workspace.package]
version = "0.1.0-pre.1"
version = "0.1.0-pre.2"
edition = "2024"
license = "MIT"
repository = "https://git.faumaray.com/faumaray/proxy-suite-flake"