mbox

[bug#42849,0/3] installer: Run the installation inside a container.

Message ID 20200813122323.262805-1-othacehe@gnu.org
Headers show

Message

Mathieu Othacehe Aug. 13, 2020, 12:23 p.m. UTC
Hello,

When the store overlay is mounted, other processes such as kmscon, udev
and guix-daemon may open files from the store, preventing the
underlying install support from being umounted. See:
https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00161.html.

To avoid this situation, mount the store overlay inside a container,
and run the installation from within that container.

Thanks,

Mathieu

Mathieu Othacehe (3):
  install: Factorize cow-store procedure.
  linux-container: Add a jail? argument.
  installer: Run the installation inside a container.

 gnu/build/install.scm         |  44 +++++++++++-
 gnu/build/linux-container.scm |  20 +++---
 gnu/installer/final.scm       | 125 +++++++++++++++++-----------------
 gnu/installer/newt/final.scm  |   7 --
 gnu/services/base.scm         |  60 +++++++++-------
 gnu/system/install.scm        |  52 ++++----------
 6 files changed, 166 insertions(+), 142 deletions(-)