Commit b31d95d
Plan 00055: fix L2 LXC burner launch — detach spinner so it survives lxc-attach
podman + docker L2 blocks pass fully (detection, attribution, container_pid
match, the reporting-only survive-assert, allowlist, DBus). The LXC block
failed reading ground-truth PIDs: the spinner was launched as a plain `&` job
under lxc-attach, which (a) kept the attach pipe's stdout fd open — stalling
the command substitution — and (b) could be torn down with the attach session.
- Launch via `nohup ... >/tmp/cw-burn.log 2>&1 &` so stdio is detached from the
attach pipe (returns immediately) and the spinner ignores the session SIGHUP,
surviving lxc-attach exit (reparented to container init).
- Retry the ground-truth pgrep a few times (system-container init + detach lag).
bash -n + shellcheck clean; qa-all green (345 files).
Refs: CLAUDE/Plan/00055-container-process-watchdog
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1a430d5 commit b31d95d
1 file changed
Lines changed: 20 additions & 5 deletions
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
374 | 380 | | |
375 | | - | |
| 381 | + | |
376 | 382 | | |
377 | 383 | | |
378 | | - | |
379 | 384 | | |
380 | | - | |
381 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
382 | 397 | | |
383 | 398 | | |
384 | 399 | | |
| |||
0 commit comments