From unknown Fri Aug 15 12:51:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56540 <56540@debbugs.gnu.org> To: bug#56540 <56540@debbugs.gnu.org> Subject: Status: =?UTF-8?Q?=E2=80=98home-bash-service-type=E2=80=99_?= =?UTF-8?Q?doesn=E2=80=99t?= quote environment variables Reply-To: bug#56540 <56540@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:51:57 +0000 retitle 56540 =E2=80=98home-bash-service-type=E2=80=99 doesn=E2=80=99t quot= e environment variables reassign 56540 guix submitter 56540 Ludovic Court=C3=A8s severity 56540 important thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 10:44:46 2022 Received: (at submit) by debbugs.gnu.org; 13 Jul 2022 14:44:46 +0000 Received: from localhost ([127.0.0.1]:47470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBdba-0001nr-IY for submit@debbugs.gnu.org; Wed, 13 Jul 2022 10:44:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:33554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBdbY-0001nj-Kg for submit@debbugs.gnu.org; Wed, 13 Jul 2022 10:44:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBdbY-0006Mc-Dl for bug-guix@gnu.org; Wed, 13 Jul 2022 10:44:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:45107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBdbT-0006mE-D3 for bug-guix@gnu.org; Wed, 13 Jul 2022 10:44:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=bxhTMBykgwMXzL1GvzwMmB2bNB48wbs0yAkN565e0pU=; b=ITaIDu4/npChFPKMCO2Ou2isyyZs4R4uGz+yZ7pI47DpVk4iebWsWLSp TuPF15FDbPiJa4AKH+j+xdaFYhTI8C+G5Hlhlws91wy5eSUotK6vK89pf jLdqGALqph3IyFK5cEGllNYT+ie/xtLJwYp4xv17tBfqfiLsUGcBjEdV0 g=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.92,267,1650924000"; d="scan'208";a="19282159" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 16:44:36 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98home-bash-service-type=E2=80=99_doesn=E2=80=99?= =?utf-8?Q?t?= quote environment variables X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 25 Messidor an 230 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Pintade X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 13 Jul 2022 16:44:34 +0200 Message-ID: <87a69d9inh.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Similar to , =E2=80=98home-bash-service-= type=E2=80=99 doesn=E2=80=99t quote environment variables. For example, if you add this service: --8<---------------cut here---------------start------------->8--- (define bash-fancy-prompt-service (simple-service 'bash-fancy-prompt home-bash-service-type (home-bash-extension (environment-variables '(("PS1" . "\\u@\\h \\w=CE=BB ")))))) --8<---------------cut here---------------end--------------->8--- =E2=80=A6 you end up with invalid shell code: --8<---------------cut here---------------start------------->8--- $ tail -1 $(guix build /gnu/store/maz98q1skyc7md2vknkg8ima3y2bq5yr-bash_pro= file.drv) export PS1=3D\u@\h \w=CE=BB=20 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 11:16:20 2022 Received: (at control) by debbugs.gnu.org; 13 Jul 2022 15:16:20 +0000 Received: from localhost ([127.0.0.1]:47549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBe68-00040l-CI for submit@debbugs.gnu.org; Wed, 13 Jul 2022 11:16:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBe66-0003tZ-48 for control@debbugs.gnu.org; Wed, 13 Jul 2022 11:16:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBe60-0003AZ-Pt for control@debbugs.gnu.org; Wed, 13 Jul 2022 11:16:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=7+dQ5fLeIjprMCt8+nSsDanqJ6UPXQo0sS9ejcr9g3I=; b=bKlQG/dgni6iiQ z2bOD5WgOOnSnSE4o2zj4llaH/htXgtTGqN47tdnBnzSmD21i0IyuN9dJlZASftbNiVE05WGgY5+M Wm6qcgtvm+wF+z4CL2QoB5a4CKYIp1NLQfxZee7Mf1SjZ92XYitwkpqhpwNE+qCRrlN/bYbdyCuo9 1OdWI/mLeZ7lWF08T26hKaIMVjBnQeJsVkBlcQiuLAlFF74Ay9IAmSsWLCOD47VzP8KMOxLU1BJbS JFBbNVMD6YlnyhL5WhAjaP+oKi3Axq8cfqZI+RfUGYCddmK1pMAZm1LhGbod7hJ/aCAfXUW/jtGDc acWt4Tfm9o1HrELFedHQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:52802 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBe60-0006n4-CZ for control@debbugs.gnu.org; Wed, 13 Jul 2022 11:16:12 -0400 Date: Wed, 13 Jul 2022 17:16:10 +0200 Message-Id: <874jzl9h6t.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #56540 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) severity 56540 important quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 19:10:35 2022 Received: (at 56540-done) by debbugs.gnu.org; 13 Jul 2022 23:10:35 +0000 Received: from localhost ([127.0.0.1]:47933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBlV5-0003bu-21 for submit@debbugs.gnu.org; Wed, 13 Jul 2022 19:10:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBlV3-0003bc-Jj for 56540-done@debbugs.gnu.org; Wed, 13 Jul 2022 19:10:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBlUy-0002tT-9w for 56540-done@debbugs.gnu.org; Wed, 13 Jul 2022 19:10:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ehXv/HpK6zJPKp8j5MTp3a95dfGNNezEPQAVS8spv+I=; b=GqgyW00yevAHOUhgZUEI 3hEB8RFgc9LuElv86/58eJwsgGYKmYNK/EsqjDpySqX1bPXLUDUPiGCf8Ypimr3XR5uzoKQNS0pXi WlEScNogqkdxmNIESvJOfisptC0cXcFN3aIonpLfvjLLUgSvplQTBWZRNrh8JtJzuYh1SZVdHzm35 zo61zOyLOFn8OroXTXXHDeTymHKxhHwN/KxTjGl2CQ1iqQ+bFEJXn6i7KANCsAI1iRy3lFa3JIOK7 g8PxA0eHt5SHWc+BxzxfMRV4446yHPELAOIfuwHHGxrbCOxM/xrVbdXlWFymraSGzjkh8JzQAUaxn GD5O+hjlRxdPYQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54774 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBlUk-0002RL-NN for 56540-done@debbugs.gnu.org; Wed, 13 Jul 2022 19:10:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 56540-done@debbugs.gnu.org Subject: Re: bug#56540: =?utf-8?Q?=E2=80=98home-bash-service-type=E2=80=99?= =?utf-8?Q?_doesn=E2=80=99t?= quote environment variables References: <87a69d9inh.fsf@inria.fr> Date: Thu, 14 Jul 2022 01:10:11 +0200 In-Reply-To: <87a69d9inh.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Wed, 13 Jul 2022 16:44:34 +0200") Message-ID: <87zghc8v8s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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: 56540-done 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 (---) Ludovic Court=C3=A8s skribis: > Similar to , =E2=80=98home-bash-servic= e-type=E2=80=99 > doesn=E2=80=99t quote environment variables. For example, if you add this > service: > > (define bash-fancy-prompt-service > (simple-service 'bash-fancy-prompt > home-bash-service-type > (home-bash-extension > (environment-variables > '(("PS1" . "\\u@\\h \\w=CE=BB ")))))) > > > =E2=80=A6 you end up with invalid shell code: > > $ tail -1 $(guix build /gnu/store/maz98q1skyc7md2vknkg8ima3y2bq5yr-bash_p= rofile.drv) > export PS1=3D\u@\h \w=CE=BB=20 Fixed in 8af749224fd69daee5b67295186c77becb1a4479. From unknown Fri Aug 15 12:51:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Aug 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator