From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wJtBK+r7MWf5+AAAqHPOHw:P1 (envelope-from ) for ; Mon, 11 Nov 2024 12:43:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wJtBK+r7MWf5+AAAqHPOHw (envelope-from ) for ; Mon, 11 Nov 2024 13:43:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="CrD/eQqx"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KXgG+NDm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731329002; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/mC35WSr43vW9psA/Gck5MYeMpjBptdlv6C02XE/Dmw=; b=srhYToqxy89I+pA6mHQ6eKmpCJT/g9zjCTuZriwKpy03/M/ajrCf+PrqoXBYTEdv/TCgi2 wbA0NvvMzEN4CfRufyjEnSt/jIGTwyjIG1i2s2dO207gcRXPHn7lMb0CckV6kBh89t9hoS QipEK+r7Ess7RGOiX3epjz15r/sS0oVptM1pkNCpvAyTP8Nh+op93JCyUcAmn1nY/9NXxu ekfmfiXXD5LNJ8u5e8Nr3j/G7Dd7zBT3QgPdEyOP/n9bViA9ur8OmF8CeK0HFK2wF91HU+ 7PNtJbc/uOMCphpeRAHGNV6PqVbFmUUMNFk7mMpS9BzugN8JqsRzXtlK87huyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731329002; a=rsa-sha256; cv=none; b=QvqUd+DxJMmeuf1zO9mVVr3fRVKQaGotYudL8Fo7oZroVkcADZjrVXJidP88+lqReTmkMt 54e4FP7k4ZMYO/++BwOv+kt8bjgTyLcu0g+ZIzadwFngT8HQn+ZZuO5YNg8j4BsqkAfcQd W5zBesML6ya+fLLHOrn8fIL4+JZoKPxMaNSVqWWHyWMG9G9FHf5TGwC6fdqYf0L0FkrDkI BmgtAomHC8p4uRxQk5sK4I40LvwhiHDVqJOonCXuPxQjCBEX1uVRuW/CuBMqJzVQar4fze YYvYL9Hh4qy+8Y4/7ECZ8rZLTmWCJRBoS7Oc6yYRIBJBSh6tXn5R1bUQMBENkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="CrD/eQqx"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KXgG+NDm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 92AA77CE2 for ; Mon, 11 Nov 2024 13:43:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tATl9-0003X1-Ol; Mon, 11 Nov 2024 07:43:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tATl0-0003WY-I4 for guix-patches@gnu.org; Mon, 11 Nov 2024 07:43:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tATl0-0003jD-9c for guix-patches@gnu.org; Mon, 11 Nov 2024 07:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=/mC35WSr43vW9psA/Gck5MYeMpjBptdlv6C02XE/Dmw=; b=CrD/eQqxj1I3BwIq07g2t9j27jrI6T0C7Dqg6OxlsfSaobjI1J5JO5opOJV9bBRWdDXbPN/yj/9QrR+/aleqTxwCYxr1iXksztbC/WrZbMdBTrpA3yxsZYzdua09vTsV1uznFDztxv2TIybmkfSKSAVjH7+fj/rRPcV2totqmfpYAsrV80dS2aXcktTCLxurqin3VtUHO2RMg0jeiWe17VMPEWvOW8pQVhCzsPXYLhumvSllaECyNrSiG07JsmrYFR8waHdLsGOWEUbleVdlU4qZtGhtroKyN1PbT2yV3XBtLZhfYHtLZDn/QInJwDuMWbHYuLrlLvDbLN4jvl4iHw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tATkz-0006SX-Sh for guix-patches@gnu.org; Mon, 11 Nov 2024 07:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33966] fcgiwrap: additional options for logging and unix domain sockets Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Nov 2024 12:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33966 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: security To: Florian Dold Cc: 33966@debbugs.gnu.org Received: via spool by 33966-submit@debbugs.gnu.org id=B33966.173132894124759 (code B ref 33966); Mon, 11 Nov 2024 12:43:01 +0000 Received: (at 33966) by debbugs.gnu.org; 11 Nov 2024 12:42:21 +0000 Received: from localhost ([127.0.0.1]:58590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tATkK-0006RH-Iv for submit@debbugs.gnu.org; Mon, 11 Nov 2024 07:42:20 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:51317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tATkI-0006R4-Sk for 33966@debbugs.gnu.org; Mon, 11 Nov 2024 07:42:19 -0500 Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-20ca1b6a80aso47653135ad.2 for <33966@debbugs.gnu.org>; Mon, 11 Nov 2024 04:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731328878; x=1731933678; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/mC35WSr43vW9psA/Gck5MYeMpjBptdlv6C02XE/Dmw=; b=KXgG+NDmRVv+OUAJ2+hdxr0M/m0+0PDxthIwAtD/fMeK+4TwGn0lpLekwJhND0Fh+s ls11Lx21yKdZJG2eiGHwk8gOWx9y6e3w/Y0SikhHac0ZPqdt55TJe/9BgYhzgK4MoeO7 fv1Eqqn4Xngf2oGQ4+BJMqrt7msU5Rvq8RhQybwUfEamtJkqbDlh+Ais20AGVM97l8u8 tKEW+9cQTX1kJvoMtlqWb2+O9fh3+Z2s1IqM8jqg1P+UHvXiGE5tDkHi+yvgsLqPyRFS B/Za86jUQr9oE8h45wCMPFgyaXebztPtbewFSgtIPKbZ9hErqdxijxlmvcFBT+sEREz3 VaWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731328878; x=1731933678; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/mC35WSr43vW9psA/Gck5MYeMpjBptdlv6C02XE/Dmw=; b=vpg3qhn/IVVSzCvWwCUZTD5kOHg7WqepVUVUG5ivMDisIDDE/+fHp7l03j3XLsRHHD SHm78Nd2FCCh5OjHUm78b0ZKr2Pj1UxrZPI5D0how4FjutYRl65DgKzXzM7C0UwxjTP2 rbBqvoA272FhoF5cC47CyrzmyvTU5TKVpEBgDTIDRw6OK7rxqFexQZVsPXdJmX2Bxc36 yHLdjaHfYGUOb/r86/Bs2vLVy5wCtdLuoZl/FGaPjlGFPrXvnpjiKJqrKrbjIbeZmAzm Y/hzb2Oy0uXI9Ea56+03GdC3wyZrmZK1FKS9SqPemue3ApplZPx9vZbHDmvvsWvU5V72 ZdpA== X-Gm-Message-State: AOJu0Yxb4J8+ErWaH4Gp8F6M9SYFi1uSCpVPmJvPhqytRBoUJKLeUNUd ACgcUik75wrSdQHr256rQdEbzzAjll4hAyODPwiwMQfQu4/hEElNlHtbIhJU X-Google-Smtp-Source: AGHT+IHmO/L1tr83XdJj9ZFzSOCdsewiNTFmSZnsq7l6Si6vVxAxTe0u+AXeCVjEPeXVZ4RWvBrf8Q== X-Received: by 2002:a17:903:2306:b0:20b:80e6:bcdf with SMTP id d9443c01a7336-21183ccc32cmr170284915ad.23.1731328877768; Mon, 11 Nov 2024 04:41:17 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e580easm74999675ad.180.2024.11.11.04.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 04:41:17 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <624ba072-d5fe-b159-46af-61e79caf22f1@gmail.com> (Florian Dold's message of "Thu, 3 Jan 2019 21:02:38 +0100") References: <624ba072-d5fe-b159-46af-61e79caf22f1@gmail.com> Date: Mon, 11 Nov 2024 21:41:11 +0900 Message-ID: <87ed3i9c48.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.85 X-Spam-Score: 1.85 X-Migadu-Queue-Id: 92AA77CE2 X-Migadu-Scanner: mx13.migadu.com X-TUID: Lp+CRWfbRDat Hi Florian, Florian Dold writes: > Hi Guix, > > this patch adds additional options to the fcgiwrap service. In > particular it allows > > 1. writing the output of the fcgi process to a file (with the 'log-file' > option) > > 2. arranging for a directory to be created so that the fcgiwrap process > can create its listening socket without running into permission problems > (with the 'ensure-socket-dir?' option) > > 3. adjusting the permissions on the listening unix domain socket, > typically so that users in the fcgiwrap group have read and write access > to that socket (with the 'adjusted-socket-permissions' option) > > Additionally, a potentially left-over fcgiwrap socket is cleaned up > before starting the service, which would otherwise lead to the process > refusing to run. > > The documentation is also changed to address a potential security issue, > now recommending against running fcgiwrap as root. > > The configuration defaults are not ideal (a tcp socket with unrestricted > access from any local user), but impossible to change without breaking > existing system definitions. Unfortunately this great patch no longer applies cleanly (there are conflicts in the doc). Would you be so kind as to resend an updated version? -- Thanks, Maxim