GNU bug report logs -
#58417
Installer script no longer works with `yes` utility
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58417 in the body.
You can then email your comments to 58417 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58417
; Package
guix
.
(Mon, 10 Oct 2022 16:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonas Freimuth <jonas.freimuth <at> posteo.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 10 Oct 2022 16:45:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Tue, 11 Oct 2022 16:06:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jonas Freimuth <jonas.freimuth <at> posteo.de>
:
bug acknowledged by developer.
(Tue, 11 Oct 2022 16:06:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 58417-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Jonas Freimuth <jonas.freimuth <at> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Nov 2022 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.