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 1rwzXp-005isy-QP for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 07:17:25 +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 1rwzXo-009I6r-9R for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 07:17:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rwzXn-009I6j-WD for pgsql-hackers@lists.postgresql.org; Wed, 17 Apr 2024 07:17:24 +0000 Received: from mxout013.mail.hostpoint.ch ([2a00:d70:0:e::313]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rwzXk-003G0m-Ft for pgsql-hackers@postgresql.org; Wed, 17 Apr 2024 07:17:22 +0000 Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout013.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1rwzXf-00000000Ejs-2qCt; Wed, 17 Apr 2024 09:17:15 +0200 Received: from [2a02:1210:94db:500:4d6f:2749:8f6c:a6fc] by asmtp013.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1rwzXf-00000000OwA-23b4; Wed, 17 Apr 2024 09:17:15 +0200 X-Authenticated-Sender-Id: hofstetter@jomasoft.ch Message-ID: <7fa9bd8a-fdd0-42af-b6b1-b3410a1aa293@jomasoft.ch> Date: Wed, 17 Apr 2024 09:17:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Solaris tar issues, or other reason why margay fails 010_pg_basebackup? To: Thomas Munro , pgsql-hackers References: Content-Language: en-US From: Marcel Hofstetter Autocrypt: addr=hofstetter@jomasoft.ch; keydata= xsFNBF/zKnsBEADDy41QzpW3MJqRZwLiAllIKy+aXDLz6/W5bLK1Dy3oqqalg4TJWVsZYj5y oCffnEbHbL4wbKwMEGWkbIKHVKzROJdLmtHREY//CobyT4BzPYVtkqb9OxnrOvOYgzXL/502 +644A9eVYgodD6fsNN27GxWXh1MKCzzumf+PVToEXwVQqwadGCVzNgF81ppaGaA4d7i11JYH jCPzVqdfSx3hu3/kKPHgUsO3d7ITM3oyi7u9nOWQyaqMroRqaWQbPm6+MyINHunRHwMVT/nw sp+mgEHUcfU4qH0BCQzgqyW+byUPyDzFYPH8GTQ6uqF62W4G5QMY7BUxDwYBw4EbxtTumPgM nADFIszSybAhZdC+l6EoH2R6JPu7bmJ+YNQpFSJUssPF15JzyAbnPH6V21kSEVnNchYJ/V6Y LaHJDPsc5ok31zZDGs0aUK8e6DmUtzXZ06imnbqZK7XRip40EubHZ7a8A544lwiPVeD0Dwtq E8lALGk/kaCMzKd5mcmo6cZya6VewzLTWiHGSSefE2q82lNgJhhb8DQ7FBaLTicO857a3qe2 VqQJnv13L5eXF06/wTIeE1SHRRJlHTyvRWXIFhYKBOEzwoLN6bo2ZMD4U0bVmKCugTuk/9V2 z8f1jto2lwdJ7R9TxEH34zHaYoNIm6VBnHFUamPzeToWkZNT1wARAQABzSpNYXJjZWwgSG9m c3RldHRlciA8aG9mc3RldHRlckBqb21hc29mdC5jaD7CwY8EEwEIADkWIQSHVUFiY5PkkYX2 +RosLKxJxi3PSgUCX/MqhQUJCWYBgAIbAwULCQgHAgYVCAkKCwIFFgIDAQAACgkQLCysScYt z0qzPhAAtEPTbtpipJ9s4neZDyNLJTSwgMonQ22jxNy7nt/oorUJr6KJnYRN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nB8g1 +ZiVoRf7VYBy1akgq7jgjdCbn2LmZqeEYXupx5QbK9SBCd//BvQP2qUn7e6HAyvwGmVCjTNO 9dOE4wijdCbraHmmriKl7IjX+YTYTmx9CLZEyev47Ml8EkljF+Tk3XYgZEKkYmPPSFID4PDp VwoGn8lT04dq3DWjr6D4RPhbttaFu8ufR/e6za2BuBG/Dw4xj5NF/Fn0L7K5zA7QucSAypaF RbLRhIgrm7t8f8+YlhctABEBAAHCwXwEGAEIACYWIQSHVUFiY5PkkYX2+RosLKxJxi3PSgUC X/MqlAUJCWYBgAIbDAAKCRAsLKxJxi3PSiXID/96akHHlBufOdeapCxWfleMeCbTmm3h+dYy 7BjICak4v1cPSXOAISnQTLIkBTYoLdcVw5IrNamE+dOKJU8PTlVbfsD8F+RRsdcrKC1mbymL VCQ2PukUKc4TU4tge1EXOu+SuRwDrj4hx35NP0+1QsVwZHUB/y/xYMpPFF+7sGx+89FJzpti iYsk2WYr6fwxcAI9ba22ITA0t3rtTCfqW58zyXIGpiqtlZi8N0m68EjgcsMNDLmIf5gUz0LL W9I2aduf+JKld5emmwphDE5cG9EUjEhAnGprAM3gSb49mFjrbHdkTJ3thIx134lrql1DoX3g r2lpWqoF3i2e5eLd4Oh8Ro5wrU4+rqD+OF106cdUAaNrRUd7AsSqcYz/oxk+gR735LtbCTGq 7XPyTC3ud8efmoLnWefr9ddmF6dYuJk4TnwuBt4QyMDoJNZRucV1nwxce9eyPvMMvSpqf+iO BCntlw+TKGPgRc9pBVEZGZs9sxfHgdAr40ucoNNPAC0PXgl+hNK9gkIq2kp8FNOWCYLCZdio TfSGBQGBhwXO8eKueTuilJ3EY/cJGIUmcvG+IfleQx33qdTbgtmMIaMZyq95xwl0wISC9zO+ q59/eESfhUGwTTfXUVptj7hhPpt7UkQpI0NHyhtLPfD/M4l7dwwpMtawbcKZTRl3IsYRKPZV +A== Organization: JomaSoft GmbH In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Vs-State: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Is there a way to configure which tar to use? gnu tar would be available. -bash-5.1$ ls -l /usr/gnu/bin/tar -r-xr-xr-x 1 root bin 1226248 Jul 1 2022 /usr/gnu/bin/tar Which tar file is used? I could try to untar manually to see what happens. Best regards, Marcel Am 17.04.2024 um 06:21 schrieb Thomas Munro: > Hi, > > I noticed that margay (Solaris) has started running more of the tests > lately, but is failing in pg_basebaseup/010_pg_basebackup. It runs > successfully on wrasse (in older branches, Solaris 11.3 is desupported > in 17/master), and also on pollock (illumos, forked from common > ancestor Solaris 10 while it was open source). > > Hmm, wrasse is using "/opt/csw/bin/gtar xf ..." and pollock is using > "/usr/gnu/bin/tar xf ...", while margay is using "/usr/bin/tar xf > ...". The tar command is indicating success (it's run by > system_or_bail and it's not bailing), but the replica doesn't want to > come up: > > pg_ctl: directory > "/home/marcel/build-farm-15/buildroot/HEAD/pgsql.build/src/bin/pg_basebackup/tmp_check/t_010_pg_basebackup_replica_data/pgdata" > is not a database cluster directory" > > So one idea would be that our tar format is incompatible with Sun tar > in some way that corrupts the output, or there is some still > difference in the nesting of the directory structure it creates, or > something like that. I wonder if this is already common knowledge in > the repressed memories of this list, but I couldn't find anything > specific. I'd be curious to know why exactly, if so (in terms of > POSIX conformance etc, who is doing something wrong).