From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IBnEB9Kewl71UAAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 14:42:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wO+mA9Kewl54cAAAB5/wlQ (envelope-from ) for ; Mon, 18 May 2020 14:42:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6518094042B for ; Mon, 18 May 2020 14:42:25 +0000 (UTC) Received: from localhost ([::1]:48512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jagyG-0005Ru-6g for larch@yhetil.org; Mon, 18 May 2020 10:42:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jagy9-0005RP-MM for help-guix@gnu.org; Mon, 18 May 2020 10:42:17 -0400 Received: from flashner.co.il ([178.62.234.194]:34296) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jagy8-0005cd-Sc for help-guix@gnu.org; Mon, 18 May 2020 10:42:17 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id E659240116; Mon, 18 May 2020 14:41:43 +0000 (UTC) Date: Mon, 18 May 2020 17:41:10 +0300 From: Efraim Flashner To: Raghav Gururajan Subject: Re: [SHEPHERD]: Could not start manually as user Message-ID: <20200518144110.GJ18220@E5400> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vkEkAx9hr54EJ73W" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/18 10:41:44 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.69 X-TUID: rLXrZVqwkGqy --vkEkAx9hr54EJ73W Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 18, 2020 at 09:31:18AM -0400, Raghav Gururajan wrote: > Hello Guix! >=20 > I need help with the following: >=20 > [1] >=20 > When I manually start shepherd as user, the get the error, >=20 > *** START *** > rg@secondary ~$ shepherd > Backtrace: > 3 (primitive-load "/run/current-system/profile/bin/shephe=E2= =80=A6") > 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" #) >=20 > ERROR: In procedure stat: > In procedure stat: No such file or directory: "/run/user/1000/shepherd" > *** END *** >=20 > 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=3D~/.config/shepherd/shepherd.sock' which will use a directory which should exist already. > P.S. efraim and lfam, starting a thread to discuss. :-) >=20 > [2] >=20 > 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. >=20 > Thank you! >=20 > Regards, > RG. >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --vkEkAx9hr54EJ73W Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7CnoYACgkQQarn3Mo9 g1GxWBAAhYaZ5wmCfJBQWDNmIcJvZcTcnNIDavNe/c/b9lvoSWSuCNUndoJxgd5Z 7AP+bvO3agxTwvrh9CZogpIlAZCOEhZLOOmfDvT5n90wocYjKm6hBmJY0woMvgpo avaC4D6v7Vi/gcBysTjJbhRm/sTCMg7O4qPSm72Y0nx2FO1K+n6rrhIkAaFJAxAk 68K4KIWzc6uAhVKjVTohiShq02CXEb/USjG21pP/VkPcl+l/xifHj5TIwQUzqndn sqpEAdTuXEj9df/Es8bpqkBQxhfpm9/gaBqrmMGczEnqH5XCDReDbDC4mdYAzEQY eXqMz8XicoFlKa1zUlphx586N9q+8smIeajhhQiMQ80xvwlPzG/WkM7lFLo+ovG7 4nZVuvvCNVx5lrw68utTUt9rlwgqzXA09sTTnqOm84thsGTt1Fbwveq4IeQOMfPh t5VGA61+2N/LxYWS4VO28zeAukGAE6ZK25KHhoh2DJQ66Eel/S1ZVCfSnTgGiyhO hy38ysIYhE39SBI/lsLRXfltFk9uV5JEGzbTqLZ8YT00j6VwewjClRJ+0jR4TISv 4cy/wnggSFjOM0j5NZBD6WKotl55DG1XyReFv8rF7HLUwhW6C+U5Nu1GtPxKC9Q0 eUKB+2He6Tur736AJ5S4xK0keia0vKE/aXuFT2LcZdnJHmKdoAU= =ZJvi -----END PGP SIGNATURE----- --vkEkAx9hr54EJ73W--