aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-05-10 18:58:35 +0200
committerLudovic Courtès <ludo@gnu.org>2025-05-12 10:40:02 +0200
commit437bb9ece55f37d4b5a62cafc98c0c3b848a53ce (patch)
treea20b30175258fb8cb819876e294baddcb0bd4c09
parente4e43cebbacbbb7982d08f691636f3234fd60184 (diff)
downloadguix-437bb9ece55f37d4b5a62cafc98c0c3b848a53ce.tar.gz
guix-437bb9ece55f37d4b5a62cafc98c0c3b848a53ce.zip
linux-container: Do not attempt to lock mounts for ‘guix system container’.
Fixes <https://issues.guix.gnu.org/78356>. * gnu/system/linux-container.scm (container-script): Pass #:lock-mounts? #f to ‘call-with-container’. Reported-by: Rutherther <rutherther@ditigal.xyz> Change-Id: Ie670868147f32baf2c2a94c9c7b1636bc84d0a0a
-rw-r--r--gnu/system/linux-container.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm
index e7cb90d091..8e208d3a70 100644
--- a/gnu/system/linux-container.scm
+++ b/gnu/system/linux-container.scm
@@ -312,6 +312,10 @@ Run the container with the given options."))
#:namespaces (if #$shared-network?
(delq 'net %namespaces)
%namespaces)
+
+ ;; XXX: Work around <https://issues.guix.gnu.org/78356>.
+ #:lock-mounts? #f
+
#:writable-root? #t
#:process-spawned-hook explain)))))