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

Generated Seccomp profile rejects clone syscall on s390x. #699

Closed
dbenoit17 opened this issue Oct 21, 2019 · 0 comments · Fixed by #700
Closed

Generated Seccomp profile rejects clone syscall on s390x. #699

dbenoit17 opened this issue Oct 21, 2019 · 0 comments · Fixed by #700

Comments

@dbenoit17
Copy link
Contributor

The s390x architecture requires an extra seccomp masked_eq rule to allow clone syscalls. This rule is present in cri-o's default configuration, but is missing in the configuration generated by opencontainers/runtime-tools. This causes syscalls to clone to be rejected by seccomp in cri-o subsystems which utilize this generated seccomp profile.

This issue affects the ose-pod container in openshift. When cri-o tries to instantiate /usr/bin/pod on s390x during the openshifft bootstrap, there is a clone syscall in the golang runtime startup which fails with a Permission Denied error. This prevents containers from being instantiated by the bootstrap kubelet, causing the openshift bootstrap to fail.

mrunalp pushed a commit that referenced this issue Jan 21, 2020
Add missing clone rule for s390x. Fixes #699
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

Successfully merging a pull request may close this issue.

1 participant