From 36c3a0a640aa4923becff72362602b48cb8f3894 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 16 Dec 2025 09:26:22 +0100 Subject: [PATCH] system: Reinstate lock-mounts work around for system containers. The underlying problem for system containers still hasn't been solved, the part of issue 78356 that has been solved is only home containers. This reverts commit cbc35fd9aa08a6da9df1ce8463779ad7decaf12a. This is a work around for #4788 (previously https://issues.guix.gnu.org/78356). * gnu/system/linux-container.scm (container-script): Disable lock-mounts? Change-Id: Ib8eacfc1f1f1a858acf19beb6c14e12c4648b8d9 --- gnu/system/linux-container.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm index 87a2100fcc4..2a3c54be59c 100644 --- a/gnu/system/linux-container.scm +++ b/gnu/system/linux-container.scm @@ -330,6 +330,10 @@ Run the container with the given options.")) #:namespaces (if #$shared-network? (delq 'net %namespaces) %namespaces) + + ;; XXX: Work around . + #:lock-mounts? #f + #:writable-root? #t #:process-spawned-hook (lambda (pid) ;; Write out the PID to the requested files