GNU bug report logs - #65221
[PATCH 0/2] Fix EXTRA-PORTS edge cases

Previous Next

Package: guix-patches;

Reported by: ulfvonbelow <striness <at> tilde.club>

Date: Fri, 11 Aug 2023 09:05:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: ulfvonbelow <striness <at> tilde.club>
To: 65221 <at> debbugs.gnu.org
Subject: [bug#65221] [PATCH 0/2] Fix EXTRA-PORTS edge cases
Date: Fri, 11 Aug 2023 04:03:52 -0500
The #:extra-ports argument to exec-command and its users behaves quite
strangely in certain circumstances, for example when multiple ports are
supplied, and they are supplied in an order other than by ascending file
descriptor number.  This can cause file descriptors to be clobbered.

ulfvonbelow (2):
  service: make EXTRA-PORTS work as advertised.
  service: use PRESERVE-PORTS for redirecting FDs 0-2.

 modules/shepherd/service.scm | 119 ++++++++++++++++++++++-------------
 1 file changed, 76 insertions(+), 43 deletions(-)

-- 
2.40.1





This bug report was last modified 1 year and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.