You are here    Forums    General discussion    Regarding ptrace_scope fatal error nl sv ru pl es de fr

The forum

Regarding ptrace_scope fatal error

Author Replies
GNU_Raziel Sunday 26 May 2013 at 13:12

Since many users seems to do not understand PoL/PoM messages, here is a clarification about a particular fatal error :
Fatal: Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0

This error occur because some distro, including Ubuntu, use an extra and paranoïd kernel security that make some non-native games/softwares to not work

To get rid of the problem, you will have to use this root command in a terminal :

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

This solution is ok until reboot so not good for daily usage.

For a more permanent solution edit /etc/sysctl.d/10-ptrace.conf as root and set this option :

kernel.yama.ptrace_scope = 0

Hope this should help.

Edited by GNU_Raziel