From 2d83590445242dc915de2d22a8ae4204297927dc Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Sun, 11 Oct 2026 08:53:19 +0200 Subject: [PATCH 1/2] Attach /dev/fuse on Incus when var_fuse is set ENABLE_FUSE was exported but never applied on the Incus backend. --- incus/backend.func | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/incus/backend.func b/incus/backend.func index f0282a1..3c7f31b 100644 --- a/incus/backend.func +++ b/incus/backend.func @@ -857,6 +857,14 @@ incus_configure_device_passthrough() { fi fi + if [[ "${ENABLE_FUSE:-no}" == "yes" ]] && ! incus_ct_exec test -c /dev/fuse 2>/dev/null; then + if incus config device add "${CT_NAME}" fuse unix-char source=/dev/fuse path=/dev/fuse >>"${LOGFILE:-$INCUS_BUILD_LOG}" 2>&1; then + msg_ok "FUSE device attached" + else + msg_warn "Could not add FUSE device" + fi + fi + if [[ -e /dev/apex_0 ]]; then msg_custom "🔌" "${BL}" "Detected Coral TPU - configuring passthrough" _incus_soft incus config device add "${CT_NAME}" apex0 unix-char source=/dev/apex_0 path=/dev/apex_0 >>"${LOGFILE:-$INCUS_BUILD_LOG}" 2>&1 From 26c14c3fc2bc602d112dc695896098a49e6464e6 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Sun, 11 Oct 2026 09:01:37 +0200 Subject: [PATCH 2/2] Wrap the FUSE device line like the TUN one --- incus/backend.func | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/incus/backend.func b/incus/backend.func index 3c7f31b..8bad38c 100644 --- a/incus/backend.func +++ b/incus/backend.func @@ -858,7 +858,8 @@ incus_configure_device_passthrough() { fi if [[ "${ENABLE_FUSE:-no}" == "yes" ]] && ! incus_ct_exec test -c /dev/fuse 2>/dev/null; then - if incus config device add "${CT_NAME}" fuse unix-char source=/dev/fuse path=/dev/fuse >>"${LOGFILE:-$INCUS_BUILD_LOG}" 2>&1; then + if incus config device add "${CT_NAME}" fuse unix-char source=/dev/fuse path=/dev/fuse \ + >>"${LOGFILE:-$INCUS_BUILD_LOG}" 2>&1; then msg_ok "FUSE device attached" else msg_warn "Could not add FUSE device"