guix/gnu/build
Mathieu Othacehe 8ce6f4dc28
installer: Run the installation inside a container.
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.

* gnu/build/shepherd.scm (fork+exec-command/container): New procedure.
* gnu/services/base.scm (guix-shepherd-service): Support an optional PID
argument passed to the "start" method. If that argument is passed, ensure that
guix-daemon enters the given PID MNT namespace by using
fork+exec-command/container procedure.
* gnu/installer/final.scm (umount-cow-store): Remove it,
(install-system): run the installation from within a container.
* gnu/installer/newt/final.scm (run-install-shell): Remove the display hack.
2020-09-02 17:05:23 +02:00
..
accounts.scm accounts: Delete duplicate entries. 2019-08-28 00:27:14 +02:00
activation.scm activation: Fix function call for system activation 2020-06-09 10:43:54 +02:00
bootloader.scm build: bootloader: Add install-efi procedure. 2020-05-05 16:08:33 +02:00
cross-toolchain.scm gnu: cross-base: Switch back to 'CROSS_C_INCLUDE_PATH' & co. 2020-02-12 20:35:43 +01:00
file-systems.scm file-system: Add mount-may-fail? option. 2020-07-31 13:43:20 +02:00
hurd-boot.scm hurd-boot: Mount /proc, add /etc/mtab. 2020-06-27 13:01:40 +02:00
image.scm image: Do not set journal_model=WAL for the Hurd. 2020-07-11 16:34:01 +02:00
install.scm install: Factorize cow-store procedure. 2020-09-02 17:05:22 +02:00
linux-boot.scm hurd-boot: Further cleanup of "rc". 2020-06-08 14:26:14 +02:00
linux-container.scm linux-container: Do not jail the container unconditionally. 2020-09-02 17:05:23 +02:00
linux-initrd.scm build: initrd: Fix "write-cpio-archive" return value. 2019-09-25 12:18:25 +09:00
linux-modules.scm linux-libre: Support module compression. 2020-08-25 11:53:20 +02:00
locale.scm gnu: glibc-locales: Install symlinks using the normalized codeset. 2019-06-07 21:50:18 +02:00
marionette.scm marionette: Provide portable US-layout keystrokes for "<" and ">". 2020-02-22 00:45:42 +01:00
secret-service.scm services: Add secret-service-type. 2020-09-01 16:06:38 +02:00
shepherd.scm installer: Run the installation inside a container. 2020-09-02 17:05:23 +02:00
svg.scm
vm.scm database: 'register-items' takes an open database. 2020-06-18 14:48:17 +02:00