summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-12-16 09:26:22 +0100
committerRutherther <rutherther@ditigal.xyz>2025-12-16 09:32:07 +0100
commit36c3a0a640aa4923becff72362602b48cb8f3894 (patch)
treef16134dee24e9824b5c6c0dba9cda129769a677c
parentf7ee648345f1b6cf48d02916611ff0f50367d3fd (diff)
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
-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 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."))
330 #:namespaces (if #$shared-network? 330 #:namespaces (if #$shared-network?
331 (delq 'net %namespaces) 331 (delq 'net %namespaces)
332 %namespaces) 332 %namespaces)
333
334 ;; XXX: Work around <https://codeberg.org/guix/guix/issues/4788>.
335 #:lock-mounts? #f
336
333 #:writable-root? #t 337 #:writable-root? #t
334 #:process-spawned-hook (lambda (pid) 338 #:process-spawned-hook (lambda (pid)
335 ;; Write out the PID to the requested files 339 ;; Write out the PID to the requested files