civodul pushed a commit to branch master
in repository guix.

commit 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce
Author: Ludovic Courtès <l...@gnu.org>
AuthorDate: Sat May 10 18:58:35 2025 +0200

    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 <ruthert...@ditigal.xyz>
    Change-Id: Ie670868147f32baf2c2a94c9c7b1636bc84d0a0a
---
 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 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)))))
 

Reply via email to