Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNgA3-0004WS-D5 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Sep 2021 18:49:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mNgA2-0002Bl-Cp for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Sep 2021 18:49:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNgA2-0002Bd-54 for pgsql-hackers@lists.postgresql.org; Tue, 07 Sep 2021 18:49:34 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNg9z-0007FS-Ic for pgsql-hackers@postgresql.org; Tue, 07 Sep 2021 18:49:33 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8B1D032002F9; Tue, 7 Sep 2021 14:49:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 07 Sep 2021 14:49:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=V6TkwJK7DsvVqm642EQB/IY+JQ/ dz+wRLfFFoU1YpXA=; b=XUIrNynV4iIna2CKZfnTayXIjpqZFAytJ0L04y9e8FQ partNwLMk1YLxdT9X4ZQvJPKHPYegyKgs4zxoKESe/uvfijEMzH82awXF3r2rRKH lBYUexGEKLU2ClYvNMozZFFzWKOvsqDCFLAM0kx4I3ILdB2U4ItltxH/hCaclRIF tPnkIxvE+ixR+tTBkEcAp8rNAp6/Z2bKFMFBQb/p0EPwZIhveR6Ao3+7cX27d5lg OB5G0UgFfWUcdmIQCmhmKjBmR8Y4iWV1sXt20xCVBaFZtj7x3+3LtoE7NL+IoSpN Z6jnZJDsgGhKQgl6cFNWyPIUvXn8OqaQ/3q6Fktk2sQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=V6TkwJ K7DsvVqm642EQB/IY+JQ/dz+wRLfFFoU1YpXA=; b=F8veQ4Sx0mjXFhbQpcvGOP gg/lqDD605JvPKEvHoTXPvuIACkkZRxMR52zVLm6XpKRpqyFjKAHfeySa6zZFWZg zhAsLUwRveEqc5uczirYym/vLdbxr3o0dYBVPccwU95wQZjTLPgsIy2YwqC3L55g UwrxaJBBfX7MMtfQySHSvgAyPP5B6OyBVnNlgUHOyeUhdYADvw+wc4XKSrB7JYD5 jh0JnkGo4/Awd+exI3T4TW73KqT2JTqiC2BYxpee7YPdWV5DnDSeTim/F26nvqO8 KinqGT7Bp9q1T2BNFcy/Rre378c6y8n3wX1OMZc4KEAzWIPrwvBWHUkHdJ4REJyg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudefhedgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Sep 2021 14:49:27 -0400 (EDT) Date: Tue, 7 Sep 2021 11:49:25 -0700 From: Andres Freund To: Ranier Vilela Cc: Magnus Hagander , Alvaro Herrera , Michael Paquier , Dave Page , Andrew Dunstan , PostgreSQL-development , Thomas Munro , Heikki Linnakangas Subject: Re: CI/windows docker vs "am a service" autodetection on windows Message-ID: <20210907184925.4z2vb2fptngwf7zb@alap3.anarazel.de> References: <20210304190817.at3r2kedvm5e3rq7@alap3.anarazel.de> <58c9854f-fa1c-e5df-3b8e-0c36a912c836@dunslane.net> <20210304203008.zy3op3fisra5tlun@alap3.anarazel.de> <20210304204859.65z6ynqicmlobi7r@alap3.anarazel.de> <20210305185752.3up5eq2eanb7ofmb@alap3.anarazel.de> <20210305205537.jq4occ6oqpdclmcc@alap3.anarazel.de> <20210813130257.3zj4nsj7gklqlycn@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-08-15 11:25:01 -0300, Ranier Vilela wrote: > I found this function on the web, from OpenSSL, but I haven't tested it. > I think that there is one more way to test if a service is running > (SECURITY_INTERACTIVE_RID). I don't think that really addresses the issue. If a service starts postgres somewhere within, it won't have SECURITY_INTERACTIVE_RID, but postgres isn't quite running as a service nevertheless. I think that's the situation in the CI case that triggered me to look into this. Regards, Andres