[CentOS] strace issue in 5.5?

Sun Feb 20 12:34:01 UTC 2011
James Pearson <james-p at moving-picture.com>

Eric Gerzon wrote:
> Hello,
> 
> I am trying to get some more information about the following issue:
> 
> # strace -p 2256
> attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
> 
> I am trying to trace an mdadm re-sync pid and I keep getting the above
> error.

I believe the MD re-sync process is actually a kernel thread - and you 
can't strace kernel threads.

James Pearson