geodynamics / pylith_installer

Installer code for PyLith.
MIT License
7 stars 8 forks source link

Add info on how to set ptrace setting in development environment container #34

Closed baagaard-usgs closed 3 years ago

baagaard-usgs commented 3 years ago

docker run -ti --rm -u root registry.gitlab.com/cig-pylith/pylith_installer/pylith-devenv /bin/bash
# Verify ptrace setting needs updating
cat /proc/sys/kernel/yama/ptrace_scope
# If output is 1, then continue, if 0 then no need to change anything.

# Verify ptrace setting
cat /etc/sysctl.d/10-ptrace.conf
# Output should be 0

service procps restart

# Verify setting has changed
cat /proc/sys/kernel/yama/ptrace_scope
# Output should be 0