Git fatal: Could not switch to '/rsusr/rocket/etc/': EDC5129I No such file or directory
A user tried to use this command:
$ git config --system --edit
fatal: Could not switch to ‘/rsusr/rocket/etc/’: EDC5129I No such file or directory.
Did I miss a configuration item during the install? I didn’t see anything in the zOS git Release Notes.pdf.
These commands work properly:
git config --global --edit and git config --local --edit
Thanks.
Page 1 / 1
A user tried to use this command:
$ git config --system --edit
fatal: Could not switch to ‘/rsusr/rocket/etc/’: EDC5129I No such file or directory.
Did I miss a configuration item during the install? I didn’t see anything in the zOS git Release Notes.pdf.
These commands work properly:
git config --global --edit and git config --local --edit
Thanks.
Hi,
We recommend to install Vim and make this setting:
git config --glob core.editor “vim”
A user tried to use this command:
$ git config --system --edit
fatal: Could not switch to ‘/rsusr/rocket/etc/’: EDC5129I No such file or directory.
Did I miss a configuration item during the install? I didn’t see anything in the zOS git Release Notes.pdf.
These commands work properly:
git config --global --edit and git config --local --edit
Thanks.
Hi,
We are using this: core.editor=/bin/vi -W filecodeset=ISO8859-1 which is set from the git config --global core.editor “/bin/vi -W filecodeset=ISO8859-1” command.
From the first time Git setup…
/etc/gitconfig file: Contains values for every user on the system and all their repositories. If you pass the option --system to git config, it reads and writes from this file specifically.
How do I configure Git on z/OS to use my system config file? (/myrocketdir/gitconfig)
I read this but couldn’t determine what the resolution was.
Thanks
Hi,
We are using this: core.editor=/bin/vi -W filecodeset=ISO8859-1 which is set from the git config --global core.editor “/bin/vi -W filecodeset=ISO8859-1” command.
From the first time Git setup…
/etc/gitconfig file: Contains values for every user on the system and all their repositories. If you pass the option --system to git config, it reads and writes from this file specifically.
How do I configure Git on z/OS to use my system config file? (/myrocketdir/gitconfig)
I read this but couldn’t determine what the resolution was.
Thanks
Hi,
As I know, there is no way to change the path to system config.
Thank for reporting. We have found an issue related with system config.
Hi,
As I know, there is no way to change the path to system config.
Thank for reporting. We have found an issue related with system config.
A user tried to use this command:
$ git config --system --edit
fatal: Could not switch to ‘/rsusr/rocket/etc/’: EDC5129I No such file or directory.
Did I miss a configuration item during the install? I didn’t see anything in the zOS git Release Notes.pdf.
These commands work properly:
git config --global --edit and git config --local --edit
Thanks.
I tried setting the environment variable GIT_CONFIG_NOSYSTEM which is supposed to skip reading the settings from the system-wide $(prefix)/etc/gitconfig file but it didn’t work.
Thanks.
A user tried to use this command:
$ git config --system --edit
fatal: Could not switch to ‘/rsusr/rocket/etc/’: EDC5129I No such file or directory.
Did I miss a configuration item during the install? I didn’t see anything in the zOS git Release Notes.pdf.
These commands work properly:
git config --global --edit and git config --local --edit
Thanks.
I know this is very old, but it seems this is still an issue with git version 2.14.4_zos_b09 as I've just run into it as well. I've solved the problem at our site by hex-editing the git code and altering the /rsuser/ported located near x145F00 and replacing it with low values (x00). Now, git looks for the gitconfig file in /etc/gitconfig for system-level settings. Of course, I've made a backup of the original, unedited code first. I'm wondering what the status of the internal ticket opened by Tatiana on 2017/10/03 is.
------------------------------ Andrew Arentsen Acuity Insurance ------------------------------
I know this is very old, but it seems this is still an issue with git version 2.14.4_zos_b09 as I've just run into it as well. I've solved the problem at our site by hex-editing the git code and altering the /rsuser/ported located near x145F00 and replacing it with low values (x00). Now, git looks for the gitconfig file in /etc/gitconfig for system-level settings. Of course, I've made a backup of the original, unedited code first. I'm wondering what the status of the internal ticket opened by Tatiana on 2017/10/03 is.
------------------------------ Andrew Arentsen Acuity Insurance ------------------------------
Hi, Andrew
This issue was fixed in 2017 with build 13.
Rocket has moved to a new system – conda – for downloading, installing, and upgrading all z/OS open source ports developed by Rocket. All ported tools should be installed via package manager conda.