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

folder /opt need to set executable, otherwise omiserver cannot run execve #605

Open
JumpingYang001 opened this issue Dec 6, 2018 · 3 comments

Comments

@JumpingYang001
Copy link
Contributor

JumpingYang001 commented Dec 6, 2018

one customer report omi did not start.
in omiserver.log:
/opt/omi/bin/omiserver: Launch failed: 13

Root cause:
folder /opt need to set executable, otherwise omiserver cannot run execve

@JumpingYang001
Copy link
Contributor Author

I will new a PR to run sudo chmod +x /opt while installing omi.
@palladia any idea? thanks

@JumpingYang001 JumpingYang001 changed the title permission of files under /opt need to set executable, otherwise omiserver cannot run execve folder /opt need to set executable, otherwise omiserver cannot run execve Dec 6, 2018
@JumpingYang001
Copy link
Contributor Author

JumpingYang001 commented May 17, 2019

@microsoft/omi-devs some customer's environment's /opt folder don't have execute permission that cause omiserver cannot launch omiengine, now we have 2 options, do you think which one is better?

  • show more meaningful message when /opt don't have execute permission
  • run chmod +x /opt while installing omi.

@JumpingYang001
Copy link
Contributor Author

Check with customer today, and the problem is that their redhat OS /opt permission is 770, but official redhat permission is 755, and after change /opt permission to 771 to make other user of the folder also has execute permission, then omiserver can launch omiengine.

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

1 participant