~ruther/guix-local

36c3a0a640aa4923becff72362602b48cb8f3894 — Rutherther 2 months ago f7ee648
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
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
@@ 330,6 330,10 @@ Run the container with the given options."))
                #:namespaces (if #$shared-network?
                                 (delq 'net %namespaces)
                                 %namespaces)

                ;; XXX: Work around <https://codeberg.org/guix/guix/issues/4788>.
                #:lock-mounts? #f

                #:writable-root? #t
                #:process-spawned-hook (lambda (pid)
                                         ;; Write out the PID to the requested files