From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MxJFVxWu; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id 711695A0008 for ; Mon, 28 Apr 2025 14:36:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1745843767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CzcL3zVY1zyllzIujNnL1jBVIblFrpBpIUB1n9gWGBo=; b=MxJFVxWutZmbQyjdHgL2tbvX4YTdQCLlSSSH93mYf/drIpvXPhOKCCocyXLiKTpah561tK A0ibd8zsBSiQ43r65X5IyNjzZ5dNeOBAyjA0ROwNyxPiUYQTLenGr0GJuyoqbk/WEuR0WZ mF+QwfwsaR0y26SDLtPaP/YL2pl8kU4= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-473-EKz2l2CTOMqMCA29AiO7cw-1; Mon, 28 Apr 2025 08:36:05 -0400 X-MC-Unique: EKz2l2CTOMqMCA29AiO7cw-1 X-Mimecast-MFC-AGG-ID: EKz2l2CTOMqMCA29AiO7cw_1745843764 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-3912fe32b08so1951693f8f.3 for ; Mon, 28 Apr 2025 05:36:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745843764; x=1746448564; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CzcL3zVY1zyllzIujNnL1jBVIblFrpBpIUB1n9gWGBo=; b=eLc88XPqGxPfeNpvrNSIMXony0YytW89dlmGMb6Qsn9/4kFtlkBbUodfDAJyX6SvSr RJiqNOuSUm9HML9m0TZQI6Kyha7oqp1Rw+nuSiOEnox2vUhKNmLKqXEg5jGWh1PUU7Ov JE71hcB+5f+tcJkcX3HRh7bxzxfqJ7GljAGNDdClaAaoIGJ1dpLVWNXERZ3qRHUhPRq5 Iv8L6O2y00iMzJMagDPYfkRxIZx/azawtRf5uViEOMAoKls16cqjpUsATLnm2xQXkxmI dt53I1sXReow0+Z7Tku/AbHY4k4Nv0YW6q4WxAmNxIGwibtlF3Gab8OdmNV7Tv9vpI3f pGCg== X-Gm-Message-State: AOJu0Yxbh9Ucf1g7FpafCmL/vJMehzvmBQBEj8QxM476M6QES9o4W6OV D2jIL5as04CVW9VusvlW5PsTtrpeuAEQX1b9U7eiYZARN2pMhlgOKv1lUlemdAJU7SO7YrmVcxj vSnNYBv3E/AqCUZ0RUt+aHkT9fKYjfKNplXTYpGnY9od8T7VfP5KHfbcTBQ== X-Gm-Gg: ASbGnctES5HT8WwkHy/V/Yb/wtf7FD7tGl7r3WlHx4NmYlUAZlTe6nxtP0Y+Th2zHzU oXL9lgAYYkk1oFaK1dWxkVG8ZuBgq2d7Zlk7uUCZh8EOqI2MjFdyYFqfpjJxxdgEna6MW3zMNwK fnH/ftZRS5gnA5mmtHXTpHNNJd21drHzHwIZz+fOoKz49wEgXvHoCw695BOorpo5gjt4aev4N2A xjT1ONkC4P+j19SVnt1X2QjFR4k2MsoB43Hh7BeN9gcIlO6/QrEBcH7Mwu+thn582zJha6ISLkR OdMpIowHNlvMRwVokW4l2Q4= X-Received: by 2002:a5d:63d2:0:b0:39f:4d62:c5fc with SMTP id ffacd0b85a97d-3a074e43194mr6697264f8f.35.1745843764269; Mon, 28 Apr 2025 05:36:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfx010WKYXE8VzqjYlgYA0k9TClYSdPubuHaZ3gmTAJr2OfzfZunTpl/VBHdYrbDYOknOB9g== X-Received: by 2002:a5d:63d2:0:b0:39f:4d62:c5fc with SMTP id ffacd0b85a97d-3a074e43194mr6697252f8f.35.1745843763915; Mon, 28 Apr 2025 05:36:03 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a073c8ca99sm10932260f8f.20.2025.04.28.05.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 05:36:03 -0700 (PDT) Date: Mon, 28 Apr 2025 14:36:02 +0200 From: Stefano Brivio To: Alyssa Ross Subject: Re: [PATCH] conf: allow --fd 0 Message-ID: <20250428143602.5130c64d@elisabeth> In-Reply-To: <20250426084425.25940-1-hi@alyssa.is> References: <20250426084425.25940-1-hi@alyssa.is> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: eDqljChm7X8U56nqIEyYeKXgzHz7s1BSeHvgHzenR-s_1745843764 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: CPYBBMVRWP3VP4J3J2YC6JDGOH6VFD7F X-Message-ID-Hash: CPYBBMVRWP3VP4J3J2YC6JDGOH6VFD7F X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sat, 26 Apr 2025 10:44:25 +0200 Alyssa Ross wrote: > inetd-style socket passing traditionally starts a service with a > connected socket on file descriptors 0 and 1. passt disallowing > obtaining its socket from either of these descriptors made it > difficult to use with super-servers providing this interface =E2=80=94 in= my > case I wanted to use passt with s6-ipcserver[1]. Hah, interesting usage, first report I've seen with s6. Is that to dispatch passt processes for a network / set of guests or something? > Since (as far as I can tell) passt does not use standard input for > anything else (unlike standard output), Correct (...and unlike standard error, too). > it should be safe to relax the restrictions on --fd to allow setting > it to 0, enabling this use case. >=20 > Link: https://skarnet.org/software/s6/s6-ipcserver.html [1] > Signed-off-by: Alyssa Ross Applied, thanks for the patch, and welcome to the git log! --=20 Stefano