Nathaniel Lewis

Project 06 · Incident response

Incident: containers down after a NAS OS update

Two production sites in restart loops after a vendor update; root cause found in a hidden ACL layer.

  • Docker
  • nginx-unprivileged
  • Linux ACLs
  • Cloudflare Tunnel

Problem

Permission denied on files that were world-readable.

Approach

Ruled out POSIX permissions and ACLs, compared access as root and as the container user.

Result

Both sites restored in about an hour, then hardened to a common baseline.

  1. Symptomrestart loops
  2. Rule outPOSIX, ACLs
  3. Root causevendor ACL layer
  4. Test fixthrowaway container

The problem

After a vendor OS update, two production sites went into restart loops. Logs showed Permission denied on configuration files that were world-readable.

The approach

Ruled out standard POSIX permissions and ACLs, then compared file access as root and as the container's unprivileged user. The mount options revealed a vendor ACL layer enforced by the update. Validated a fix in a throwaway container before touching production.

The result

Both sites restored in about an hour, then hardened to a common baseline: read-only root filesystem, all capabilities dropped, no privilege escalation, resource limits and health checks. The runbook from this incident has since fixed the same fault in minutes.