Subject: Re: bug#73879: [shepherd] 'herd start x' error should be clearer when its been disabled
From: Ludovic Courtès <[email-masked]>
To: Maxim Cournoyer <[email-masked]>
Cc: [email-masked]
Date: Sun, 20 Oct 2024 11:44:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Maxim,

Maxim Cournoyer <[email-masked]> 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’.