Repository navigation
Commit 53c1908
committed
Report the shpool fingerprint state in doctor
The watchdog already compares the running daemon against a recorded
fingerprint, but nothing surfaced whether that comparison is capable of
telling you anything. Both ways it can be inert are silent, so doctor now
distinguishes them: no fingerprint recorded means the check is skipped
entirely, a malformed value means the same, and a recorded value that no longer
matches the installed binary means the watchdog is reporting a change on every
pass for a rebuild you did on purpose.
Reporting these as separate lines matters because the remedies differ. Absent
means record it. Mismatched means re-record it, and until you do, the alert it
produces is noise that spends the credibility a genuine silent replacement will
need.
Compares against the binary on PATH rather than the running daemon's
executable: the watchdog already covers the running process, and the case this
catches is a rebuild that has not been activated or recorded yet.1 parent 0f2dbb2 commit 53c1908
1 file changed
Lines changed: 47 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
335 | 381 | | |
336 | 382 | | |
337 | 383 | | |
| |||
0 commit comments