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@komputilo ~$ which shepherd
/run/current-system/profile/bin/shepherd
sdb@komputilo ~$ ls $(which shepherd)
/run/current-system/profile/bin/shepherd
sdb@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