From unknown Fri Jun 13 10:24:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58417: Installer script no longer works with `yes` utility Resent-From: Jonas Freimuth Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Oct 2022 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58417 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58417@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16654202546821 (code B ref -1); Mon, 10 Oct 2022 16:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Oct 2022 16:44:14 +0000 Received: from localhost ([127.0.0.1]:49701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohvsy-0001lq-LL for submit@debbugs.gnu.org; Mon, 10 Oct 2022 12:44:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:54318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohumu-0008Kh-PW for submit@debbugs.gnu.org; Mon, 10 Oct 2022 11:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohumu-00007c-Er for bug-guix@gnu.org; Mon, 10 Oct 2022 11:33:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohumr-0007uH-RX for bug-guix@gnu.org; Mon, 10 Oct 2022 11:33:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49A71240107 for ; Mon, 10 Oct 2022 17:33:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1665416026; bh=DyIHUtbZfbDS6wL05+U17XSaowZ1L3Ab5OVWSqJnyZQ=; h=Date:To:From:Subject:From; b=cBi6htnXToFMnOfNRHBo1uCi6H5LdxBfye81ORwHmAq6k9gqZ1omj23M6yGFxXplW xyteJ+2rR7sr6euf/xrB1FYyIpsNvMjRf0Tui0JQyrs4li0xm8MkEeTGYqjfO2Oe0U ce4cbepSrcS5ivOP6STmdfnF0o4n0xsWeFY9ZWPsDD+3BQfJ+TXWkuQUTxL3MiDvE8 aBwP6CE1Z3gokJmcimQ+DQInrwjVHlLjuflGwrUYg7nPZFtp9yO7WsVCRPtn6xIXbe t8CVvM8k5K/vSOfermnQHM8sCcPXXqZknxbP/g7jwjcTTRVpusT75a6BKx4SYHmLzV U5nEiWzyXOeXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MmNHF4Pkrz9rxP for ; Mon, 10 Oct 2022 17:33:45 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------NuOAhxxE90cIgt0Z0LWuz8nq" Message-ID: <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> Date: Mon, 10 Oct 2022 15:33:44 +0000 MIME-Version: 1.0 From: Jonas Freimuth Received-SPF: pass client-ip=185.67.36.66; envelope-from=jonas.freimuth@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.3 (-) X-Mailman-Approved-At: Mon, 10 Oct 2022 12:44:08 -0400 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 (--) This is a multi-part message in MIME format. --------------NuOAhxxE90cIgt0Z0LWuz8nq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Package: guix Version: 1.4.0 Severity: important Heyo, I use the github `guix-install-action` (https://github.com/PromyLOPh/guix-install-action), which internally runs the `guix-install.sh` script non-interactively, via the yes utility: ```{bash} bash -c 'yes | bash guix-install.sh' ``` However, since commit `6a2e303d3a49baf7c222a70b91f453e9efd456c6` (https://git.savannah.gnu.org/cgit/guix.git/commit/etc/guix-install.sh?id=6a2e303d3a49baf7c222a70b91f453e9efd456c6), this apparently causes the entire action to hang (leading to eventual termination by github). I confirmed this behaviour by running the "Download", "Fetch Key", and "Install Guix" steps of the `guix-install-action` as root on a WSL2 instance of Ubuntu20.04 (using todays wsl rootfs from https://cloud-images.ubuntu.com/focal/current/). Running ```{bash} sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'bash guix-install.sh' ``` instead of ```{bash} sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'yes | bash guix-install.sh' ``` i.e. running the script interactively works fine. Is this intended, or is there another suggested way to run the `guix-install.sh` script non-interactively? Best wishes, Jonas --------------NuOAhxxE90cIgt0Z0LWuz8nq Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Package: guix

Version: 1.4.0

Severity: important

Heyo,

I use the github `guix-install-action` (https://github.com/PromyLOPh/guix-install-action), which internally runs the `guix-install.sh` script non-interactively, via the yes utility:

```{bash}

bash -c 'yes | bash guix-install.sh'

```

However, since commit `6a2e303d3a49baf7c222a70b91f453e9efd456c6` (https://git.savannah.gnu.org/cgit/guix.git/commit/etc/guix-install.sh?id=6a2e303d3a49baf7c222a70b91f453e9efd456c6), this apparently causes the entire action to hang (leading to eventual termination by github).

I confirmed this behaviour by running the "Download", "Fetch Key", and "Install Guix" steps of the `guix-install-action` as root on a WSL2 instance of Ubuntu20.04 (using todays wsl rootfs from https://cloud-images.ubuntu.com/focal/current/).

Running

```{bash}

sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'bash guix-install.sh'

```

instead of

```{bash}

sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'yes | bash guix-install.sh'

```

i.e. running the script interactively works fine.

Is this intended, or is there another suggested way to run the `guix-install.sh` script non-interactively?

Best wishes,

Jonas

--------------NuOAhxxE90cIgt0Z0LWuz8nq-- From unknown Fri Jun 13 10:24:23 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: Jonas Freimuth Subject: bug#58417: closed (Re: bug#58417: Installer script no longer works with `yes` utility) Message-ID: References: <87mta2cpnh.fsf@gmail.com> <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> X-Gnu-PR-Message: they-closed 58417 X-Gnu-PR-Package: guix Reply-To: 58417@debbugs.gnu.org Date: Tue, 11 Oct 2022 16:06:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1665504361-4981-1" This is a multi-part message in MIME format... ------------=_1665504361-4981-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58417: Installer script no longer works with `yes` utility 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 58417@debbugs.gnu.org. --=20 58417: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58417 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1665504361-4981-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58417-done) by debbugs.gnu.org; 11 Oct 2022 16:05:03 +0000 Received: from localhost ([127.0.0.1]:54669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiHkc-0001H3-Id for submit@debbugs.gnu.org; Tue, 11 Oct 2022 12:05:02 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:43953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiHkX-0001GT-R7 for 58417-done@debbugs.gnu.org; Tue, 11 Oct 2022 12:05:01 -0400 Received: by mail-qv1-f51.google.com with SMTP id mg6so9219355qvb.10 for <58417-done@debbugs.gnu.org>; Tue, 11 Oct 2022 09:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4nlYMeO2juRGSZcDQ+gc6UCk6BfZqJQ6DL6KrJuGFWk=; b=R58vcEGXhewX7J2iS5y+unJaYdoHmTMMgCp4hLAAUK43pdtwmDqPRsTvXgHAaAl27T uZ95MRmOSWS5/mnXweS3czKbgKaNQ6GaNFHbkFtCA/WSzKC8wCnTYhAJol6UmMpDdsLQ //H+HU56Ovnk0VlG/HfBFyBBu3Cjf+77LhqvqkRKCnTDvfsTZgX5LWv2jMujrvc//fXQ fPr3ti9QtGB7OvWNj6rlv0spK2SizqAp9Nq9N+5WLfbtQxZPo/xVix2zilNfbC3yfvnD 39tvfaW/3KGIx0HKzJEndPXUJpd1rpByid6nVs+1Tt0wfdcjH7kLf77bPwSEe3jzwFxP lUvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4nlYMeO2juRGSZcDQ+gc6UCk6BfZqJQ6DL6KrJuGFWk=; b=mfxgrWMjgsHc76FdDVDledCcAZpwSy8CgbvWuqheSUs/RFTnVpSDBEeUx5AshjAYpF J4Q1BnEFCeUuKdzRZQeh36ygdD+j7QjfMAHBxcaMb4u8p8ABwEYCrk8gGKZX4u1g2xZ3 A6Abr3X4WiV6l+zZYms68AYdD8ONk4UOHsVH2C2uU89INgPQeyClc1hjudA4G4hrGWXI oUwfHwmmto9Bdi9nduS4mqkzJB1bipoJwj5ClXTJHGF0lsuLGow6Da5KojQ8zibA/5r1 V12KoAkqjev75QfsLwKZ5r6g2QNZt/jLdk5vtrlyiQH0iG/BflHjXoyku2tMglHcR3nh 7knQ== X-Gm-Message-State: ACrzQf0FGcW1tIvNUtyqauRdJk1nDO1T1llx2jAijN1iimXI7tM5kvDm xanMDNWKJgTLEserT5H8JUCRsD34CQE= X-Google-Smtp-Source: AMsMyM7ssG8j+e+3m9xI9xs3Kr/vj3YkmXif1wIm9LEmTeGhI/7CwsCoRMQFFJvAqoR7m/G4TdRcQA== X-Received: by 2002:a05:6214:21a5:b0:4b1:8955:5146 with SMTP id t5-20020a05621421a500b004b189555146mr19401464qvc.56.1665504292084; Tue, 11 Oct 2022 09:04:52 -0700 (PDT) Received: from kwak ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id i7-20020a05622a08c700b0035a6f972f84sm10659768qte.62.2022.10.11.09.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 09:04:51 -0700 (PDT) From: Maxim Cournoyer To: Jonas Freimuth Subject: Re: bug#58417: Installer script no longer works with `yes` utility References: <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> Date: Tue, 11 Oct 2022 12:04:50 -0400 In-Reply-To: <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> (Jonas Freimuth's message of "Mon, 10 Oct 2022 15:33:44 +0000") Message-ID: <87mta2cpnh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58417-done Cc: 58417-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: -1.0 (-) Hi, Jonas Freimuth writes: > Package: guix > > Version: 1.4.0 > > Severity: important > > Heyo, > > I use the github `guix-install-action` > (https://github.com/PromyLOPh/guix-install-action), which internally > runs the `guix-install.sh` script non-interactively, via the yes > utility: > > ```{bash} > > bash -c 'yes | bash guix-install.sh' This should be fixed with e46bb5fd5a. Please report back if it there are still issues. Thanks for reporting the issue, and apologies for the breakage! -- Maxim ------------=_1665504361-4981-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Oct 2022 16:44:14 +0000 Received: from localhost ([127.0.0.1]:49701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohvsy-0001lq-LL for submit@debbugs.gnu.org; Mon, 10 Oct 2022 12:44:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:54318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohumu-0008Kh-PW for submit@debbugs.gnu.org; Mon, 10 Oct 2022 11:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohumu-00007c-Er for bug-guix@gnu.org; Mon, 10 Oct 2022 11:33:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohumr-0007uH-RX for bug-guix@gnu.org; Mon, 10 Oct 2022 11:33:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49A71240107 for ; Mon, 10 Oct 2022 17:33:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1665416026; bh=DyIHUtbZfbDS6wL05+U17XSaowZ1L3Ab5OVWSqJnyZQ=; h=Date:To:From:Subject:From; b=cBi6htnXToFMnOfNRHBo1uCi6H5LdxBfye81ORwHmAq6k9gqZ1omj23M6yGFxXplW xyteJ+2rR7sr6euf/xrB1FYyIpsNvMjRf0Tui0JQyrs4li0xm8MkEeTGYqjfO2Oe0U ce4cbepSrcS5ivOP6STmdfnF0o4n0xsWeFY9ZWPsDD+3BQfJ+TXWkuQUTxL3MiDvE8 aBwP6CE1Z3gokJmcimQ+DQInrwjVHlLjuflGwrUYg7nPZFtp9yO7WsVCRPtn6xIXbe t8CVvM8k5K/vSOfermnQHM8sCcPXXqZknxbP/g7jwjcTTRVpusT75a6BKx4SYHmLzV U5nEiWzyXOeXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MmNHF4Pkrz9rxP for ; Mon, 10 Oct 2022 17:33:45 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------NuOAhxxE90cIgt0Z0LWuz8nq" Message-ID: <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> Date: Mon, 10 Oct 2022 15:33:44 +0000 MIME-Version: 1.0 To: bug-guix@gnu.org From: Jonas Freimuth Subject: Installer script no longer works with `yes` utility Received-SPF: pass client-ip=185.67.36.66; envelope-from=jonas.freimuth@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 10 Oct 2022 12:44:08 -0400 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 (--) This is a multi-part message in MIME format. --------------NuOAhxxE90cIgt0Z0LWuz8nq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Package: guix Version: 1.4.0 Severity: important Heyo, I use the github `guix-install-action` (https://github.com/PromyLOPh/guix-install-action), which internally runs the `guix-install.sh` script non-interactively, via the yes utility: ```{bash} bash -c 'yes | bash guix-install.sh' ``` However, since commit `6a2e303d3a49baf7c222a70b91f453e9efd456c6` (https://git.savannah.gnu.org/cgit/guix.git/commit/etc/guix-install.sh?id=6a2e303d3a49baf7c222a70b91f453e9efd456c6), this apparently causes the entire action to hang (leading to eventual termination by github). I confirmed this behaviour by running the "Download", "Fetch Key", and "Install Guix" steps of the `guix-install-action` as root on a WSL2 instance of Ubuntu20.04 (using todays wsl rootfs from https://cloud-images.ubuntu.com/focal/current/). Running ```{bash} sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'bash guix-install.sh' ``` instead of ```{bash} sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'yes | bash guix-install.sh' ``` i.e. running the script interactively works fine. Is this intended, or is there another suggested way to run the `guix-install.sh` script non-interactively? Best wishes, Jonas --------------NuOAhxxE90cIgt0Z0LWuz8nq Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Package: guix

Version: 1.4.0

Severity: important

Heyo,

I use the github `guix-install-action` (https://github.com/PromyLOPh/guix-install-action), which internally runs the `guix-install.sh` script non-interactively, via the yes utility:

```{bash}

bash -c 'yes | bash guix-install.sh'

```

However, since commit `6a2e303d3a49baf7c222a70b91f453e9efd456c6` (https://git.savannah.gnu.org/cgit/guix.git/commit/etc/guix-install.sh?id=6a2e303d3a49baf7c222a70b91f453e9efd456c6), this apparently causes the entire action to hang (leading to eventual termination by github).

I confirmed this behaviour by running the "Download", "Fetch Key", and "Install Guix" steps of the `guix-install-action` as root on a WSL2 instance of Ubuntu20.04 (using todays wsl rootfs from https://cloud-images.ubuntu.com/focal/current/).

Running

```{bash}

sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'bash guix-install.sh'

```

instead of

```{bash}

sudo --preserve-env=GUIX_BINARY_FILE_NAME -- bash -c 'yes | bash guix-install.sh'

```

i.e. running the script interactively works fine.

Is this intended, or is there another suggested way to run the `guix-install.sh` script non-interactively?

Best wishes,

Jonas

--------------NuOAhxxE90cIgt0Z0LWuz8nq-- ------------=_1665504361-4981-1--