|
From: | GNU bug Tracking System |
Subject: | bug#58417: closed (Installer script no longer works with `yes` utility) |
Date: | Tue, 11 Oct 2022 16:06:01 +0000 |
Your message dated Tue, 11 Oct 2022 12:04:50 -0400 with message-id <87mta2cpnh.fsf@gmail.com> and subject line Re: bug#58417: Installer script no longer works with `yes` utility has caused the debbugs.gnu.org bug report #58417, regarding Installer script no longer works with `yes` utility to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 58417: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58417 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: Installer script no longer works with `yes` utility Date: Mon, 10 Oct 2022 15:33:44 +0000 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
--- End Message ---
--- Begin Message ---Subject: Re: bug#58417: Installer script no longer works with `yes` utility Date: Tue, 11 Oct 2022 12:04:50 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Hi, Jonas Freimuth <jonas.freimuth@posteo.de> 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
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |