From 49c1eef65353bbee7032b587597a98e35e8da033 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:56:17 +0100 Subject: [PATCH] fix(install): fix Debian 13 LXC template root ownership bug (#11277) The Debian 13 LXC template has a bug where / is owned by nobody instead of root. This causes systemd-tmpfiles to fail with exit code 73 during package installation (e.g. authelia). Fix by checking and correcting / ownership at container setup. --- misc/install.func | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/install.func b/misc/install.func index f757e78d1..cfef85e31 100644 --- a/misc/install.func +++ b/misc/install.func @@ -79,6 +79,12 @@ EOF # ------------------------------------------------------------------------------ setting_up_container() { msg_info "Setting up Container OS" + + # Fix Debian 13 LXC template bug where / is owned by nobody + if [[ "$(stat -c '%U' /)" != "root" ]]; then + chown root:root / + fi + for ((i = RETRY_NUM; i > 0; i--)); do if [ "$(hostname -I)" != "" ]; then break