GNU bug report logs

#26252 shepherd: make error message for service not found 'smarter'

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

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

Received: (at submit) by debbugs.gnu.org; 25 Mar 2017 12:31:29 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1crkqv-0007no-0Y
	for submit@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@cryptolab.net>) id 1crkqt-0007nb-Nq
 for submit@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@cryptolab.net>) id 1crkqn-0007SS-T7
 for submit@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@cryptolab.net>)
 id 1crkqn-0007SJ-Pz
 for submit@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@cryptolab.net>) id 1crkqm-00047e-QA
 for bug-guix@gnu.org; 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@cryptolab.net>) id 1crkqi-0007R3-5B
 for bug-guix@gnu.org; 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@cryptolab.net>)
 id 1crkqh-0007Qq-RK
 for bug-guix@gnu.org; Sat, 25 Mar 2017 08:31:16 -0400
Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated
 sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id
 78572120D32
 for <bug-guix@gnu.org>; 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@cryptolab.net>
To: bug-guix@gnu.org
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@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@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.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 16:49:46 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.