From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OFsGAqI4a2WoggEA9RJhRA:P1 (envelope-from ) for ; Sat, 02 Dec 2023 15:01:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OFsGAqI4a2WoggEA9RJhRA (envelope-from ) for ; Sat, 02 Dec 2023 15:01:06 +0100 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 9F4614497F for ; Sat, 2 Dec 2023 15:01:05 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Du80hqVS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701525665; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=oEdsZqzRxVkltFS+tXkjcpfda1t/A36ZIVn0OQnH36s=; b=fr5iy4HhYaI3cO/8KvbSOl4mpcoVjY5ScgEwUvWWtymq9f4iwzOu1GUd7Uu83UGbu7iP6Z 8b1B5LUW3bCHSt5fLpsfuvYrsLV1K3bC2b6em0rDvoCN2GaMIo1f+x9AfhMaqkHvY8PU9O GQFQ0PLp6Ti9X22jCagt4jW5X1czyuW5a1g4UtmKh+MDcy7oZG/RPkZ1zPBwIcricKgCqx H+9kvWb1Sl3H9tFSngYeJ27eVaVN6qe4k/tLdhTO7R61g3s6EOp/R0G21aYXxrMXkB9geY AJ/6+oh657H09FsA08AX0C+jZVImsR4CC9CvRJ4lYj57Y3vLkAFAkxJvewnAtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701525665; a=rsa-sha256; cv=none; b=bBSqJbISYYYKdkGQIqinXlvlyId/V3dhjU8tP4Rr9gnKVxDGV1P2a/mKwnnYKz3s4orR1A WV+SuouhPPnTvvlM/mqjpci/BHytJIbO7zEe207oUxHJASdDaGqXhiRZ0ZJAe6icjJaCm4 Rxc61fx3SSmZSaek1Kf+VCcEiDg/xK9EvIILlDHPq59FxbIMR7iotpon+Ok4gwBdzxEaRT Ette55s3MoSOJEM2SdXcvZsT3GErimmMzgVNpx7Yabs7+cNtRBN4kBBZNpCbikmhbLlhWY FLNwo9ujCPC9+QJ+nZ8X9k5gj1OLNOKKToCVJhpHrZHvf3qqk+vLBazpeyRSsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Du80hqVS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9QYD-00032b-Rn; Sat, 02 Dec 2023 09:00:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9QYA-00031a-Hl for guix-patches@gnu.org; Sat, 02 Dec 2023 09:00:54 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9QY9-0006em-FC for guix-patches@gnu.org; Sat, 02 Dec 2023 09:00:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9QYI-00089w-Ov for guix-patches@gnu.org; Sat, 02 Dec 2023 09:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67072] [PATCH 4/4] weather: Report unauthorized substitute servers. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Dec 2023 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67072 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , 67072@debbugs.gnu.org, Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines Received: via spool by 67072-submit@debbugs.gnu.org id=B67072.170152561631285 (code B ref 67072); Sat, 02 Dec 2023 14:01:02 +0000 Received: (at 67072) by debbugs.gnu.org; 2 Dec 2023 14:00:16 +0000 Received: from localhost ([127.0.0.1]:56944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9QXX-00088W-FO for submit@debbugs.gnu.org; Sat, 02 Dec 2023 09:00:15 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:40056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9QXW-000880-2u for 67072@debbugs.gnu.org; Sat, 02 Dec 2023 09:00:14 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3316d855828so609760f8f.0 for <67072@debbugs.gnu.org>; Sat, 02 Dec 2023 06:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701525599; x=1702130399; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=oEdsZqzRxVkltFS+tXkjcpfda1t/A36ZIVn0OQnH36s=; b=Du80hqVSy9uSKA/wNoCTnMZYM5rNtZ6TjChwih+QcOSPYWD8U5vHwMjnXoklAaCvsZ p+00hSDS/9EVwmzC6idoJoifxu9jL7vhH8VMrERFuktwO7Ir2HqSu18B6qSI9A9mhoth iWogk/XCvdFmatKFLO6Q+3j0dnMWbUJgsdt5/RKT6MbbheQ2FjhIyNwBrma3Oze28n0f wHJ+/stDAa6TQUBTvb0ungZA/wBMrEpgmpEh2Wqm8JKojFwzgmfY772p+dErJOxz2wRF ePcr1RqLYKaDp1NygzS9BNQGDCGnsCPGXQaaydoVrEU7l284aV6tVlSXqK4uUU82shNN Rc9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701525599; x=1702130399; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oEdsZqzRxVkltFS+tXkjcpfda1t/A36ZIVn0OQnH36s=; b=tBH2kXqrJ1WRxxav3N6Zvl8Kq60pPZD9tCBF68YU+wniDFWxJRZjHPW057YgqCod9d qA0rD4EAHp2b/DRjWB49GhXBXkunWoQ6CTrm6X7ApfoUmlTSKVjqsktFRqc5XgZMQemd t4ut1LGVLRyomEl/BLvXVMBvk76UEdLK9t1D8nU2hamgX99dwP2wOYCqFI5S9cBcNMQC dICl+tZJgQm0f//cQOC5ioGH40mf/zMduV4uyY14to7xzgHKcZxkIyNo0+zrcjkMIwVT szcQhzAcJZj5Cl5+203vef5Bci2Cc8KIBt+FP0WVbEW+6IMIpj+Y9LtfvGnF5H2scWWL +jOA== X-Gm-Message-State: AOJu0YykLx+qwbqQ3STMeEDFqJHhx5VOt/TCXP0Pk9KQ9wHLies1jjL0 rUruVcOW4sa6cAT/S0kTV3Q= X-Google-Smtp-Source: AGHT+IH357oaR/9Dso3PEL9H9YpxUfksX49ALmrE1pvYnKZVkGqnqytLj8GznNE8EG+x4Z+efdN1Yg== X-Received: by 2002:adf:d1c4:0:b0:333:358f:fce7 with SMTP id b4-20020adfd1c4000000b00333358ffce7mr2371457wrd.2.1701525598897; Sat, 02 Dec 2023 05:59:58 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:7e06:4c1e:3607:79b6]) by smtp.gmail.com with ESMTPSA id n16-20020a05600c501000b00407b93d8085sm12540439wmr.27.2023.12.02.05.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 05:59:58 -0800 (PST) From: Simon Tournier In-Reply-To: <875y1gj47u.fsf@gnu.org> References: <87jzq2aukw.fsf@gmail.com> <875y1gj47u.fsf@gnu.org> Date: Sat, 02 Dec 2023 14:31:40 +0100 Message-ID: <87bkb8rarn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.54 X-Spam-Score: -3.54 X-Migadu-Queue-Id: 9F4614497F X-TUID: geAdQzVit85T Hi Ludo, On sam., 02 d=C3=A9c. 2023 at 11:20, Ludovic Court=C3=A8s wr= ote: >> guix weather: warning: could not determine current substitute URLs; usin= g defaults >> computing 1 package derivations for x86_64-linux... >> looking for 2 store items on https://ci.guix.gnu.org... >> guix weather: error: open-file: Permission denied: "/etc/guix/acl" > > Uh, it should be able to deal with it gracefully. > >> Hum? Maybe I am doing something wrong=E2=80=A6 The file /etc/guix/acl h= as the >> permission: >> >> -rw------- 1 root root 528 acl > > It=E2=80=99s normally world-readable. On foreign distro, this %acl-file appears by default with =E2=80=99rw=E2=80= =99 permission for root only. It is not word-readable. When running guix-install.sh as root, if I read correctly, it runs: local key=3D~root/.config/guix/current/share/guix/$host.pub [ -f "$key" ] \ && guix archive --authorize < "$key" \ && _msg "${PAS}Authorized public key for $host" Therefore, the file %acl-file is written as root by the procedure =E2=80=99write-acl=E2=80=99. Hence the permission =E2=80=99rw=E2=80=99 for= root only, no? Somehow, =E2=80=99write-acl=E2=80=99 should be tweaked or guix-install.sh, = no? Cheers, simon