guix/gnu
Ludovic Courtès 6abdcef4a6
linux-container: 'container-excursion*' marks its FDs as FD_CLOEXEC.
Fixes <https://issues.guix.gnu.org/57827>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.

Fixes a regression introduced with the Shepherd 0.9.2 upgrade in
1ba0e38267, whereby IN and OUT would no
longer be closed when 'fork+exec-command/container' would call
'exec-command*' as part of the THUNK passed to 'container-excursion*'.

This is because the Shepherd 0.9.2 assumes file descriptors are properly
marked as O_CLOEXEC and, consequently, 'exec-command' no longer run the
close(2) loop prior to 'exec'.

* gnu/build/linux-container.scm (container-excursion*): Add calls to
'fcntl'.
2022-09-20 19:24:31 +02:00
..
bootloader
build linux-container: 'container-excursion*' marks its FDs as FD_CLOEXEC. 2022-09-20 19:24:31 +02:00
home
installer
machine
packages gnu: python-pyvcf: Update to 0.6.8-0.476169c. 2022-09-20 17:02:34 +02:00
services
system
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk
machine.scm
packages.scm
services.scm
system.scm
tests.scm