Comment 6 for bug 667815

Revision history for this message
Steve Langasek (vorlon) wrote :

I have confirmed this fix. Before upgrade, trying to attach to a process with gdb as non-root fails with 'ptrace: Operation not permitted.' After upgrade, it instead outputs the full explanation:

 Could not attach to process. If your uid matches the uid of the target
 process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
 again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
 ptrace: Operation not permitted.

If I set kernel.yama.ptrace_scope=0, gdb still works correctly with no errors. Likewise, it works fine when attaching as root.

Marking verification-done, copying to -updates.