unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41139: duplicate service provision error message is too terse
@ 2020-05-08 20:39 Ricardo Wurmus
  2020-05-14  5:33 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-08 20:39 UTC (permalink / raw)
  To: 41139

“guix system” prints a very terse error message when a display 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’s hard to tell how we got there.
Which of the selected services provide xorg-server?

It would be nice if the error message could be a little more helpful.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41139: duplicate service provision error message is too terse
  2020-05-08 20:39 bug#41139: duplicate service provision error message is too terse Ricardo Wurmus
@ 2020-05-14  5:33 ` Ricardo Wurmus
  2020-05-17 22:16   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-14  5:33 UTC (permalink / raw)
  To: 41139


Ricardo Wurmus <rekado@elephly.net> writes:

> This is not very helpful, because it’s hard to tell how we got there.
> 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’s hard to do better without extending Shepherd services
to include provenance information.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41139: duplicate service provision error message is too terse
  2020-05-14  5:33 ` Ricardo Wurmus
@ 2020-05-17 22:16   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-05-17 22:16 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41139

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> This is not very helpful, because it’s hard to tell how we got there.
>> 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’s hard to do better without extending Shepherd services
> to include provenance information.

Yes, or ‘fold-services’ could provide the “service extension stack”
somehow, for use in error reports.

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-17 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-08 20:39 bug#41139: duplicate service provision error message is too terse Ricardo Wurmus
2020-05-14  5:33 ` Ricardo Wurmus
2020-05-17 22:16   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).