Received: (at 75762-done) by debbugs.gnu.org; 7 Feb 2025 11:26:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 06:26:25 2025 Received: from localhost ([127.0.0.1]:33113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tgMV6-0000DZ-MG for submit <at> 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 <ludo@HIDDEN>) id 1tgMV3-0000DK-6W for 75762-done <at> 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 <ludo@HIDDEN>) 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?= <ludo@HIDDEN> To: Dariqq <dariqq@HIDDEN> Subject: Re: bug#75762: [shepherd] Confusion about relative file names In-Reply-To: <751881cc-3a8a-4a08-85b8-bcd4ea9e0035@HIDDEN> (dariqq@HIDDEN's message of "Wed, 5 Feb 2025 11:42:58 +0000") References: <d311adb0-f01f-4664-b9b6-fa09bd58a3e1@HIDDEN> <87seosadzu.fsf@HIDDEN> <751881cc-3a8a-4a08-85b8-bcd4ea9e0035@HIDDEN> Date: Fri, 07 Feb 2025 12:26:08 +0100 Message-ID: <87ldui2dyn.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Dariqq <dariqq@HIDDEN> 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.
Dariqq <dariqq@HIDDEN>
:Ludovic Courtès <ludo@HIDDEN>
:Received: (at 75762) by debbugs.gnu.org; 5 Feb 2025 11:43:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 06:43:30 2025 Received: from localhost ([127.0.0.1]:48819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tfdoX-0002Zh-MZ for submit <at> 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 <dariqq@HIDDEN>) id 1tfdoS-0002ZO-Ug for 75762 <at> 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 <at> 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@HIDDEN> Date: Wed, 5 Feb 2025 11:42:58 +0000 MIME-Version: 1.0 Subject: Re: bug#75762: [shepherd] Confusion about relative file names To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> References: <d311adb0-f01f-4664-b9b6-fa09bd58a3e1@HIDDEN> <87seosadzu.fsf@HIDDEN> Content-Language: en-US From: Dariqq <dariqq@HIDDEN> In-Reply-To: <87seosadzu.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75762 Cc: 75762 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Ludo, On 05.02.25 11:21, Ludovic Courtès wrote: > Hi Dariqq, > > Dariqq <dariqq@HIDDEN> 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’.
bug-guix@HIDDEN
:bug#75762
; Package guix
.
Full text available.Received: (at 75762) by debbugs.gnu.org; 5 Feb 2025 10:21:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 05:21:39 2025 Received: from localhost ([127.0.0.1]:48678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tfcXL-00079n-8v for submit <at> 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 <ludo@HIDDEN>) id 1tfcXH-00079Y-LJ for 75762 <at> 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 <ludo@HIDDEN>) 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Dariqq <dariqq@HIDDEN> Subject: Re: bug#75762: [shepherd] Confusion about relative file names In-Reply-To: <d311adb0-f01f-4664-b9b6-fa09bd58a3e1@HIDDEN> (dariqq@HIDDEN's message of "Wed, 22 Jan 2025 15:30:40 +0000") References: <d311adb0-f01f-4664-b9b6-fa09bd58a3e1@HIDDEN> Date: Wed, 05 Feb 2025 11:21:25 +0100 Message-ID: <87seosadzu.fsf@HIDDEN> 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 Cc: 75762 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Dariqq, Dariqq <dariqq@HIDDEN> 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.
bug-guix@HIDDEN
:bug#75762
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Jan 2025 15:31:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 22 10:31:20 2025 Received: from localhost ([127.0.0.1]:35920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tachL-0000Fe-Dh for submit <at> 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 <dariqq@HIDDEN>) id 1tachI-0000Ey-Pr for submit <at> 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 <dariqq@HIDDEN>) id 1tach4-0002qF-3h for bug-guix@HIDDEN; 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 <dariqq@HIDDEN>) id 1tach1-0001F9-W9 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>; Wed, 22 Jan 2025 16:30:55 +0100 (CET) Message-ID: <d311adb0-f01f-4664-b9b6-fa09bd58a3e1@HIDDEN> Date: Wed, 22 Jan 2025 15:30:40 +0000 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@HIDDEN From: Dariqq <dariqq@HIDDEN> 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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?
Dariqq <dariqq@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#75762
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.