Best way to install into shared file system on z/OS #465
Replies: 6 comments 33 replies
-
Also, what are your thoughts on the XDG spec?
|
Beta Was this translation helpful? Give feedback.
-
What would a 'clone' option do? In my opinion a clone option should be used to do a git clone of the port source to a zopen/dev directory so you can locally build the software using zopen build. Or is that what you intent to do here? |
Beta Was this translation helpful? Give feedback.
-
Another question - if we do a 'promote' to a shared area, should we strip out the 'zopen' tool since this shouldn't be tampered with in any way, or should we keep it so things like 'list --installed' would function (i'm leaning to 'strip' to prevent having multiple zopen tools lying on the system but curious what folks think |
Beta Was this translation helpful? Give feedback.
-
The thinking is that if you are promoting to a location (without the zopen admin tooling), you wouldn't really want to make changes to it; even upgrading those packages could, if there had been a build between testing a particular upgrade and the actual upgrade occurring, lead to untested versions in the "promoted" environment. |
Beta Was this translation helpful? Give feedback.
-
@lbdyck @mfsysprog et al for 'promotion into production zfs' that Lionell mentioned, I was thinking the flow could be something like:
The question is, should we have a very simple script that runs via sudo for the privileged operations, or to instead have a small number of commands that run under sudo - or perhaps a combination of the two (a small script that sudo's to a small number of commands)? |
Beta Was this translation helpful? Give feedback.
-
I agree - remember it may not be |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been doing some reading on installation of software on Linux (https://unix.stackexchange.com/questions/215776/recommended-way-to-install-software-to-usr-local-use-sudo-or-chown) and this seems too 'loose' for my liking.
The recommendation is to perform a 'make install' as a user with elevated authority.
I am curious what others think.
My proposal would be that we provide a 'zopen clone' function, but that it doesn't run the entire 'clone' job under sudo, but instead would sudo to a particular user for just the minimum sequences required.
I am thinking:
$HOME/usr/local/zopen
) with standard authoritysudo mv /usr/local/zopen /usr/local/backup
sudo mv $HOME/usr/local/zopen /usr/local/zopen
sudo chown OWNER:GROUP /usr/local/zopen
Beta Was this translation helpful? Give feedback.
All reactions