From unknown Sat Jun 14 03:57:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75762: [shepherd] Confusion about relative file names Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Jan 2025 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75762 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75762@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1737559880978 (code B ref -1); Wed, 22 Jan 2025 15:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jan 2025 15:31:20 +0000 Received: from localhost ([127.0.0.1]:35920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tachL-0000Fe-Dh for submit@debbugs.gnu.org; Wed, 22 Jan 2025 10:31:19 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60134) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tachI-0000Ey-Pr for submit@debbugs.gnu.org; Wed, 22 Jan 2025 10:31:18 -0500 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 ) id 1tach4-0002qF-3h for bug-guix@gnu.org; Wed, 22 Jan 2025 10:31:03 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tach1-0001F9-W9 for bug-guix@gnu.org; Wed, 22 Jan 2025 10:31:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BB026240101 for ; Wed, 22 Jan 2025 16:30:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737559855; bh=aed54w9GC+o/5A8ZU4275UKUnmFG83VF3CSs7Pu81Kc=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=Kayot1RRK1EIBttAQKzrHnZa5C9crkg18JsbLkL2/husDPBhzYM6yJbIiF13oyj4D H652QP1lrq7FF8vUVhBcPjTOHtbmXdMSKCwO9WWThQKNLMeLLi/8256ifAh+EYHbiK XoU95x2bdqOWSYoNkt5uhclNrjta3xS2zgYHBWHWVe5dkVmqPvTTY5w/x6kAK62dkL 9gMpZxbcSaexgp21Y0sI2EdRFIOsyB4hQHkgGyfWxXciun2iVJGFA9Jnyvt4IqNzpH C1VlX1jZ6FSKHwiGv1oX3oAs/oB2cYW2u2X7AXQLc/67cX9yXVueUW6cQ8/kCEqKUB MUGT8F7LzorgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YdShb0zr3z9rxB for ; Wed, 22 Jan 2025 16:30:55 +0100 (CET) Message-ID: Date: Wed, 22 Jan 2025 15:30:40 +0000 MIME-Version: 1.0 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, Was reading through the shepherd manual and it seems to contain contradictory information regarding relative file names: In Chapter 3 ('herd' and 'shepherd') the manual reads > Since herd passes its current working directory to ‘shepherd’, you can pass relative file names without trouble. Chapter 3.2 (Invoking 'herd') > If you pass a file name as an ARG, it will be passed as-is to the Shepherd, thus if it is not an absolute name, it is local to the current working directory of ‘shepherd’, not to herd. So which one is it or is there something I am missing here? From unknown Sat Jun 14 03:57:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75762: [shepherd] Confusion about relative file names Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Feb 2025 10:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75762 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Dariqq Cc: 75762@debbugs.gnu.org Received: via spool by 75762-submit@debbugs.gnu.org id=B75762.173875089927519 (code B ref 75762); Wed, 05 Feb 2025 10:22:01 +0000 Received: (at 75762) by debbugs.gnu.org; 5 Feb 2025 10:21:39 +0000 Received: from localhost ([127.0.0.1]:48678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfcXL-00079n-8v for submit@debbugs.gnu.org; Wed, 05 Feb 2025 05:21:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58538) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfcXH-00079Y-LJ for 75762@debbugs.gnu.org; Wed, 05 Feb 2025 05:21:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tfcXB-0001yu-Ca; Wed, 05 Feb 2025 05:21:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OpJjSWgGe7CzbQPG7h5J02V5dISqqD59s2aiwP2nmD4=; b=PldxW6NMqL5MrV99QAJv KJU3DzUJUJhVbedtBXH8MQ0+diYG3Ih+cB3YvaWjyhCrzc4jKea0FmoZUXX9eU9UgFeDdoGI8WNfp ahUGuYrX/Iwg/iZFgZ0JaFmU5f7LDpMaA1q0hhysa8O1OdifZhuuYyP2QH/nYwumkp+KmcN6R4t78 gpoSqobyM46rWIGSsZlT3ys8R530tv+OA20REcGghiURziMIfobNgga4tTMjrXeZkF5ZpHIQAuQSI zXLOFs+bUcaeIpbSdrV+Yu8lFIvjFWG8PJOFL2rWHNhPeIcT2MT9Gkp27A9hrFtlalwEE9rNV9YbS lbfmL/Z+DG8/kg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (dariqq@posteo.net's message of "Wed, 22 Jan 2025 15:30:40 +0000") References: Date: Wed, 05 Feb 2025 11:21:25 +0100 Message-ID: <87seosadzu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Dariqq, Dariqq skribis: > Was reading through the shepherd manual and it seems to contain > contradictory information regarding relative file names: > > In Chapter 3 ('herd' and 'shepherd') the manual reads > >> Since herd passes its current working directory to =E2=80=98shepherd=E2= =80=99, you can pass relative file names without trouble. > > Chapter 3.2 (Invoking 'herd') > >> If you pass a file name as an ARG, it will be passed as-is to the Shephe= rd, thus if it is not an absolute name, it is local to the current working = directory of =E2=80=98shepherd=E2=80=99, not to herd. > > So which one is it or is there something I am missing here? The situation actually depends on the action you=E2=80=99re running. Starting from 1a8d686b7fa617d9b1df33858957a240b7e11787, shepherd no longer changes directory to the client=E2=80=99s directory. So now it=E2= =80=99s up to its action to interpret file names as it wants. We should update the manual accordingly. Did you have a specific action in mind though? Ludo=E2=80=99. From unknown Sat Jun 14 03:57:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75762: [shepherd] Confusion about relative file names Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Feb 2025 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75762 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 75762@debbugs.gnu.org Received: via spool by 75762-submit@debbugs.gnu.org id=B75762.17387558109905 (code B ref 75762); Wed, 05 Feb 2025 11:44:02 +0000 Received: (at 75762) by debbugs.gnu.org; 5 Feb 2025 11:43:30 +0000 Received: from localhost ([127.0.0.1]:48819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfdoX-0002Zh-MZ for submit@debbugs.gnu.org; Wed, 05 Feb 2025 06:43:29 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41753) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfdoS-0002ZO-Ug for 75762@debbugs.gnu.org; Wed, 05 Feb 2025 06:43:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2112B240027 for <75762@debbugs.gnu.org>; Wed, 5 Feb 2025 12:43:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1738755798; bh=2H1yykD1wHRd0lbSn7J3hdYOvHrRnuZRe1eALSf1N3o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=PIU+Qw3gel0q3y/qj+BJqJ95GeJ8cLRjb5zx+U7v9qBbMtHm0nm2QrJKGdnTYrhPc Z1qpvpNybD/mEIDCmgVmkeeVP/LPYMp/6YZGHYXm6PfFNc6L4GmTj1znjC8NUpj7AF ttqbFqel2vqcDUMWzsfC9ipkVCQXXT+IscEJ4v4p0KnsgjD54pe64CUMibxcgbrtbz rasITkdid3ma6+hOuXxRzPfL9vVx5qp3cS/1FYE/5J8o8mhvtwPWbYcmds/KC3EoD2 quaKAjF4SnFfLEe6TFjRly4DQhefK28C1hbxHCLnJIlSsU4z9MoYQ0sUFOXTWg/8uq PVrkvAVrO3iXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YnyzR408Qz6tn4; Wed, 5 Feb 2025 12:43:14 +0100 (CET) Message-ID: <751881cc-3a8a-4a08-85b8-bcd4ea9e0035@posteo.net> Date: Wed, 5 Feb 2025 11:42:58 +0000 MIME-Version: 1.0 References: <87seosadzu.fsf@gnu.org> Content-Language: en-US From: Dariqq In-Reply-To: <87seosadzu.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Ludo, On 05.02.25 11:21, Ludovic Courtès wrote: > Hi Dariqq, > > Dariqq skribis: > >> Was reading through the shepherd manual and it seems to contain >> contradictory information regarding relative file names: >> >> In Chapter 3 ('herd' and 'shepherd') the manual reads >> >>> Since herd passes its current working directory to ‘shepherd’, you can pass relative file names without trouble. >> >> Chapter 3.2 (Invoking 'herd') >> >>> If you pass a file name as an ARG, it will be passed as-is to the Shepherd, thus if it is not an absolute name, it is local to the current working directory of ‘shepherd’, not to herd. >> >> So which one is it or is there something I am missing here? > > The situation actually depends on the action you’re running. > > Starting from 1a8d686b7fa617d9b1df33858957a240b7e11787, shepherd no > longer changes directory to the client’s directory. So now it’s up to > its action to interpret file names as it wants. We should update the > manual accordingly. > > Did you have a specific action in mind though? > I was prototyping a user daemon via 'herd load root' before I was ready to commit it to my home-environment and was a bit surprised that I had to use the full path resp. a path relative to $HOME. This would be consistent with the info in section 3.2 but not what I would expect. > Ludo’. From unknown Sat Jun 14 03:57:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dariqq Subject: bug#75762: closed (Re: bug#75762: [shepherd] Confusion about relative file names) Message-ID: References: <87ldui2dyn.fsf@gnu.org> X-Gnu-PR-Message: they-closed 75762 X-Gnu-PR-Package: guix Reply-To: 75762@debbugs.gnu.org Date: Fri, 07 Feb 2025 11:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1738927622-945-1" This is a multi-part message in MIME format... ------------=_1738927622-945-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75762: [shepherd] Confusion about relative file names which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75762@debbugs.gnu.org. --=20 75762: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75762 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738927622-945-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75762-done) by debbugs.gnu.org; 7 Feb 2025 11:26:25 +0000 Received: from localhost ([127.0.0.1]:33113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tgMV6-0000DZ-MG for submit@debbugs.gnu.org; Fri, 07 Feb 2025 06:26:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39696) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tgMV3-0000DK-6W for 75762-done@debbugs.gnu.org; Fri, 07 Feb 2025 06:26:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tgMUx-000141-QR; Fri, 07 Feb 2025 06:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=IxWEchTs6i40qbETsslTbBfqpxzCzQrdvdSolghoDoM=; b=i4wwJ3n57M5EER0MxcuA foqsHSojyrXUFH+Y5ttgWho7UFxWhaJju01+cjSK4jwP/MapUUOkRmsL54Y5oxoSfx0xSEw8F4osa pRzYGRc4T7lMYgpap1IXe/NVKVWSXcKy7gdmY5eE3pPUMr86xJAEvM66RoeEmfRXntVzjmorbwNoe pPU59vkjdHT+ZeIK6iS7GVEcO5iM34mf9+YfN8XBNCCm+ir1/49ZOAmOcEzN9OnAtHS26HMUV5i+w HJUtQK6Wl7uHEQq9xBSC6kWEpnRlXNqFlUSr7hxsN3Rh0PJ3lJPOlMF3eWGdo5y4dRXPdg6XXsi4b uPHaINODuOHBIw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Dariqq Subject: Re: bug#75762: [shepherd] Confusion about relative file names In-Reply-To: <751881cc-3a8a-4a08-85b8-bcd4ea9e0035@posteo.net> (dariqq@posteo.net's message of "Wed, 5 Feb 2025 11:42:58 +0000") References: <87seosadzu.fsf@gnu.org> <751881cc-3a8a-4a08-85b8-bcd4ea9e0035@posteo.net> Date: Fri, 07 Feb 2025 12:26:08 +0100 Message-ID: <87ldui2dyn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75762-done Cc: 75762-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Dariqq skribis: >> The situation actually depends on the action you=E2=80=99re running. >> Starting from 1a8d686b7fa617d9b1df33858957a240b7e11787, shepherd no >> longer changes directory to the client=E2=80=99s directory. So now it= =E2=80=99s up to >> its action to interpret file names as it wants. We should update the >> manual accordingly. >> Did you have a specific action in mind though? >>=20 > I was prototyping a user daemon via 'herd load root' before I was > ready to commit it to my home-environment and was a bit surprised that > I had to use the full path resp. a path relative to $HOME. This would > be consistent with the info in section 3.2 but not what I would > expect. Right. I pushed a clarification as 882e56ce168c2ddb014cf35e2767d78778e0ba64. Thanks! Ludo=E2=80=99. ------------=_1738927622-945-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jan 2025 15:31:20 +0000 Received: from localhost ([127.0.0.1]:35920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tachL-0000Fe-Dh for submit@debbugs.gnu.org; Wed, 22 Jan 2025 10:31:19 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60134) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tachI-0000Ey-Pr for submit@debbugs.gnu.org; Wed, 22 Jan 2025 10:31:18 -0500 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 ) id 1tach4-0002qF-3h for bug-guix@gnu.org; Wed, 22 Jan 2025 10:31:03 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tach1-0001F9-W9 for bug-guix@gnu.org; Wed, 22 Jan 2025 10:31:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BB026240101 for ; Wed, 22 Jan 2025 16:30:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737559855; bh=aed54w9GC+o/5A8ZU4275UKUnmFG83VF3CSs7Pu81Kc=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=Kayot1RRK1EIBttAQKzrHnZa5C9crkg18JsbLkL2/husDPBhzYM6yJbIiF13oyj4D H652QP1lrq7FF8vUVhBcPjTOHtbmXdMSKCwO9WWThQKNLMeLLi/8256ifAh+EYHbiK XoU95x2bdqOWSYoNkt5uhclNrjta3xS2zgYHBWHWVe5dkVmqPvTTY5w/x6kAK62dkL 9gMpZxbcSaexgp21Y0sI2EdRFIOsyB4hQHkgGyfWxXciun2iVJGFA9Jnyvt4IqNzpH C1VlX1jZ6FSKHwiGv1oX3oAs/oB2cYW2u2X7AXQLc/67cX9yXVueUW6cQ8/kCEqKUB MUGT8F7LzorgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YdShb0zr3z9rxB for ; Wed, 22 Jan 2025 16:30:55 +0100 (CET) Message-ID: Date: Wed, 22 Jan 2025 15:30:40 +0000 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@gnu.org From: Dariqq Subject: [shepherd] Confusion about relative file names Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, Was reading through the shepherd manual and it seems to contain contradictory information regarding relative file names: In Chapter 3 ('herd' and 'shepherd') the manual reads > Since herd passes its current working directory to ‘shepherd’, you can pass relative file names without trouble. Chapter 3.2 (Invoking 'herd') > If you pass a file name as an ARG, it will be passed as-is to the Shepherd, thus if it is not an absolute name, it is local to the current working directory of ‘shepherd’, not to herd. So which one is it or is there something I am missing here? ------------=_1738927622-945-1--