Package: strace
 Version: 4.5.17+cvs080723-2
 Severity: normal

I just investigated why strace doesn't anymore handle its arguments
according to what its manual page states:
"Multiple -p options can be used to attach to up to 32 processes in
addition to command (which is optional if at least one -p option is
given)."

According to strace Changelog this was broken in Lenny and later to
"fix" a Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361302

Bug 361302 is invalid.  It's completely valid, documented behavior and
useful to ask strace to start tracing a new command execution while
monitoring what that causes in already running processes.

Only thing strace needs to do is check whether the first argument that
doesn't start with "-" corresponds to a runnable command in the path.
Any other arguments after that should go to that command.  This is how
numerous other tracing and other programs (like valgrind, xterm etc)
work.

PS. Manual page could be updated a bit too.  Strace doesn't anymore
have the 32 process limit.  :-)


-- System Information:
Debian Release: 5.0.3
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages strace depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

strace recommends no packages.

strace suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to