From f290cd85ff45925fdb75252ca494a03a81e2d4a5 Mon Sep 17 00:00:00 2001 From: Edgar Arakelyan Date: Fri, 13 Nov 2026 09:31:03 -0800 Subject: [PATCH] fix(computers): ubuntu-24.04's session supervisord logs to the console again, so a disk's boot check sees it Since root's supervisord runs the session's (#649), the session's output went to a file root alone reads, so the console showed only root's own programs. The release's disk boot check waits on the console for every program in supervisord.conf and timed out on the ubuntu-24.04 disk, failing every release since v0.9.1522. Co-Authored-By: Claude Opus 5.5 --- src/agent_env/computers/artifacts/ubuntu-24.04/root.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/agent_env/computers/artifacts/ubuntu-24.04/root.conf b/src/agent_env/computers/artifacts/ubuntu-24.04/root.conf index 96faf63e5..53a713a8a 100644 --- a/src/agent_env/computers/artifacts/ubuntu-24.04/root.conf +++ b/src/agent_env/computers/artifacts/ubuntu-24.04/root.conf @@ -1,8 +1,10 @@ ; Root's supervisord, which the base's init starts as root once it has made what the session must not touch: the clock ; follower and the egress proxy, each as its own user, on real time, and the session's supervisord (supervisord.conf) ; as the session user, which runs every session program. Its socket and logs are root's alone, so the session user can -; neither stop nor restart any of them. The follower follows nothing until core writes its config, then picks it up -; within a quarter second. The egress proxy logs a JSON line per connection. +; neither stop nor restart any of them. The session's supervisord logs to the computer's console, as it did when init +; ran it, since a disk's boot check reads there that each session program is running. The follower follows nothing +; until core writes its config, then picks it up within a quarter second. The egress proxy logs a JSON line per +; connection. [supervisord] nodaemon=true user=root @@ -52,5 +54,6 @@ priority=10 autorestart=true stopwaitsecs=30 redirect_stderr=true -stdout_logfile=/var/log/agentenv-root/session.log +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 environment=HOME="/home/user",USER="user",LOGNAME="user"