Skip to content

tmc-sandbox: ptrace: Operation not permitted #477

@kimmoal

Description

@kimmoal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions