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

Edit build files to include non-root users, and options to choose install locations #99

Open
ireed opened this issue Apr 24, 2023 · 4 comments

Comments

@ireed
Copy link

ireed commented Apr 24, 2023

In its current form, Moonray can only be installed and used by admins. At the moment, root access is a hard requirement for both building and executing Moonray. This is an unreasonable demand, as many users may not have admin access to their production machines - in fact, that is probably closer to the norm. Furthermore, the build instructions do not allow users to install moonray in non-root folders. All files are hard-coded to install into either the root home directory, or /install. Users should be able to do a local install, or at least be able to choose a different directory. Other than the yum commands, there appears to be nothing in the install or execution procedures that cannot be done as a non-root user.

@rgwilson68
Copy link
Contributor

What specifically is failing when you try to install as a non-root user?

@ireed
Copy link
Author

ireed commented Apr 25, 2023

I dont understand your question. Based on the installation instructions, a non-root user cannot make it past step 1. But, even ignoring the yum install commands, the app is installed in the root directory, while supplemental files+libs are in /install. These directories are hard-coded into the makefiles.

@kjeffery
Copy link

Hi @ireed ! I have encountered the same problem when building OpenMoonRay in different environments. I am going to see if we can improve this process.

@ireed
Copy link
Author

ireed commented Jul 27, 2023

@kjeffery There are ways around these issues, but it requires fairly advanced sysadmin knowledge such as doing local rpm installs instead of the yum commands, as well as building the moonray directory structures in user-space. I could make a very long post about the procedures, if enough people find it useful.

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