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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: swedebugia <swedebugia <at> riseup.net>
Subject: bug#33260: closed (Re: bug#33260: [Shepherd] ERROR: In procedure
 stat: No such file or directory: "/run/user/30011/shepherd)
Date: Wed, 14 Nov 2018 21:30:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33260 <at> debbugs.gnu.org.

-- 
33260: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33260
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: swedebugia <swedebugia <at> riseup.net>, 33260-done <at> debbugs.gnu.org
Subject: Re: bug#33260: [Shepherd] ERROR: In procedure stat: No such file or
 directory: "/run/user/30011/shepherd
Date: Wed, 14 Nov 2018 22:29:15 +0100
[Message part 3 (text/plain, inline)]
ludo <at> gnu.org (Ludovic Courtès) writes:

> Hello,
>
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> It is kind of documented under the '--socket' option of Shepherd:
>>
>> https://www.gnu.org/software/shepherd/manual/shepherd.html
>>
>> Perhaps a footnote to the /run/user/uid part could be added along these
>> lines:
>>
>> "On GNU/Linux systems, this directory is typically created by a login
>> manager such as elogind or systemd."
>
> I did that in Shepherd commit 02ff984f78efbc78509a8a2c22c84c3574bf4419.
> I suppose we can consider the bug closed?

That was fast, thanks!  LGTM, closing the issue.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: swedebugia <swedebugia <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: [Shepherd] ERROR: In procedure stat: No such file or directory:
 "/run/user/30011/shepherd
Date: Sun, 4 Nov 2018 23:34:22 +0100
In a VM with GuixSD I did:

$ shepherd
Backtrace:
           3 (primitive-load "/run/current-system/profile/bin/shephe…")
In shepherd.scm:
    164:9  2 (main . _)
In shepherd/support.scm:
   396:20  1 (verify-dir _ #:secure? _)
In unknown file:
           0 (stat "/run/user/30011/shepherd" #<undefined>)

ERROR: In procedure stat:
In procedure stat: No such file or directory: "/run/user/30011/shepherd"

$ shepherd --version
shepherd (GNU Shepherd) 0.4.0
Copyright (C) 2018 the Shepherd authors
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ echo $PATH
/run/setuid-programs:/home/sdb/.config/guix/current/bin:/home/sdb/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin
sdb <at> komputilo ~$ which shepherd
/run/current-system/profile/bin/shepherd
sdb <at> komputilo ~$ ls $(which shepherd)
/run/current-system/profile/bin/shepherd
sdb <at> komputilo ~$ ls -l $(which shepherd)
lrwxrwxrwx 2 root root 71 Jan  1  1970 
/run/current-system/profile/bin/shepherd -> 
/gnu/store/fwc1nkcc0hfyr1d9snpbvfss4pz4ycrw-shepherd-0.4.0/bin/shepherd

$ guix --version
guix (GNU Guix) 0.15.0
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Root env can be supplied on request but does not fail.

-- 
Cheers
Swedebugia




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.