bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file


From: Ludovic Courtès
Subject: bug#47724: error: connect: /run/user/1000/shepherd/socket: No such file or directory
Date: Sun, 18 Apr 2021 12:32:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Leo Famulari <leo@famulari.name> skribis:

> On Mon, Apr 12, 2021 at 12:54:14PM +0000, bo0od wrote:

[...]

>> To complete the upgrade, run 'herd restart SERVICE' to stop,
>> upgrade, and restart each service that was not automatically restarted.
>> Run 'herd status' to view the list of services on your system.
>> user@host ~$ herd restart term-auto
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory
>> user@host ~$ herd status
>> error: connect: /run/user/1000/shepherd/socket: No such file or directory 
>
> The problem is that you need to be root to run these commands. We should
> adjust the hint to say that.

Note that ‘herd’ cannot guess whether you intend to talk to your user
shepherd and it’s not running, or whether you intend to talk to the
system shepherd.

So the hint should suggest both possibilities.

(At some point we should extract the diagnostic code of Guix and make it
a separate library so that the Shepherd can use it as well.)

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]