Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zopen upgrade meta to 0.8.2 changes fstype to default #733

Open
depemco opened this issue Mar 19, 2024 · 4 comments
Open

zopen upgrade meta to 0.8.2 changes fstype to default #733

depemco opened this issue Mar 19, 2024 · 4 comments

Comments

@depemco
Copy link

depemco commented Mar 19, 2024

Hello,

When upgrading an existing zopen-installation, with fstype ibm (usr/lpp), from meta version 0.8.0 to 0.8.2 the fstype is changed to the default (usr/local/zopen).

The same thing happens when I try to initiate a new instance, with the command 'zopen init -f ibm'. It create a usr/lpp directory with the meta installed in it, but when I install new tools they are installed under usr/local/zopen and not usr/lpp.

In the file etc/zopen/fstype it also says usr/local/zopen, where in my previous installation it says usr/lpp.

I can't fix the problem by just simply changing the content of etc/zopen/fstype to usr/lpp.

@IgorTodorovskiIBM
Copy link
Collaborator

It's likely that the zopen init --refresh that gets triggered on a zopen install/update of meta is overwriting etc/zopen/fstype.

We'll need to guard the case where --f is not provided and not overwrite in that circumstance.

@DevonianTeuchter
Copy link
Collaborator

We had spoken about removing the capability to install to locations other than the default /usr/local/zopen as there was no indication it was being used nor that anyone found it useful! Obviously someone has used it so as Igor indicates will need to support this more completely.

@depemco
Copy link
Author

depemco commented Mar 19, 2024

I made some symlinks as /usr/lpp/git to /usr/lpp/zopen/usr/lpp/git/git so users could specify /usr/lpp/git in certain scripts. And because we use the /usr/lpp it felt closest to home to choose the ibm fs-type (usr/lpp).

But if the answer is to use the usr/local/zopen, I can change the symlinks to this path, now knowing that is going to be the only supported path. Only suggestion is to remove the --fs-type out of the help of zopen init then 😉 Put me on the wrong path for an afternoon here, reinstalling it for a few times 😛

@IgorTodorovskiIBM
Copy link
Collaborator

I think it would be simpler for us to support only one fs-type. @DevonianTeuchter , perhaps you can add this to your upcoming change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants