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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 209 days ago.

Previous Next


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