From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org> Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MMa5E5YIQGW6CQEAauVa8A:P1 (envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 30 Oct 2023 20:48:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MMa5E5YIQGW6CQEAauVa8A (envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 30 Oct 2023 20:48:38 +0100 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 EF7DE1411F for <larch@yhetil.org>; Mon, 30 Oct 2023 20:48:37 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=O+c0KVLz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698695318; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bYZOiw7qeRqxgVcG3RE4ruYVM2a7nFe75U+f6v3FrSg=; b=F2Wsqs62SokqqrJjZs5PyRkE+DFdvmLXH4NoI/SUo0QH3ZX/gmD4Fm1gUD0QBaa3EJN6ov D2BOh0AKFvs2MD/8R5vM+6KwzcSdVVnBIy6/F+YC48uZ7CaDyObiGylgH5QbUgPMamxkrG a97e/c+qI+BSSEe7akaix0dqm/IzzXJTFZxRLW4Yu8Ax9bAxT3K/Gzxs45UnUl3q1WZMEC A3ddAJMVcgWgftpcfhftmCnJ7HZGOwRVmQJOstr0aWgj4z6x5mP3DU33GhLasg8fpplWaT MfmIUqi9awNIOlGQmsxQzqzBPD7t09C+jgiIRhO+mBwdtQIoHVkGyrRFXeXRaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=O+c0KVLz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698695318; a=rsa-sha256; cv=none; b=gzNVn9NMv6DzrF9t48o9oaKrqhvQSXCwpf0zyzXy3Oz/45Ug22V77Hri6rAnj93/Cp1d9d dueI22fQg5Vp5tIX6U8rEHeDxx3RKIwlxM3freTHy46coCxzP2SJhC2xSf2O/m2AUdnVsV hutD8HgJTJw6eGhz+GkhEGTkhuHusULZGnml/7upLGevVcbItbjwmdW7yrO1JHRYMLOIiR SK0+U3lNsgrOXGsNegBp91zQeE1PbylTqCfUZk02BVRINhjJGDz3Jx2RDeyWFjhTVCgQ4o FLAlOWcrf10AVvsyLfZpuEKiuD77dcAWG5UNl4OSnJ8ci3GMhssIev4bFSqVcA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-devel-bounces@gnu.org>) id 1qxYF2-0003py-8B; Mon, 30 Oct 2023 15:48:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <attila@lendvai.name>) id 1qxYF0-0003pq-Ou for guix-devel@gnu.org; Mon, 30 Oct 2023 15:48:02 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <attila@lendvai.name>) id 1qxYEp-0006Pa-3u for guix-devel@gnu.org; Mon, 30 Oct 2023 15:48:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1698695264; x=1698954464; bh=bYZOiw7qeRqxgVcG3RE4ruYVM2a7nFe75U+f6v3FrSg=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=O+c0KVLzUOEhkAlyOxWsQHYz2+uGvyzp1uN8wtDNJr13nwd2Hm11uSFZA4QKLMSKX l7Zk1TZeYQsjOjFwYPU6nJB3m/GMLAOlG1wd6kdvMOKLcu2H4sTjYBK96ZXlsd4Spo Kg4WlH6g0uuO1abWzl0moqShau0est1Vwo8OwzOzXHkTrsE1VRp1sc5eWMGXbbSCab Az8ZFeFI5pv+Iy7YUt7prdsXZapRtQICG+jRvanmLA+j+lwXFCFTq9/FMilUov6ZUK //eVvmbm2Jh4ceh/1wDkEq5uLFg/zZ4MzRjEBTWRzGWv3F3W5BjiXcyKuGrRB7JQ+p cOn7iX+0DhquQ== Date: Mon, 30 Oct 2023 19:47:28 +0000 To: guix-devel <guix-devel@gnu.org> From: Attila Lendvai <attila@lendvai.name> Subject: shepherd-action debug help needed Message-ID: <HwHJ7wSna1MCD7Ef6HOI0QsTO61uzCE0IdaPXOQ8XC7ci5ygUTi9Iy6G99znopc0ydlH8OrHZk1G__EDIfoqWI-m-BDZnV5wIZxmMYFURRo=@lendvai.name> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." <guix-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-devel> List-Post: <mailto:guix-devel@gnu.org> List-Help: <mailto:guix-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=subscribe> Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: EF7DE1411F X-Migadu-Scanner: mx13.migadu.com X-TUID: XIdWHyAftvmU dear guixers, i have a custom shepherd action that calls tar with (system ...): https://github.com/attila-lendvai/guix-crypto/blob/staging/src/guix-crypto/= services/swarm.scm#L311 it works fine in a `guix system vm` environment, where i'm usually testing = it. but when i pull it to my server, it fails with exit code 127. it has logging: 2023-10-30T14:24:12 Will run backup cmd: "install --mode=3D600 <(/gnu/store= /iiyf5ns10j8sgzfpmcgbfyb0byk5sbjl-tar-1.34/bin/tar --verbose --create --dir= ectory /var/lib/swarm/mainnet/bee-0 keys/ statestore/ | /gnu/store/gjsxzcc0= gqpz4lpbsrbidlnn5ij1lfm1-gzip-1.12/bin/gzip) /tmp/2023-10-30-serlap-bee-mai= nnet-0.tgz", PATH is /gnu/store/d4rqw481nwvrzs09nd8ad647nczgm9k1-coreutils-= 9.1/bin:/gnu/store/gjsxzcc0gqpz4lpbsrbidlnn5ij1lfm1-gzip-1.12/bin, uid is 0 2023-10-30T14:24:12 Cmd returned exit code 127 if i copy-paste the above command into the same root prompt from where i'm = invoking `herd backup-identity bee-0 /tmp/`, then it works as expected. eve= n if i prefix it with `PATH=3D"" ...`. my question is: what could be the difference between running a `guix system vm` from my git= checkout, and guix pull'ing the same to a proper guix system? could it be file or other permissions? according to the log, (getuid) is 0 = when the action is executed. alternatively, how could i debug this? for completeness, this is how i start the system vm test: $(./pre-inst-env guix system --no-graphic vm --share=3D$HOME/workspace/guix= /var-lib-of-guest-vm=3D/var/lib ~/workspace/guix/guix-crypto/tests/swarm-te= sts.scm) -m 2048 and this is the file: https://github.com/attila-lendvai/guix-crypto/blob/staging/tests/swarm-test= s.scm --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CTyranny is defined as that which is legal for the government but i= llegal for the citizenry.=E2=80=9D =09=E2=80=94 Thomas Jefferson (1743=E2=80=931826)