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
..
2020-05-13 23:35:57 +02:00
2020-05-08 16:30:50 +02:00
2020-05-08 16:30:50 +02:00
2020-05-08 16:30:50 +02:00
2020-03-03 15:00:32 +01:00
2020-08-02 15:54:37 +03:00
2020-07-25 12:27:35 +03:00
2019-11-28 13:30:53 +01:00
2020-02-02 10:42:16 +01:00
2020-06-28 14:03:03 +03:00
2020-05-05 15:32:40 +03:00
2020-02-19 04:08:55 +01:00