FS#61945 - [archiso] install root EDITOR=vim isn't present in default chroot environment
Attached to Project:
Release Engineering
Opened by Clarence Risher (sparr) - Friday, 08 March 2019, 05:48 GMT
Last edited by David Runge (dvzrv) - Tuesday, 25 August 2020, 15:42 GMT
Opened by Clarence Risher (sparr) - Friday, 08 March 2019, 05:48 GMT
Last edited by David Runge (dvzrv) - Tuesday, 25 August 2020, 15:42 GMT
|
Details
Description:
Following the install guide will lead to being logged in as root to the arch-chroot'd environment, with $EDITOR still set to "vim" which was installed on the iso but is not installed in the chroot environment. This leads to errors when trying to run anything that uses $EDITOR, until the user either installs vim or figured out which editor is installed to change $EDITOR to. This is a minor nuisance. Possible fixes would be to change root's EDITOR to vi from the start, or just in the arch-chroot script. Additional info: * release 2019.03.01 Steps to reproduce: 1. Follow installation guide up until arch-chroot step 2. `visudo` |
This task depends upon
Closed by David Runge (dvzrv)
Tuesday, 25 August 2020, 15:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Removal of grml-zsh-config is evaluated. Meanwhile please provide information to add a note to the installation guide (via its talk page).
Tuesday, 25 August 2020, 15:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Removal of grml-zsh-config is evaluated. Meanwhile please provide information to add a note to the installation guide (via its talk page).
However, this is actually not directly related to archiso.
The EDITOR variable is exported in /etc/zsh/zshrc which is part of grml-zsh-config.
Please discuss on the Installation Guide Talk page [1] to integrate a *Note* about this though.
Other than that, I have opened an issue in our gitlab project for tracking the removal of grml-zsh-config [2].
[1] https://wiki.archlinux.org/index.php/Talk:Installation_guide
[2] https://gitlab.archlinux.org/archlinux/archiso/-/issues/56