networkmanager: the watcher's health is its unit's state

The sign-in process is judged by its unit being active, on the machine without the bus,
and NetworkManager's service keeps no state and no health again. The watcher exits
non-zero when it cannot subscribe once the system bus came back, so its unit shows
failing; uplink_health stays a tool that reads and no longer gives the names again.

Builds: design 08 sign-in-page §11, §13, §14, §23, §24, §25, §27; lead answer C-2c (hq 6752a5cf)
This commit is contained in:
jochen
2026-11-24 21:53:29 +01:00
parent 55a90d963e
commit 397e627b02
9 changed files with 59 additions and 80 deletions
+2 -10
View File
@@ -81,10 +81,7 @@
"unit": "NetworkManager.service",
"reload-on": [
"config"
],
"health": {
"kind": "unit"
}
]
},
{
"id": "sign-in-state",
@@ -105,12 +102,7 @@
],
"user": "${machine:account}",
"health": {
"kind": "tool",
"tool": "uplink_health",
"interval": "60s",
"timeout": "20s",
"looks": 2,
"grace": "60s"
"kind": "unit"
}
}
]