GNU bug report logs - #33260
[Shepherd] ERROR: In procedure stat: No such file or directory: "/run/user/30011/shepherd

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Sun, 4 Nov 2018 22:35:03 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: swedebugia <swedebugia <at> riseup.net>, 33260 <at> debbugs.gnu.org
Subject: Re: bug#33260: [Shepherd] ERROR: In procedure stat: No such file or
 directory: "/run/user/30011/shepherd
Date: Thu, 08 Nov 2018 09:45:43 +0100
Hello,

Marius Bakke <mbakke <at> fastmail.com> skribis:
>>> What about: ‘herd status | grep logind’?
>>
>> No output
>>
>> sdb <at> komputilo ~$ sudo herd status |grep logind
>>
>>> Does /run/user exist?
>>
>> No
>
> If you add (elogind-service) to your system configuration, Shepherd
> should work out of the box.

Indeed.  The Shepherd implicitly depends on elogind/systemd here.

I suppose we should at least clarify this in the manual.  Thoughts?

> Alternatively, I do this on a minimal system:
>
> # Shepherd requires that this variable is set unless logind is present.
> export XDG_RUNTIME_DIR="${HOME}/.local/run"
>
> # ...and does not clean up its own socket after use.
> rm -f "$XDG_RUNTIME_DIR/shepherd/socket"
>
> # Now we can start it.
> shepherd &

Neat.

Thanks,
Ludo’.




This bug report was last modified 6 years and 272 days ago.

Previous Next


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