1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-10 16:50:43 +02:00

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
This commit is contained in:
Ludovic Courtès 2025-05-10 18:58:35 +02:00
parent e4e43cebba
commit 437bb9ece5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)))))