Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Allow gdb inside container in AWS dev environments #247

Open
fredemmott opened this issue Oct 23, 2020 · 3 comments
Open

Allow gdb inside container in AWS dev environments #247

fredemmott opened this issue Oct 23, 2020 · 3 comments

Comments

@fredemmott
Copy link
Contributor

This will be a change to the docker seccomp profile, which is currently customized:

warning: Error disabling address space randomization: Operation not permitted
warning: Could not trace the inferior process.
warning: ptrace: Operation not permitted

Currently attempting to workaround by commiting the container, then restarting with unconfined seccomp profile

@jjergus
Copy link
Contributor

jjergus commented Oct 29, 2020

Is this about https://github.com/hhvm/packaging/blob/master/aws/ondemand/facebook/hhvm/seccomp.json ?

My intention with that was to make it less restrictive (I couldn't run HHVM tests without it), not more restrictive/secure (there's no reason for that since it's not a shared machine). If I accidentally made it more restrictive we should fix that.

@jjergus
Copy link
Contributor

jjergus commented Oct 29, 2020

I just copypasted that file from the first search result for the error message I was getting :P

@fredemmott
Copy link
Contributor Author

The current config is less restrictive than default, but still too restricted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants