From unknown Sat Jun 14 17:59:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41139 <41139@debbugs.gnu.org> To: bug#41139 <41139@debbugs.gnu.org> Subject: Status: duplicate service provision error message is too terse Reply-To: bug#41139 <41139@debbugs.gnu.org> Date: Sun, 15 Jun 2025 00:59:04 +0000 retitle 41139 duplicate service provision error message is too terse reassign 41139 guix submitter 41139 Ricardo Wurmus severity 41139 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 08 16:39:49 2020 Received: (at submit) by debbugs.gnu.org; 8 May 2020 20:39:49 +0000 Received: from localhost ([127.0.0.1]:46407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX9mf-0006cJ-0C for submit@debbugs.gnu.org; Fri, 08 May 2020 16:39:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:32854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX9md-0006cC-Ka for submit@debbugs.gnu.org; Fri, 08 May 2020 16:39:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jX9md-0007ts-CD for bug-guix@gnu.org; Fri, 08 May 2020 16:39:47 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jX9mc-0005E6-3I for bug-guix@gnu.org; Fri, 08 May 2020 16:39:47 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1588970382; cv=none; d=zohomail.com; s=zohoarc; b=iAGZEumFpJ9rJhFFDsrq39yQIfQLnLFd9P50lBSltSJIV7PaSQt7k7s+s7CTUDwujdg9epAf05+x8dcLbFkjpSIlAeFxy9kyfIcXmY53IOLYz1zY2/wOatzx7RXXvjxNrDdghyy4F+mrC+wcMHpqmLijzplyZ2nhCPf7/2Epfgw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588970382; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=MbXrw8m3F85s4Ak0axs0WdXAxSJOZjqooyzDFxNZX3A=; b=IVgWGpCTDHLw3Ys7423YidbJ1YX8CjiHdXhTN6p3JAjcLJZD8iaDwHv9aYx2eV6pXshPe4dOp+31NqH+/VHckdrWDWVOKkyjaeML9Kj7+0Zh/QY1wWVqXQuR2iTznTQnLORFhLTWjuuvoRz7bRQAzA5PzsdvInx3InSU/YCleLU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1588970382; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=MbXrw8m3F85s4Ak0axs0WdXAxSJOZjqooyzDFxNZX3A=; b=Vaup/Uvexl3nN05ag+b59nA1IWvGZpIne690ETIZe5K3rxAQMsHsabz5UCqLf8zc 4RMtHxo6c4jvot1su8wpuyoSogqU4kAGAL7/Nc/AfUiHahg773gukSi2VauxMmeRjUL srqP6tapqlCe7oIrzi+ooBd/C11GHeGCJCOVTPVo= Received: from localhost (p54AD4BDF.dip0.t-ipconnect.de [84.173.75.223]) by mx.zohomail.com with SMTPS id 1588970379813278.43301710617084; Fri, 8 May 2020 13:39:39 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: duplicate service provision error message is too terse X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 08 May 2020 22:39:36 +0200 Message-ID: <87r1vu2mbb.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 16:39:42 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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 (--) =E2=80=9Cguix system=E2=80=9D prints a very terse error message when a disp= lay manager is added on top of %desktop-services: guix system: error: service 'xorg-server' provided more than once This is not very helpful, because it=E2=80=99s hard to tell how we got ther= e. Which of the selected services provide xorg-server? It would be nice if the error message could be a little more helpful. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu May 14 01:33:22 2020 Received: (at 41139) by debbugs.gnu.org; 14 May 2020 05:33:22 +0000 Received: from localhost ([127.0.0.1]:60034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZ6Uk-0007dw-5w for submit@debbugs.gnu.org; Thu, 14 May 2020 01:33:22 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZ6Uj-0007dp-55 for 41139@debbugs.gnu.org; Thu, 14 May 2020 01:33:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589434399; cv=none; d=zohomail.com; s=zohoarc; b=Y1YUQoPuWx+EvFn8Y/eLTqvexH+eEk9CzH9qtS+gxGQikZXqYDiabI34w3tnQR4PY6y2ToIvo6w54Sz7/dbfs2KuqsgxkkEAgguVt3kBfGSm/oFs+b3OoexySMR6ihx/bn5n/KFUYgpz9KPgAVjll3pw3wngG2tDvbfvJGPQQHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589434399; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=JYNN+CInXtliEwZDRQKsDGdpFhrAMGi6YVZuXilwFsA=; b=Vx6yCFM+EyFbbm+BhD987iXlDOxK2r1XXN5hG7gYILZPYjyRLRy4SzKPlCkOW/8eT/LgW2xde6abc0ujsIU27aEPwOeRzY7nXgpi+S8QQurk01BJ0Vt6wy+bsO9hd8D5k1n5YudmxAFTSPgw8nezJN7zST3hQDhxk1P4SzypgTA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589434399; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=JYNN+CInXtliEwZDRQKsDGdpFhrAMGi6YVZuXilwFsA=; b=hKtr9TnHbwouonup4+7d66vf7MiTuEUrwzQmvy2QB3c+36Ba2Av8jnYFb277blAS 4ds4S4rbyCNjIgjkexKlqLjFXhGUQ1oo8Tljst7rfF4utBDwSrvW4VA+quQeA9kH0Is degb9JVTnz6VXPP/ciLT/i0ooL4PMW91KvrfWNRw= Received: from localhost (p54AD4B14.dip0.t-ipconnect.de [84.173.75.20]) by mx.zohomail.com with SMTPS id 158943439788075.59724207912507; Wed, 13 May 2020 22:33:17 -0700 (PDT) References: <87r1vu2mbb.fsf@elephly.net> User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus To: 41139@debbugs.gnu.org Subject: Re: bug#41139: duplicate service provision error message is too terse In-reply-to: <87r1vu2mbb.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 14 May 2020 07:33:15 +0200 Message-ID: <87o8qrcc84.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41139 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 (-) Ricardo Wurmus writes: > This is not very helpful, because it=E2=80=99s hard to tell how we got th= ere. > Which of the selected services provide xorg-server? This is the wrong question. While Shepherd services may have been introduced to the Shepherd service graph by other general system services, this kind of information is unavailable when just looking at the Shepherd service itself. The only user-facing identifiers a Shepherd service has is its provisions. It=E2=80=99s hard to do better without extending Shepherd serv= ices to include provenance information. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Sun May 17 18:16:19 2020 Received: (at 41139) by debbugs.gnu.org; 17 May 2020 22:16:19 +0000 Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaRZz-000613-53 for submit@debbugs.gnu.org; Sun, 17 May 2020 18:16:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaRZw-00060m-Vy for 41139@debbugs.gnu.org; Sun, 17 May 2020 18:16:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41325) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaRZr-00021w-Ec; Sun, 17 May 2020 18:16:11 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36022 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jaRZq-00070A-MG; Sun, 17 May 2020 18:16:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: bug#41139: duplicate service provision error message is too terse References: <87r1vu2mbb.fsf@elephly.net> <87o8qrcc84.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Flor=C3=A9al?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 18 May 2020 00:16:08 +0200 In-Reply-To: <87o8qrcc84.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 14 May 2020 07:33:15 +0200") Message-ID: <87tv0eky1j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41139 Cc: 41139@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: -3.3 (---) Hi, Ricardo Wurmus skribis: > Ricardo Wurmus writes: > >> This is not very helpful, because it=E2=80=99s hard to tell how we got t= here. >> Which of the selected services provide xorg-server? > > This is the wrong question. While Shepherd services may have been > introduced to the Shepherd service graph by other general system > services, this kind of information is unavailable when just looking at > the Shepherd service itself. > > The only user-facing identifiers a Shepherd service has is its > provisions. It=E2=80=99s hard to do better without extending Shepherd se= rvices > to include provenance information. Yes, or =E2=80=98fold-services=E2=80=99 could provide the =E2=80=9Cservice = extension stack=E2=80=9D somehow, for use in error reports. Ludo=E2=80=99.