-
Notifications
You must be signed in to change notification settings - Fork 73
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
SELinux: Could not open policy file #56
Comments
Hey Yiannis, Did you solve this issue? |
Hi there, no I haven't managed to solve it :( Thanks! |
Hi @YiannisGkoufas! Thanks for filing this issue. Would you mind testing again? I'm hoping that your issue is solved by 60ad15c |
@greggomann It seems to work for me. I no longer get the SELinux error. |
@greggomann this doesn't work for me on a CoreOS host
|
@PHPCEO thanks for the report! I've tested with 0.28.x releases in Ubuntu environments, so something must be going on in CoreOS. Are you getting the same SELinux error shown above? Could you provide a little more info on your environment? I'll try some testing on CoreOS tomorrow. Thx!! |
@PHPCEO how exactly were you attempting to build on CoreOS? You were building in a container I imagine? I need a bit more information about your environment in order to reproduce. |
@greggomann so sorry for the delay and thank you for the prompt response! I was building on CoreOS running in xhyve on my work laptop, which is running OSX 10.11.6. I tried disabling selinux in the guest OS to no avail. I believe I did get it running, though. I'll add more info later today! |
Ok, so I was just running make images , e.g.: When I tried to run the slave image, I get this error:
What I ultimately wound up doing was modifying the Dockerfile such that we install selinux and systemd on the 14.04 image. I also found that I needed to launch the slave omitting the link from /usr/local/bin/docker to /usr/local/bin/docker and with the flag --launcher=posix, which worked :).
|
did this ever get solved? |
Hi there,
I am using RHEL 7 and the mesos-master works fine.
However when I launch the mesos-slave I get the error:
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
Failed to create a containerizer: Could not create DockerContainerizer: Failed to create docker: Failed to get docker version: Failed to execute 'docker -H unix:///var/run/docker.sock --version': exited with status 127
Can someone please give me a hint on what's wrong?
I started trying different versions of the images and the only one working was the first one (0.19.1)
Thanks a lot!
The text was updated successfully, but these errors were encountered: