From 46df56a2645e6d72ae4d9b13f87e565371a16204 Mon Sep 17 00:00:00 2001 From: petruknw Date: Wed, 20 May 2026 23:07:41 +1000 Subject: [PATCH] fix: override upstream entrypoint to prevent chown failure on host-mounted paths The upstream docker-entrypoint.sh runs chown -R on /app/backend/data before the s6 run script can replace it with a symlink. When the symlink target is a host-mounted HA path (/share, /data, etc.), the chown fails with "Operation not permitted". Overriding ENTRYPOINT with /init hands control directly to s6-overlay, which then runs the run script that creates the symlinks before node starts. --- aurral/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aurral/Dockerfile b/aurral/Dockerfile index 3826991edc..4f3e451676 100644 --- a/aurral/Dockerfile +++ b/aurral/Dockerfile @@ -18,3 +18,8 @@ LABEL \ COPY rootfs / RUN chmod a+x /etc/services.d/aurral/run + +# Override the upstream docker-entrypoint.sh which tries to chown host-mounted +# paths and fails with "Operation not permitted" in the HA supervisor environment. +# s6-overlay's /init takes over process supervision instead. +ENTRYPOINT ["/init"]