Public bug reported:

Binary package hint: strace

Maverick made a policy change so that attaching to processes is not
allowed by default.  That's fine.  However, it's a bit strange that
strace just exits 0 (with a message to stderr) when ptrace fails.

The manpage says

       When using -p, the exit status of strace is  zero  unless  there
       was an unexpected error in doing the tracing.

and istm this is such a case.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: strace 4.5.20-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
Date: Tue Aug 31 13:44:24 2010
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.utf8
 SHELL=/bin/zsh
SourcePackage: strace

** Affects: strace (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
return code 0 when failing to ptrace
https://bugs.launchpad.net/bugs/627208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to