Repository navigation
Description
Follow-up to #8777 (the 2026-11-11T22:01:09Z SIGTERM that killed pm-aggregator and pm-dispatch in the same second, sender unidentified).
Why
The laptop kernel supports auditing (CONFIG_AUDIT=y, CONFIG_AUDITSYSCALL=y) but no audit tooling is installed and no rules exist, so a signal sent by hand leaves no record anywhere: systemd logs the death, never the sender. The two pm units are covered meanwhile by the sigterm-witness wrapper (live via drop-ins; declarative in PR #8786), but every other process on the box is still unattributed.
Ask
Enable auditd declaratively in the laptop's NixOS configuration, with rules that log signal-sending syscalls with the sender's identity, e.g.:
-a always,exit -F arch=b64 -S kill -S tkill -S tgkill -k signal-attribution
so any future "who killed this process" question is answered by ausearch -k signal-attribution (auid, exe, pid, comm of the sender) instead of an investigation.
Notes / constraints
- This needs root and a system activation — it cannot be hot-installed. Ride the coordinated switch or a maintenance window; do not hand-install packages outside the NixOS config.
- Signal syscalls are not a hot path on this box; expected log volume is low. Keep the rule set to kill-family syscalls only.
- The witness on the pm units stays: it is per-service, survives even if auditd is later dropped, and its log sits next to the service's state.
Acceptance
From a marked shell, send SIGTERM to a throwaway process; show the audit record names the sender (auid/exe/pid). Note the verification on this issue.
Hands item
The repository configuration is merged and verified on main. Remaining work requires root access and a coordinated switch on amd-6; do not hand-install packages.
Acceptance criteria
- The ask in the title is delivered: Attribution: declarative auditd for signal syscalls on the laptop (follow-up to Decisions page 'crash' 2026-11-11: pm-aggregator + pm-dispatch SIGTERM'd mid-session, no self-heal (Restart=on-failure treats SIGTERM as clean) #8777)
- The change is recorded on this issue (links to any PR, doc, or decision that carries it).
- A reviewer can verify the result from the linked evidence without private context.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 11, 2026
CODE-2629
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged (inline triage — config+drill routed to task 20201; activation stays inside the coordinated-switch discipline)
Triage verdict (fresh, 2026-11-17, via
gh):held,user/owned,do-not-merge,do-not-auto-edit). Labels applied this pass:task/small-fix,priority/normal,effort/m,kind/infrastructure.CONFIG_AUDIT=y,CONFIG_AUDITSYSCALL=y), no audit tooling or rules exist, and the Decisions page 'crash' 2026-11-11: pm-aggregator + pm-dispatch SIGTERM'd mid-session, no self-heal (Restart=on-failure treats SIGTERM as clean) #8777 SIGTERM sender was never identified. The pm units' sigterm-witness stays regardless — this issue covers every other process.ausearch -k signal-attributionrecord naming the sender (auid/exe/pid) is pasted on this issue.Routing: config+drill packet queued as task 20201 (small_fix, 45 min). Task 18725 completes as
triagednaming it. Issue #8787 stays open until the drill record lands.dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: openchamber-scheduled-lane code-j (worker repo-worker-code), queue repo-health-code-pilot, task 20201
state: blocked (reason class packet_defect)
picked up: claimed 2026-11-17 12:00Z; revalidated fresh: issue OPEN, PR #8786 MERGED.
why blocked: the acceptance is a declarative auditd config PR in the laptop NixOS config repo (dezren39/nix at ~/code/dezren39-nix), which is outside this lane code-only designation; activation needs a coordinated window (Drew decision).
no code change made, no branch created.
needs: re-scope packet to dezren39/nix or confirm cross-repo permission; then an activation window or waiver before the drill.
17 remaining items
dezren39 commentedon Nov 24, 2026
agent-note:v1
state: verified-repo-half
actor: oc-code-02 (openchamber scheduled Fleet lane)
task: 21922 (second-pass verify-and-route)
auditctl -lneeds root and passwordless sudo is unavailable here, so the rule set was not read live.auditctl -l(expect the signal-attribution rules), send SIGTERM to a throwaway process, thenausearch -k signal-attributionand paste the record here. Routed as a hands task, not closed.dezren39 commentedon Nov 24, 2026
Lane xaltha (hourly work-loop, 2026-11-24): picked up via
fleet agent nextand claim-checked.No repo slice is available on this issue: the declarative auditd config already landed on main in PR #11285 (verified in felix's 2026-11-23 done check, comment 7104750258), and no open PR duplicates it.
What remains is host-only work on amd-6 that needs root and a coordinated switch / maintenance window, per this issue's own constraints: switch to a build at/after 30c79df if needed,
auditctl -las root, then the marked-shell SIGTERM acceptance drill with theausearch -k signal-attributionrecord pasted here. Sudo from this seat is password-gated, so this lane cannot perform those steps. Skipping as a genuine owner/hands item — not a repo blocker to work around.developing-today-fleet commentedon Nov 26, 2026
Triage result (task 24346): the repo half is already merged and verified on current
origin/main(nixos/services/signal-audit/default.nix;nixos/hosts/default.nixincludes it foramd). The remaining acceptance is host-side only: prove the rules loaded and run the signal attribution drill during the coordinated amd-6 switch with root access. No repository fix is outstanding, and no local edits were made.Routed as a hands item: issue body now carries the
hands:v1marker, withuser/escalated+status/blockedandqueue/queuedremoved. The human action is to verify the rules as root during the switch, run the marked-shell SIGTERM drill, and paste theausearchrecord here.developing-today-fleet commentedon Nov 26, 2026
🤖 Agent note · triage (queue task 24496, lane oc-code-07)
gh. Attribution: declarative auditd for signal syscalls on the laptop (follow-up to #8777) #8787 is OPEN; the repo half is already done. PR nixos: declarative auditd signal attribution on amd (#8787) #11285 (MERGED) "nixos: declarative auditd signal attribution on amd (Attribution: declarative auditd for signal syscalls on the laptop (follow-up to #8777) #8787)".hands:v1marker,user/escalated,status/blocked).queue/queuedlabel is present, so none is cleared.dezren39 commentedon Nov 29, 2026
🤖 Census note — 2026-11-29 (lane CEN-C06, Drew's full issue census)
Rechecked firsthand: body, all comments, PR state.
nixos/services/signal-audit, kill-family rules under keysignal-attribution, hostamd).auditctl -lshows the signal-attribution rules loaded; from a marked shell SIGTERM a throwaway process; paste theausearch -k signal-attributionrecord on this issue. The issue already carries thehands:v1marker with exactly this action; sudo from agent seats is password-gated, which is the blocker.status/blocked+user/escalatedcorrect;priority/normalstands.developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
nixos/services/signal-auditincluded for hostamdinnixos/hosts/default.nix), and the body states the constraints (root + activation, ride a coordinated switch, kill-family syscalls only) up front.ausearch -k signal-attribution) is host-side only and cannot be evidenced from the repo.developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: no
## Acceptance criteriasection.Strengths found: detailed body with context a picker-up can start from; linked to its epic/programme via epic/* labels; kind/* classification present.
Actions taken: appended
## Acceptance criteria(original body text unchanged).Priority:
priority/normalretained/assigned — matches the work's urgency as evidenced on the issue; no band change.