Skip to content

fix(docker): remove noisy root-drop log from CLI launcher#1342

Merged
Aaronontheweb merged 4 commits into
netclaw-dev:devfrom
Aaronontheweb:worktree-fix-root-drop-noise
Jun 6, 2026
Merged

fix(docker): remove noisy root-drop log from CLI launcher#1342
Aaronontheweb merged 4 commits into
netclaw-dev:devfrom
Aaronontheweb:worktree-fix-root-drop-noise

Conversation

@Aaronontheweb
Copy link
Copy Markdown
Collaborator

Summary

  • Removes the [netclaw] invoked as root; dropping to the 'netclaw' user (ADR-004). echo from the CLI launcher script
  • The root-to-netclaw privilege drop is unchanged — only the stderr log line is removed
  • Every kubectl exec / docker exec invocation printed this message, cluttering interactive container sessions

Test plan

  • docker exec into a netclaw container as root, run netclaw provider — no log noise
  • Verify the CLI still runs correctly (root drop still works silently)

The ADR-004 self-drop echo fires on every `netclaw` invocation via
`kubectl exec` / `docker exec`, cluttering interactive sessions with
a message the operator already expects. The drop itself is unchanged.
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 6, 2026 21:38
…rumb

Phase B (file-ownership check) already proves the root-drop works.
Remove the Phase A stderr assertion that required the noisy echo, and
the now-vacuous Phase C negative assertion. The error-signature
belt-and-suspenders check is retained.
@Aaronontheweb Aaronontheweb merged commit 2a0af43 into netclaw-dev:dev Jun 6, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant