Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vEFLI-008LSN-Ga for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Oct 2025 23:12:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vEFLH-004IEg-D7 for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Oct 2025 23:12:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vEFLH-004IEV-3o for pgsql-hackers@lists.postgresql.org; Wed, 29 Oct 2025 23:12:34 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vEFLD-004xrg-2C for pgsql-hackers@lists.postgresql.org; Wed, 29 Oct 2025 23:12:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 59TNCQeg2919480; Wed, 29 Oct 2025 19:12:26 -0400 From: Tom Lane To: Joe Conway cc: Jacob Champion , pgsql-hackers@lists.postgresql.org Subject: Re: contrib/sepgsql regression tests have been broken for months In-reply-to: <66541690-91c2-48e6-9c99-12c9af25012b@joeconway.com> References: <1613232.1761255361@sss.pgh.pa.us> <2e327a21-9954-4d05-aa9e-3b7fe926f39f@joeconway.com> <371f0ee1-8507-46e0-9090-6df2b14f0cd8@joeconway.com> <081073df-32ff-498c-abeb-2e5590888ad9@joeconway.com> <66541690-91c2-48e6-9c99-12c9af25012b@joeconway.com> Comments: In-reply-to Joe Conway message dated "Wed, 29 Oct 2025 18:11:26 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2919478.1761779546.1@sss.pgh.pa.us> Date: Wed, 29 Oct 2025 19:12:26 -0400 Message-ID: <2919479.1761779546@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Joe Conway writes: > Everything < 18 passes. Hmm ... > 18 and HEAD get this failure: > # The SELinux boolean 'sepgsql_regression_test_mode' must be > # turned on in order to enable the rules necessary to run the > # regression tests. > I believe the boolean is flipped in the 17 and below tests by the test > script. How is that supposed to happen for the tap tests? I'd be quite astonished if the buildfarm were trying to do anything that requires root privilege, and even more astonished if it were succeeding. I think the expectation is that you turned on sepgsql_regression_test_mode manually before enabling this buildfarm test. I don't understand how < 18 would be passing if it weren't on, so the likely bet is that the test_sepgsql script is mistaken about how it's checking that. Said script does work for me, but maybe RHEL7's getsebool output is different from later versions? regards, tom lane