GNU bug report logs - #26252
shepherd: make error message for service not found 'smarter'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: wishlist; Reported by: ng0 <contact.ng0@HIDDEN>; dated Sat, 25 Mar 2017 12:32:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from zimoun <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Mar 2017 12:31:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 25 08:31:29 2017
Received: from localhost ([127.0.0.1]:43286 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1crkqv-0007no-0Y
	for submit <at> debbugs.gnu.org; Sat, 25 Mar 2017 08:31:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54314)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact.ng0@HIDDEN>) id 1crkqt-0007nb-Nq
 for submit <at> debbugs.gnu.org; Sat, 25 Mar 2017 08:31:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1crkqn-0007SS-T7
 for submit <at> debbugs.gnu.org; Sat, 25 Mar 2017 08:31:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42774)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <contact.ng0@HIDDEN>)
 id 1crkqn-0007SJ-Pz
 for submit <at> debbugs.gnu.org; Sat, 25 Mar 2017 08:31:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45277)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1crkqm-00047e-QA
 for bug-guix@HIDDEN; Sat, 25 Mar 2017 08:31:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <contact.ng0@HIDDEN>) id 1crkqi-0007R3-5B
 for bug-guix@HIDDEN; Sat, 25 Mar 2017 08:31:20 -0400
Received: from perdizione.investici.org ([94.23.50.208]:48761)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <contact.ng0@HIDDEN>)
 id 1crkqh-0007Qq-RK
 for bug-guix@HIDDEN; Sat, 25 Mar 2017 08:31:16 -0400
Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated
 sender: niasterisk@HIDDEN) by localhost (Postfix) with ESMTPSA id
 78572120D32
 for <bug-guix@HIDDEN>; Sat, 25 Mar 2017 12:31:13 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net;
 s=stigmate; t=1490445073;
 bh=FPf83i9RGQNpqYiJqO5qqFIF62WC9+DV1lSGSq9Wr/0=;
 h=Date:From:To:Subject;
 b=O1t4Utjb1duj8l2i8ytixPv79Pl1jbpQmZUscAricXWDniOgIUH/E6lkTU1Lo+uQf
 c7n94m0Vx4SH+bbeotGOxrVDcQdOyAHvaaAs2LtEnkAaihrGi+1DMamSFUBP7rsJz9
 VJ1NpPaiOCgEPt8Z5LgO+0O1dZRt2Of/i3a+uRJ0=
Date: Sat, 25 Mar 2017 12:31:12 +0000
From: ng0 <contact.ng0@HIDDEN>
To: bug-guix@HIDDEN
Subject: shepherd: make error message for service not found 'smarter'
Message-ID: <20170325123112.pvmw6a4n4iyeqypo@abyayala>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

This is the current displayed variant:

[user@abyayala ~]$ sudo herd ntpd stop                                                                                                                                                                                        [3/3]
Password:
herd: service 'stop' could not be found
[user@abyayala ~]$ sudo herd stop ntpd
Service ntpd has been stopped.

**

A good solution could be to display the usage of the herd stop $foo.

~~
sudo herd ntpd stop
herd: service 'stop' could not be found.
Did you mean 'herd stop foo'?
~~

or have it display the $foo which was used.




Acknowledgement sent to ng0 <contact.ng0@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26252; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 18 Dec 2020 20:15:02 UTC

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