diff options
| author | W. Kosior <koszko@koszko.org> | 2025-10-15 16:18:23 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-29 11:34:28 +0900 |
| commit | 3966f7629723c68e49b66fdf05feab901f8741ac (patch) | |
| tree | 90859f8dfea8f1966e3a141156ce766c84e293e5 /gnu/system | |
| parent | 5373d3b9aaceec999c43b30f9d9e77aa4420c6ea (diff) | |
linux-container: Inhibit GC thread creation in child.
The `unshare' system call with `CLONE_NEWUSER' cannot be used in multithreaded
programs. Guile VM's automatic GC thread creation used to lead to
nondeterministic failures in container creation, which uses this system call.
* gnu/build/linux-container.scm (run-container): Disable GC in child after
`(clone)' and re-enable after `(unshare)'.
Fixes: #1169
Change-Id: I9df5412102509c13f74ab9911f6f06c0152d0a4f
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions
