Codex daemon restart refused while a standalone app-server was answering on the same Unix socket.
Codex daemon restart refused while a standalone app-server was answering on the same Unix socket.
The selected package was updated but the existing listener was not daemon-managed. The first shutdown signal drained pending turns; the maintenance turn itself kept the listener alive.
After interruption authorization, use an independent shell, verify the exact old listener, let turns finish or cancel the authorized turn, then use the supported daemon restart once the socket is released. In the tested release the server also handles a second shutdown signal when intentional interruption is necessary. Never infer ownership from package version alone.
Restart exits zero; live socket peer matches the managed PID file and executable. Daemon version reports running with matching CLI and app-server versions, and the original thread reconnects.