[Bug 755886] Re: strace fails on non-child processes (regression)
Adrien Nader
755886 at bugs.launchpad.net
Thu Mar 6 10:29:45 UTC 2025
There has indeed been a behaviour change a while ago. AFAIK this has
been relaxed to allow ptracing processes of the same user so this
shouldn't be an issue anymore.
** Changed in: strace (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to strace in Ubuntu.
https://bugs.launchpad.net/bugs/755886
Title:
strace fails on non-child processes (regression)
Status in strace package in Ubuntu:
Invalid
Bug description:
Binary package hint: strace
I've long used htop to monitor processes, and I've often used its
ability to strace a process by hitting the S key. In Maverick,
however, it fails, saying "Operation not permitted." In the kernel
messages I see:
ptrace of non-child pid 3846 was attempted by: strace (pid 4117)
It used to work fine, for years. I'm wondering if AppArmor is the
culprit, although it doesn't mention AppArmor in the kernel message.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: strace 4.5.20-2ubuntu2 [modified: usr/bin/strace]
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Apr 9 18:27:18 2011
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: strace
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strace/+bug/755886/+subscriptions
More information about the foundations-bugs
mailing list