From bf8fad14b7586d37f07416566cc2aa928f9aff9f Mon Sep 17 00:00:00 2001 From: 3405691582 Date: Mon, 9 Nov 2026 16:55:08 +0000 Subject: [PATCH] Run a syslogd in the orchestration container. Older host packages ship a crosvm that treats a failed syslog initialisation as fatal. Newer crosvm only warns, so this shows up only when testing with older Android versions. Bind-mounting the host's /dev/log would fix it too, but mixes container logs into the host. A syslogd inside the container keeps the logs there instead; busybox-syslogd is the smallest one Debian offers without pulling in systemd pieces. --- container/image/Containerfile | 1 + container/image/guest/run_services.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/container/image/Containerfile b/container/image/Containerfile index 6cce241a4eb..faaf26546e4 100644 --- a/container/image/Containerfile +++ b/container/image/Containerfile @@ -24,6 +24,7 @@ WORKDIR /root RUN set -x RUN apt update RUN apt install -y --no-install-recommends \ + busybox-syslogd \ ca-certificates \ curl \ default-jre-headless \ diff --git a/container/image/guest/run_services.sh b/container/image/guest/run_services.sh index e5755ca097f..feb7dfac6af 100644 --- a/container/image/guest/run_services.sh +++ b/container/image/guest/run_services.sh @@ -5,6 +5,9 @@ if [[ "${USE_GCE_METADATA}" == "true" ]]; then >> /etc/default/cuttlefish-host_orchestrator fi +# Android T host packages ship crosvm with syslog dependency. +service busybox-syslogd start + service nginx start service cuttlefish-host-resources start service cuttlefish-operator start