Originally published at woitzik.dev
Disclosure: This post contains Amazon affiliate links (marked with *). As an Amazon Associate I earn from qualifying purchases. Buying through them costs you nothing extra.
For about two months, apt on my Proxmox host could not refresh a single repository. /tmp had drifted from mode 1777 to 0755, apt's unprivileged _apt sandbox user could no longer create its signature temp files, and every apt-get update quietly fell back to stale index files. The fix was one chmod , plus a watchdog check so the next drift raises an alert instead of waiting for me to trip over it.
A week later I found a second version of the same problem on the Raspberry Pi nodes: unattended-upgrades ran every day, logged success, and left 69 updates untouched, including Docker Engine and containerd. Both failures share a shape.…