~ruther/guix-local

437bb9ece55f37d4b5a62cafc98c0c3b848a53ce — Ludovic Courtès 9 months ago e4e43ce
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
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/system/linux-container.scm
M gnu/system/linux-container.scm => gnu/system/linux-container.scm +4 -0
@@ 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)))))