From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 19:45:00 2021 Received: (at submit) by debbugs.gnu.org; 24 Feb 2021 00:45:00 +0000 Received: from localhost ([127.0.0.1]:32815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEiIV-0005mq-Rj for submit@debbugs.gnu.org; Tue, 23 Feb 2021 19:45:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:37740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEiIT-0005mi-PL for submit@debbugs.gnu.org; Tue, 23 Feb 2021 19:44:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEiIP-0008Kc-Kx for bug-guix@gnu.org; Tue, 23 Feb 2021 19:44:57 -0500 Received: from mira.cbaines.net ([212.71.252.8]:36406) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEiIM-0001bR-Jm for bug-guix@gnu.org; Tue, 23 Feb 2021 19:44:53 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id B30E227BC4A for ; Wed, 24 Feb 2021 00:44:47 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0bc44a8a for ; Wed, 24 Feb 2021 00:44:46 +0000 (UTC) User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines To: bug-guix@gnu.org Subject: Services breakage from the PostgreSQL socket-directory configuration change Date: Wed, 24 Feb 2021 00:44:41 +0000 Message-ID: <87lfbel2fa.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hey, When reconfiguring recently, I ran in to issues with the Guix Data Service and probably the Patchwork service too. Looking at the change, I think it's clear there's a problem, because some system tests were changed, and I'm guessing they were changed so that they passed [1]. 1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=6c0679215f4ffa534c1eb2e8c8a6e043a0c993fe Passing tests are good, but working around real issues in tests is not, because that means that the situation outside of the tests can break and if it does, the test result is misleading. Patchwork, the Guix Data Service and maybe other things currently depend on the default behaviour of PostgreSQL to find the socket. Given that the service now uses a different (non-default) value, they don't work. One workaround, the one employed in the tests is to revert to the old behaviour for the PostgreSQL service by setting socket-directory to #f. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmA1oXlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf5eRAAtPXnoC+rw0R5CBPJKJ2T2ycBli77OnL3 jz2l/DtJLi7lFJpO6JrCp41V96wv4G8JELj0DyOnEUAbui4oNzuGcSFH6NPqtNrA trYYkdzjCIE2aH4N8jGEVGM5/LcISKIojMKMgAknI0s79dWzVubepIzCN2NU9Ery L1M4hoo6UOee7Rsw6q7AQZP0h+Ci5SwxXeTbGAvsrqMxmnJXz4NmetJxEyp02Rdx WEVQxhwAG7BqBf5dFX3JWuhEjlI+nll60fCTw+MWRmQytdgwsYM+mGtT9swI6EMg 6mlpodPTROws8tGEASPL/93/f32F5UyNW1Z0dtWCeeD6VMOypwzUWXL7x4NpS8XC YdmM9mcaZwC1azXB0d0J5y/Mj0vqGRJf1Khz20dHeCoTBRXOI6HuTXbXSY/8QENr ztU7dV/6TI/vlMTaf/CDPfgPVGn1Nxs7+Iz5tI1PNhnZjGLLt4l2QMV63GU1mhIq vO4dAZFgjRrS4MxSrve4sbr2h9EHAdYAL3bXRpdNvfRam5As5Xm7NGvKflimzI2I FGnFv7Sf1XIgLX/3x9ed1NamOI8pHCCMRysnq2xgql9nX0pvOHc4XM86MiSA1ZIu rXlrT7E+t/CvaV6yktMHT9Llbc1lKEuSrnSqBoSeZ2iUwm3rTny9htobpD4/h1Ah LqEE5l1R7fI= =r2YF -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 08:39:54 2021 Received: (at 46737) by debbugs.gnu.org; 25 Feb 2021 13:39:54 +0000 Received: from localhost ([127.0.0.1]:37084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFGry-0001bI-Eo for submit@debbugs.gnu.org; Thu, 25 Feb 2021 08:39:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFGrw-0001b4-Ou for 46737@debbugs.gnu.org; Thu, 25 Feb 2021 08:39:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55477) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFGrr-0006L6-9u; Thu, 25 Feb 2021 08:39:47 -0500 Received: from [2a01:e0a:19b:d9a0:8569:3086:94cf:19bf] (port=55276 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lFGrm-0005Tz-EH; Thu, 25 Feb 2021 08:39:44 -0500 From: Mathieu Othacehe To: Christopher Baines Subject: Re: bug#46737: Services breakage from the PostgreSQL socket-directory configuration change References: <87lfbel2fa.fsf@cbaines.net> Date: Thu, 25 Feb 2021 14:39:41 +0100 In-Reply-To: <87lfbel2fa.fsf@cbaines.net> (Christopher Baines's message of "Wed, 24 Feb 2021 00:44:41 +0000") Message-ID: <87a6rsmfky.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46737 Cc: 46737@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Chris, > One workaround, the one employed in the tests is to revert to the old > behaviour for the PostgreSQL service by setting socket-directory to #f. You're right, sorry about the breakage. As you noticed we are in an in-between situation where the patch updating Postgresql package to use "/var/run/postgresql" by default is only on core-updates, but the service is already using it as a default on master. This means that "createdb", "dropdb" and other Postgresql user tools need to have an explicit "-h /var/run/postgresql" argument for now. Until the package patch gets merged in the master branch, we could set the "socket-directory" field of record to #f to restore an acceptable default behaviour. WDYT? Sorry again for breaking things, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 13:35:54 2021 Received: (at 46737) by debbugs.gnu.org; 25 Feb 2021 18:35:54 +0000 Received: from localhost ([127.0.0.1]:39246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFLUQ-0007OF-Jl for submit@debbugs.gnu.org; Thu, 25 Feb 2021 13:35:54 -0500 Received: from mira.cbaines.net ([212.71.252.8]:49604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFLUN-0007O6-CA for 46737@debbugs.gnu.org; Thu, 25 Feb 2021 13:35:53 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 5677F27BC4A; Thu, 25 Feb 2021 18:35:50 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d7d88419; Thu, 25 Feb 2021 18:35:49 +0000 (UTC) References: <87lfbel2fa.fsf@cbaines.net> <87a6rsmfky.fsf@gnu.org> User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines To: Mathieu Othacehe Subject: Re: bug#46737: Services breakage from the PostgreSQL socket-directory configuration change In-reply-to: <87a6rsmfky.fsf@gnu.org> Date: Thu, 25 Feb 2021 18:35:46 +0000 Message-ID: <87pn0oj8ql.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46737 Cc: 46737@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Mathieu Othacehe writes: >> One workaround, the one employed in the tests is to revert to the old >> behaviour for the PostgreSQL service by setting socket-directory to #f. > > You're right, sorry about the breakage. As you noticed we are in an > in-between situation where the patch updating Postgresql package to use > "/var/run/postgresql" by default is only on core-updates, but the > service is already using it as a default on master. > > This means that "createdb", "dropdb" and other Postgresql user tools > need to have an explicit "-h /var/run/postgresql" argument for now. > > Until the package patch gets merged in the master branch, we could set > the "socket-directory" field of record to #f to > restore an acceptable default behaviour. > > WDYT? I think that would be good. It's unfortunate that the package change is stuck on core-updates for now, but configuring the service on master to keep the old behaviour until core-updates is merged sounds sensible. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmA37gJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfYWQ//a8BpwEoDWDikKF59cLc8KkBXDIsN2CwP WFpQpis44BKmFyEjLdnRdfNEYqiZpUZQtc0NsHzf8XUrM/bRX/6QPAD3lnfw5BZy XXYU1RhqfBEqhT/kyiTW5ik1qCrFlzL6yjXk9o5BJr/dZbaVB0JhDqDy8odU87pZ lBRgkAcbtRRenmc/pIXbiUebszAhZGSs3rQsQgP2qGkrLJhicxoFFAZxCrIBhuiI RpCGglND85FA/5DHc1+HI10FlQxayYaiRbj1e3MO4gXg9GCHkMjabHMaKUp0xpY5 W9Wg/9JHLYwN75WtmCIvuxoNfcL+aUOz7ctzIR7LY7BTlIwq7XU4enMAGI/P4i4e Hig2LHlM72zqcuZ8LVz6j5ryeZRRW+f12InojSrQ3hjn4T6MtarWcWbTo9extkbA LkvuPmLsHWr6A+3gyjtSRYYv3MD46QOQorFPdkO2H0MSv8LGVWOxoPvnMmiHZINb IkwyKYCWyiQL+lUGj5b2kfpbJDQpgsDX+B1UusgT238G+3t9ziUwAzn3NT6lQOgt RWauZ7T/5r3Smk5gVMFBEym3KU5zDauQtY7cGbBOFdS9vVMQXRrzWz8CSuGEh1Tt e8mNPsw7E5hlTLBEUsvF1LRDRCMaAYtKfDb2Hab12d27TmMzPkEuzvwHPsGZWOuh 6uCaFBjjPUQ= =4xtb -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 12 16:47:49 2021 Received: (at 46737) by debbugs.gnu.org; 12 Apr 2021 20:47:49 +0000 Received: from localhost ([127.0.0.1]:58224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW3TJ-0008A6-5n for submit@debbugs.gnu.org; Mon, 12 Apr 2021 16:47:49 -0400 Received: from mira.cbaines.net ([212.71.252.8]:53772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW3TH-00089y-P3 for 46737@debbugs.gnu.org; Mon, 12 Apr 2021 16:47:48 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 8D73C27BC72 for <46737@debbugs.gnu.org>; Mon, 12 Apr 2021 21:47:46 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 1ca082d3 for <46737@debbugs.gnu.org>; Mon, 12 Apr 2021 20:47:46 +0000 (UTC) References: <87lfbel2fa.fsf@cbaines.net> <87a6rsmfky.fsf@gnu.org> <87pn0oj8ql.fsf@cbaines.net> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: 46737@debbugs.gnu.org Subject: Re: bug#46737: Services breakage from the PostgreSQL socket-directory configuration change In-reply-to: <87pn0oj8ql.fsf@cbaines.net> Date: Mon, 12 Apr 2021 21:47:45 +0100 Message-ID: <87k0p7z0um.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46737 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > Mathieu Othacehe writes: > >>> One workaround, the one employed in the tests is to revert to the old >>> behaviour for the PostgreSQL service by setting socket-directory to #f. >> >> You're right, sorry about the breakage. As you noticed we are in an >> in-between situation where the patch updating Postgresql package to use >> "/var/run/postgresql" by default is only on core-updates, but the >> service is already using it as a default on master. >> >> This means that "createdb", "dropdb" and other Postgresql user tools >> need to have an explicit "-h /var/run/postgresql" argument for now. >> >> Until the package patch gets merged in the master branch, we could set >> the "socket-directory" field of record to #f to >> restore an acceptable default behaviour. >> >> WDYT? > > I think that would be good. It's unfortunate that the package change is > stuck on core-updates for now, but configuring the service on master to > keep the old behaviour until core-updates is merged sounds sensible. I don't know if the expectation was that I was going to fix this, but since it seems there's a release coming up, I went ahead and prepared a patch [1]. 1: https://issues.guix.gnu.org/47736 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmB0sfFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdaJw//Up9MB6mcPr3sM9BHCGVZ0nvwVM9vOkYV 3vE9Oj+q4U3mSZxfT99qxUJSxHmWqzcNKM/wWm8qq2H3zMmu5rgr4pgumKKUCNoN 791w0VC8+o6uW2/+C4faYrg52LxzCVGvywi2Wj3TkNkT2uQzwwfc/PEBVCagh2dR YxYgWAscGkBQtjVyoah//s42TEoKCkQEACw0Mng81vCsMB5NnALIObF1wcyzY70T Cu+tTOkDWN0hHfqlH9qLwaLDwnLIBKRHTO/xjVbyJLYS3V7Btvzk9LfnVL1TONqD +xwsG64raWZLo7TQzqlVvu1kOUGkYeD0HG3vsnumqiIbdNzmXCyWIGzbAinMQ2hx H9noz7ysKsv3lnRiPEuO4AnYJuOBu1S6lz486NGUQw6MhIbI1CEemtaZm3mjaD4X SPs0aZm0G2uQYuPHwuDLxqyfv1s/7BKPbA3u74afMGW8Ou8pHrnNy+pny+GUW1S5 PdDxx0ycszEgvNpLz+pWAMzBIS4o8KgOM8zsGZKQY3+Ahn846Hp3vIk8eG/lKU7n TBAmMz2k9f13cBh/eG/o7+kCqNPw1wnEGhmbTKg/J8/cR5yfXdE7BxbWe/YYyBXH g+xQ77g1Hmxyeo18yA990+Xezj2NWizxRr7EgNRffKNF91zGYXg4trgXmJcT2AK2 zqbBjH/+e7U= =MOUs -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 12 19:15:57 2021 Received: (at 46737-done) by debbugs.gnu.org; 12 Apr 2021 23:15:57 +0000 Received: from localhost ([127.0.0.1]:58295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW5me-0005VA-Vz for submit@debbugs.gnu.org; Mon, 12 Apr 2021 19:15:57 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:54031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW5md-0005Uw-Ps for 46737-done@debbugs.gnu.org; Mon, 12 Apr 2021 19:15:56 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 37465190A; Mon, 12 Apr 2021 19:15:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 12 Apr 2021 19:15:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=VxP8UfB2FC8ZhFtZUxQuB6MT HsceSkRbxz6mxT1N9Uc=; b=ReZ3fWKU2FWngKUEQqEUYXVvryH0wXUXCP3axtF1 bcxWGYe0EZ85Q6L8F1WpsEm9jtJjK6Hzeq9kAADFi7vuJ/REJtAKwNKtCC09Qpee +b5ffrJ4MJ4LU/R8XiqGOtnsP8EAF9VEZItrQ2vI2U+UdnGz0vbmhcDKOCwQQAad LAk= 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=fm2; bh=VxP8Uf B2FC8ZhFtZUxQuB6MTHsceSkRbxz6mxT1N9Uc=; b=qxC5wQ9meiqnJxLrxT03mH 9BwMAbYC2C3deln1DWM1jkbvPQrzCLODRoKYivW/E+eQCk2p//OELUpI/jc1QCp2 TcnmeEKSnDs0DVAhVijcg17+LuOpyjjzDfKD1Q9H0d9TxSczHaM7GW0v5Bznq7Oz XQsBGc41KjIDCiWgkKMa2KO6bkt2Gl8haKj1ujNR/z7Py/5SYzkg6I13Bwk7fFbZ hbX3Vapkt0lmgalZ3MGfOZ7b/34oN8KuI14V+xdoFr64ENuls7mDFM0kOHFRRbax vB0047IoJmUP2XKcNs2JcbKeaZu46ncfr7rfJqzBqK1LnbeQ0NQutKf+fYX7nLTA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekkedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepvdevgeekudeivdeileduveekuefgue euleehtdffgefftdefkeevleffueefudeknecuffhomhgrihhnpehgnhhurdhorhhgnecu kfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id AC4A51080066; Mon, 12 Apr 2021 19:15:49 -0400 (EDT) Date: Mon, 12 Apr 2021 19:15:48 -0400 From: Leo Famulari To: Christopher Baines Subject: Re: bug#46737: Services breakage from the PostgreSQL socket-directory configuration change Message-ID: References: <87lfbel2fa.fsf@cbaines.net> <87a6rsmfky.fsf@gnu.org> <87pn0oj8ql.fsf@cbaines.net> <87k0p7z0um.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bmggMIo3aKhQV1ko" Content-Disposition: inline In-Reply-To: <87k0p7z0um.fsf@cbaines.net> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46737-done Cc: 46737-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --bmggMIo3aKhQV1ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 12, 2021 at 09:47:45PM +0100, Christopher Baines wrote: >=20 > Christopher Baines writes: >=20 > > Mathieu Othacehe writes: > > > >>> One workaround, the one employed in the tests is to revert to the old > >>> behaviour for the PostgreSQL service by setting socket-directory to #= f. > >> > >> You're right, sorry about the breakage. As you noticed we are in an > >> in-between situation where the patch updating Postgresql package to use > >> "/var/run/postgresql" by default is only on core-updates, but the > >> service is already using it as a default on master. > >> > >> This means that "createdb", "dropdb" and other Postgresql user tools > >> need to have an explicit "-h /var/run/postgresql" argument for now. > >> > >> Until the package patch gets merged in the master branch, we could set > >> the "socket-directory" field of record to #f = to > >> restore an acceptable default behaviour. > >> > >> WDYT? > > > > I think that would be good. It's unfortunate that the package change is > > stuck on core-updates for now, but configuring the service on master to > > keep the old behaviour until core-updates is merged sounds sensible. >=20 > I don't know if the expectation was that I was going to fix this, but > since it seems there's a release coming up, I went ahead and prepared a > patch [1]. >=20 > 1: https://issues.guix.gnu.org/47736 I pushed your patch as c311147bd16aa0e5746d9cbf31502f5fd61e470c --bmggMIo3aKhQV1ko Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAmB01KQACgkQJkb6MLrK fwgoEQ//UCsZkbriK0hmRC/W+MqB9THtHfeeyH48RU3PAEl94jymU9lH/RXcogfZ 26U7BhBNzHnMBTw5zWtBvKRyF1hfrznFYw1VYUDOLZ+6xV802Q4Lb1W5ZJXeasb2 VSADA5cA7Uo1lNiCpMBdMc0Vs9Bj878bMxaAp+F9p01STE8rF+zfyq2btbpgROKn BiRW5TboE76bk8bwJXooJFfAOzjbJ+OeuAUa2Jel1xEFzY/lfRZfERGLFrCSPqsn 50UWLxsyhawF9ycHIqNQcxZpDMVPKYylWgWxMkm6/gUG4k5gbXr7/6U79/RNb/sG RzkjQeg+qV/OLjL6rBpANPBoFXu6tVVzJzcl0CaDJegQmrL9orSePOqyOTEhXX86 pA9CgLvpcS1W56310cG+z44FN1Zb6RcgtGEzDNWvW5Siyq1hAg2FiEsgsTsvTsUE Ot1/DmPl+drVBKkTMDloPA9FxE9ENRFg0MuD21T+4BLVX0fIcW1rajTg9z2/fhgT CN7WqXzf0UUgwFbSj98kybVD3CRId2rKiLFKfaBqSG9egnRoT45RAsEBR/FxVWwA kaoaRV5EX2IpgteI0UQOa/kDrm1z0jc4QxVej6uT6I//YINeDT+ze7mu4TbOYMeA xa4TLSQvXTt5jfhC8hi22kpwdJgu21/wJ2aci28C2KjuoDzLfoY= =g0vS -----END PGP SIGNATURE----- --bmggMIo3aKhQV1ko-- From unknown Tue Sep 09 13:17:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 May 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator