From: Efraim Flashner <efraim@flashner.co.il>
To: Raghav Gururajan <raghavgururajan@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: [SHEPHERD]: Could not start manually as user
Date: Mon, 18 May 2020 17:41:10 +0300 [thread overview]
Message-ID: <20200518144110.GJ18220@E5400> (raw)
In-Reply-To: <b77d057d-577b-0186-3f64-a3d413107866@disroot.org>
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
On Mon, May 18, 2020 at 09:31:18AM -0400, Raghav Gururajan wrote:
> Hello Guix!
>
> I need help with the following:
>
> [1]
>
> When I manually start shepherd as user, the get the error,
>
> *** START ***
> rg@secondary ~$ shepherd
> Backtrace:
> 3 (primitive-load "/run/current-system/profile/bin/shephe…")
> In shepherd.scm:
> 174:9 2 (main . _)
> In shepherd/support.scm:
> 388:20 1 (verify-dir _ #:secure? _)
> In unknown file:
> 0 (stat "/run/user/1000/shepherd" #<undefined>)
>
> ERROR: In procedure stat:
> In procedure stat: No such file or directory: "/run/user/1000/shepherd"
> *** END ***
>
> What is the correct way to rectify this?
It looks like '/run/user/1000/shepherd' doesn't exist. I suppose the
error message could be better, shepherd can't create its socket in that
directory if it can't write to it.
One option is to start shepherd with 'shepherd
--socket=~/.config/shepherd/shepherd.sock' which will use a directory
which should exist already.
> P.S. efraim and lfam, starting a thread to discuss. :-)
>
> [2]
>
> Is there a way to automatically start shepherd as user, when I log-in?
> Script or Cron?
I start mine by hand. Unfortunately mcron doesn't have support for the
'@' notation, so '@reboot' doesn't work.
>
> Thank you!
>
> Regards,
> RG.
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-05-18 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 13:31 [SHEPHERD]: Could not start manually as user Raghav Gururajan
2020-05-18 14:41 ` Efraim Flashner [this message]
2020-05-18 18:11 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200518144110.GJ18220@E5400 \
--to=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=raghavgururajan@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).