From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33260: [Shepherd] ERROR: In procedure stat: No such file or directory: "/run/user/30011/shepherd Date: Sun, 4 Nov 2018 23:34:22 +0100 Message-ID: <34806e19-072a-ce32-3a23-78e78f59b719@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJQz5-0002n0-6O for bug-guix@gnu.org; Sun, 04 Nov 2018 17:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJQz2-0002mm-1z for bug-guix@gnu.org; Sun, 04 Nov 2018 17:35:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJQz1-0002mQ-T9 for bug-guix@gnu.org; Sun, 04 Nov 2018 17:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJQz1-0002GT-Pz for bug-guix@gnu.org; Sun, 04 Nov 2018 17:35:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJQyn-0002cT-HE for bug-guix@gnu.org; Sun, 04 Nov 2018 17:34:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJQyk-00022g-9z for bug-guix@gnu.org; Sun, 04 Nov 2018 17:34:49 -0500 Received: from mx1.riseup.net ([198.252.153.129]:43749) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJQyj-0001e7-Vh for bug-guix@gnu.org; Sun, 04 Nov 2018 17:34:46 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id A38741A01A5 for ; Sun, 4 Nov 2018 14:34:26 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id C887CE6EE3 for ; Sun, 4 Nov 2018 14:34:25 -0800 (PST) Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33260@debbugs.gnu.org In a VM with GuixSD I did: $ shepherd Backtrace: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3 (primitiv= e-load "/run/current-system/profile/bin/shephe=E2=80=A6") In shepherd.scm: =C2=A0=C2=A0=C2=A0 164:9=C2=A0 2 (main . _) In shepherd/support.scm: =C2=A0=C2=A0 396:20=C2=A0 1 (verify-dir _ #:secure? _) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 (stat "/r= un/user/30011/shepherd" #) 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=20 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-p= rofile/bin:/run/current-system/profile/bin:/run/current-system/profile/sb= in 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=C2=A0 1=C2=A0 1970=20 /run/current-system/profile/bin/shepherd ->=20 /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=20 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. --=20 Cheers Swedebugia