From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +JPxCTN+RGOZBwEAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 22:18:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IGbACTN+RGOr1QAA9RJhRA (envelope-from ) for ; Mon, 10 Oct 2022 22:18:59 +0200 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 94E5DAE76 for ; Mon, 10 Oct 2022 22:18:58 +0200 (CEST) Received: from localhost ([::1]:50350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohzEn-0000Jf-QI for larch@yhetil.org; Mon, 10 Oct 2022 16:18:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohvtn-0006ns-F9 for bug-guix@gnu.org; Mon, 10 Oct 2022 12:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohvtn-0004tP-4X for bug-guix@gnu.org; Mon, 10 Oct 2022 12:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohvtn-0001nW-0Q for bug-guix@gnu.org; Mon, 10 Oct 2022 12:45:03 -0400 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-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 X-Mailman-Approved-At: Mon, 10 Oct 2022 16:18:42 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665433138; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=UciMvlHKCwIgEteyJUccKMqS/OqgKwS0PJfYPmXKMGg=; b=a6iCN3HF3EZ0uLpsKVQrwPzLoe0Mt4NcxacltecNcPvWP650Gkn6LseSR2thMefiWvj/ZU NOfsmgI+vu2U2umUyZyjsUHUac3/c2Hf9HuFPbZ7dPrEJh8mbSoZcv+I/kEtEJFebKrXU1 W9p0oCWtfA9JG7IgsDGz1iHU7/vdFnS7/ePvjGGuxgX33VwWRXHRd2xMQCp/3gp6tvPROK dkICdXnRSBvOrZ+qcuzO04+orQF7FEOSSnRkEWt2igluRYfY9d2Es1QtMSR2J3+/KSI0ME /rtZhzRu++Yf7vNNeXMwu8rJCjMlP0rhcxBRbOqJjRRs+wVNG6xS3O1eqAQYYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665433138; a=rsa-sha256; cv=none; b=rd3NQB9pafdLgp3b6YwimeH3cu0NburTGpMJyot5Vi5DOieI+QnyiExEfziwmou+UhDQPe ffi0BFQoCfw9BbiOBaROxbj78zIbngskl56BgTPTUfLR9cF8DEnOkuDCs0drtm+BVRkMm2 onDZPb2s7IpiRrS2vQoCSi0SeI+mDyWS3tg3ETybEKAC5tixvLUIdFaDRovTcjKkK8ryDL GGNe6PhUApNFJrNsMF+Byv/6nwv7Jnkn4+Lk+MlmESdaRe9izlO3Dtr0a0Yp7jW90nIOWF s2pRbjnvZy+tzRCm0aOX09qxfvVWTlKzE4PE+tteZ8wnSWKn98eiaV/cPp4iWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.de header.s=2017 header.b=cBi6htnX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.de header.s=2017 header.b=cBi6htnX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 94E5DAE76 X-Spam-Score: 5.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: +LcRULaJ0AJW 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--