From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFWREA6ydGBwWQAAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 22:48:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IP9iCg6ydGBcewAAB5/wlQ (envelope-from ) for ; Mon, 12 Apr 2021 20:48:14 +0000 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 66C7A2B01E for ; Mon, 12 Apr 2021 22:48:13 +0200 (CEST) Received: from localhost ([::1]:43714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW3Tf-0001xR-C4 for larch@yhetil.org; Mon, 12 Apr 2021 16:48:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW3TW-0001vy-AK for bug-guix@gnu.org; Mon, 12 Apr 2021 16:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lW3TW-0006yN-2V for bug-guix@gnu.org; Mon, 12 Apr 2021 16:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lW3TW-0008Ac-0K for bug-guix@gnu.org; Mon, 12 Apr 2021 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#46737: Services breakage from the PostgreSQL socket-directory configuration change Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Apr 2021 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46737@debbugs.gnu.org Received: via spool by 46737-submit@debbugs.gnu.org id=B46737.161826046931382 (code B ref 46737); Mon, 12 Apr 2021 20:48:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618260493; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=qForZswoQIIB8IhZpBHoF7ZiP9kDiiDF6xYlzEvJNbw=; b=G9Iuv3QihZSQEDT3lJ4+b7wri+I/OwzHdrLpPCQqcZR6EZu7HVFNDsodKBVep8iiHEb92R ayStTh0Hw0v0wxu5RFHE8bDG7VwJh1BvNUAeVn/8z7vkrWDZObdyHuxYNsq+gMF3PMia19 Yz0d4YquSzkyoqnV4PfkiDa/8rvSUTYldn4f/8YowgSsPl/ThXRiftHVOf2x6r28hzvJ1X OaV/4nft58Whswgtfi0rttZgmGKY/f1px+FmqngozW2Q/exwgfLo0AXuWx/d+4kGyy7J19 JRgoq6JjoaBDea3sSU8ZwPgxUtg29anb6w4zw6mkMuCsT+/hZe57Zr1kDjN/hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618260493; a=rsa-sha256; cv=none; b=tT7EPnCMqv4Khz7PjaQvUdII5UpMf6zLchQASidXSNfmIbEkAV4zN2qwVkzg2KWORy/4Rt Nmu5b4KF0p33eVeAAIoIBaKrqOR8XTRW+Kb1XeJNxMbKAZtiT8SfyKsgriXBdGb+oWNDXV ljlqHm+6exVPHI3MeXYQ/50p71Q4wv4qxnijfIE6+nUKJ7+2gotDZ/lphyiWrZw1ugDKtU LrqrZrn8DnOfDNrrp4yi71pUwy0td03y2PqhxzBLnsgCRJqJPIE61mZAQxpYa6T5rf9hdc bCX9DxyvCY1lP6X5kzN//IxhjWA/LrMJofBNDXUfzyrqnGfJDud61b2Gu33Mfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 66C7A2B01E X-Spam-Score: -4.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: BW6ti28J++pO --=-=-= 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----- --=-=-=--