From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#33270: [SHEPHERD] Wrong error message when missing priviledge Date: Mon, 05 Nov 2018 20:48:51 +0100 Message-ID: <87muqnwbj0.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJkt0-0006kJ-2y for bug-guix@gnu.org; Mon, 05 Nov 2018 14:50:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJksu-0005Um-RB for bug-guix@gnu.org; Mon, 05 Nov 2018 14:50:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJkss-0005UM-W9 for bug-guix@gnu.org; Mon, 05 Nov 2018 14:50:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJkss-0001R6-T4 for bug-guix@gnu.org; Mon, 05 Nov 2018 14:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: swedebugia Cc: 33270@debbugs.gnu.org swedebugia writes: > sdb@komputilo ~$ herd status > error: connect: /run/user/30011/shepherd/socket: No such file or directory It is possible to run shepherd as a user service manager. This means that we can=E2=80=99t generally assume that the user meant to communicate w= ith the init instance. The error could be that either the user=E2=80=99s instance is not running or that the user meant to communicate with the init system. It is not obvious to me how to distinguish these two errors. -- Ricardo