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

tmc-sandbox: ptrace: Operation not permitted #477

Open
kimmoal opened this issue Feb 15, 2018 · 2 comments
Open

tmc-sandbox: ptrace: Operation not permitted #477

kimmoal opened this issue Feb 15, 2018 · 2 comments

Comments

@kimmoal
Copy link

kimmoal commented Feb 15, 2018

Getting Running the submission failed in Submission logs:

[0.400874] Checking that ptrace can change system call numbers...Core dump limits :
[0.400931] 	soft - NONE
[0.400944] 	hard - NONE
[0.401052] ptrace: Operation not permitted
[0.401247] check_ptrace : expected SIGSTOP, got status = 9

Changing tmc-sandbox capabilities in docker-compose-dev.yml:

cap_add:
      - SYS_PTRACE

seems to fix the issue. Maybe the default capabilities have changed in the newer docker versions.
Platform:

Docker version 17.12.0-ce, build c97c6d6
docker-compose version 1.19.0, build 9e633ef
Linux hostname 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux
@nygrenh
Copy link
Member

nygrenh commented Feb 15, 2018

Feel free to create a pull request for this.

@kimmoal
Copy link
Author

kimmoal commented Feb 15, 2018

Ok, will do

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

2 participants