From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uNkGHDkFkGQZWgEASxT56A (envelope-from ) for ; Mon, 19 Jun 2023 09:35:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QGQIHDkFkGQ5TwAA9RJhRA (envelope-from ) for ; Mon, 19 Jun 2023 09:35:21 +0200 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 F06CC31318 for ; Mon, 19 Jun 2023 09:35:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qB9Pk-0005HK-9K; Mon, 19 Jun 2023 03:35:04 -0400 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 1qB9Pi-0005Gv-Nb for bug-guix@gnu.org; Mon, 19 Jun 2023 03:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qB9Pi-0002lk-Bj for bug-guix@gnu.org; Mon, 19 Jun 2023 03:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qB9Pi-0006Tc-72 for bug-guix@gnu.org; Mon, 19 Jun 2023 03:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64106: `modify-services` no longer affects multiple instances of the same service Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Jun 2023 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64106 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 64106@debbugs.gnu.org, David Wilson Received: via spool by 64106-submit@debbugs.gnu.org id=B64106.168716007924858 (code B ref 64106); Mon, 19 Jun 2023 07:35:02 +0000 Received: (at 64106) by debbugs.gnu.org; 19 Jun 2023 07:34:39 +0000 Received: from localhost ([127.0.0.1]:55448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qB9PK-0006Sr-Ox for submit@debbugs.gnu.org; Mon, 19 Jun 2023 03:34:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qB9PI-0006Sd-4O for 64106@debbugs.gnu.org; Mon, 19 Jun 2023 03:34:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qB9PC-0002iC-NC; Mon, 19 Jun 2023 03:34:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/d0dK4E90iGsQPOXDkPro0XsZfUisBrIpXR/kviCe0U=; b=JjZJwzS/xgeY9tRGaQI7 NYCCDUZjaX7IqbLOni5Ed/YWshKiu6wJmpSitOnZ6i3nU+xUPYEgfr5sLuPp32h3qb8PnThaAYOgc /Bn5VJ0nypRuRnVEFDdK8s7CatfV9QaMGAGs5DU2kk6yB9DcIk7KXLfquu1f5kyEtCHVFMP/DxWu+ oOJZiy9/0z8I46NtCoXpulgkG1W9cWHaC7sNtxVkTl7IONhf8IMrgg2aBJt1hfuX7ksNZr178Bay4 ooM4C4/0um3LE2e8oPPefl3H5A05I4TJy9g7km0qsdmno4soWU6fLkiefgIa/0KQlRTVvWu2jlx+G bxBV28R/hvx9kg==; Received: from [193.50.110.184] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qB9PC-0002nl-AT; Mon, 19 Jun 2023 03:34:30 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878rci5bpq.fsf@jpoiret.xyz> Date: Mon, 19 Jun 2023 09:34:28 +0200 In-Reply-To: <878rci5bpq.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat, 17 Jun 2023 17:51:13 +0200") Message-ID: <87fs6ndhx7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687160121; 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=/d0dK4E90iGsQPOXDkPro0XsZfUisBrIpXR/kviCe0U=; b=uiHjZuR+mHcFkEj1dnd7AjaAOrcRHpp1ljrAFgPjesC5jLw+XsD+ZrXw3gewBfmv0hFvCR 56oNulvFgQhMHgi2vjmosxIT5U54glX6I7jac/jPx+7q77yklztXewovZDEtx+SWvH7cKV whMOXTOtRWD3kiOZx0SNeAZPLUyn5Ef8IOpos41D3TQB1mL8GtNzRwRsAqf4ehYOuRYVQc 253WcPASd6QwWr8p1CSzsw4xG1xBDuF/DzSidQY21J8znSxnFMh2HWyj0WSbrVSsNNsghE g7KKm1W31dXSCQkXjBfzfOrO1HiMnRXpVRoij5QVPtX41XelfAW4WnFCiufCmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="JjZJwzS/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687160121; a=rsa-sha256; cv=none; b=Lb4LEEMk4Zh8tkfALp3ltlXKDHagyP6JnHKbMo+UxPVXOkehsVoEOoZZQUre5x2WKkOgsb hXDhfM8dKrA7kjW1/yJBU6itZzSTgr+hz8qUpUc+BtHqkRFSkB5gArzTcTqpKzovjPVdYc ROnc+2HQns5cs3MTeLXuGr79y/Ra7D6jjDfKqAhaQjzVuuNnMNft01BiXYMnhehf71JvLr qT3TDgu8yhO0Kxe/W9IZrhQNZt7IiFwOAP2QTv/0B9Z5pFg0uDNzN73mgeAgBeXJIKzmSX MsO7kF+tuyDVLQHU/5gFx2V05Yuud9CEdRUGfiRq4y8utZTvJp2u8TQzx4nlHg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="JjZJwzS/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F06CC31318 X-Spam-Score: -2.65 X-TUID: Q2FS3OGFpYQH Hi, Josselin Poiret skribis: > "David Wilson" writes: > >> Hi Guix! >> >> Recently there was a change to the behavior of `modify-services` that ad= ds logic to check for any unused clauses so that an exception can be raised= to alert the user of this case. >> >> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1819512073395087= 89b28ba7cb914f983319920f >> >> It seems that the new logic has a bug that prevents a used clause from b= eing executed on more than one instance of a compatible service in a single= execution of `modify-services`. Here's a new test case for `gnu/tests/ser= vices.scm` that exhibits the issue: > > This was intended, but was probably not a good idea. It wasn=E2=80=99t really intended, more a side effect of the implementation= , and I agree it should be fixed. Ludo=E2=80=99.