GNU bug report logs - #73879
[shepherd] 'herd start x' error should be clearer when its been disabled

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 19 Oct 2024 12:33:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#73879: closed (Re: bug#73879: [shepherd] 'herd start x' error
 should be clearer when its been disabled)
Date: Sun, 20 Oct 2024 09:46:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#73879: [shepherd] 'herd start x' error should be clearer when its been disabled

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 73879 <at> debbugs.gnu.org.

-- 
73879: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73879
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 73879-done <at> debbugs.gnu.org
Subject: Re: bug#73879: [shepherd] 'herd start x' error should be clearer
 when its been disabled
Date: Sun, 20 Oct 2024 11:44:35 +0200
Hi Maxim,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> Currently, attempting to start service x when it was disable gives
> something like:
>
> herd: error: impossible to start service x
>
>
> while the actual root cause is that the service has been disabled.

This is fixed on the ‘devel’ branch (commit
796324279c86ba40a8a88505fcbbe3f6568ed7ba):

--8<---------------cut here---------------start------------->8---
$ herd stop pulseaudio-rtp-sink 
$ herd disable pulseaudio-rtp-sink 
Disabled service pulseaudio-rtp-sink.
$ herd start pulseaudio-rtp-sink 
Service pulseaudio-rtp-sink is currently disabled.
herd: error: failed to start service pulseaudio-rtp-sink
--8<---------------cut here---------------end--------------->8---

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: [shepherd] 'herd start x' error should be clearer when its been
 disabled
Date: Sat, 19 Oct 2024 21:32:17 +0900
Hi,

Currently, attempting to start service x when it was disable gives
something like:

--8<---------------cut here---------------start------------->8---
herd: error: impossible to start service x
--8<---------------cut here---------------end--------------->8---

while the actual root cause is that the service has been disabled.

The error should probably just print something like:

--8<---------------cut here---------------start------------->8---
herd: error: service x is disabled; run 'herd enable x' to enable it
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim



This bug report was last modified 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.