guix-kreyren/gnu/build
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
1ba0e38267c9ff8bb476285091be6e297bbf136e, 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
..
accounts.scm
activation.scm
bootloader.scm
chromium-extension.scm
cross-toolchain.scm
dbus-service.scm
file-systems.scm file-systems: Open files with O_CLOEXEC. 2022-09-08 16:22:21 +02:00
hurd-boot.scm
image.scm build: image: Make partition uuid optional. 2022-08-30 19:29:58 +02:00
install.scm
jami-service.scm
linux-boot.scm linux-boot: Resume from hibernation after pre-boot. 2022-09-04 02:00:00 +02:00
linux-container.scm linux-container: 'container-excursion*' marks its FDs as FD_CLOEXEC. 2022-09-20 19:24:31 +02:00
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm marionette: Avoid read error when wait-for-file file is empty. 2022-09-16 11:59:42 +02:00
secret-service.scm secret-service: Mark sockets as SOCK_CLOEXEC. 2022-09-13 00:31:04 +02:00
shepherd.scm shepherd: Set #o640 permissions for log file of service in container. 2022-09-02 16:32:16 +05:30
svg.scm