Package: strace
Version: 4.5.20-2.3
Severity: normal

The strace(1) man page says:

  -p pid    Attach  to  the  process with the process ID pid and
            begin tracing.  The trace may be terminated  at  any
            time   by  a  keyboard  interrupt  signal  (CTRL-C).
            strace will respond by  detaching  itself  from  the
            traced  process(es)  leaving  it  (them) to continue
            running.  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).

but it no longer works due to a new kernel security feature
(assuming /proc/sys/kernel/yama/ptrace_scope is set to 1).

Since strace is a debugging tool, it should start with higher
privileges (and drop them when possible) so that ptrace can be
used, as documented in the man page.

Note: the experimental version is currently broken (bug 702309),
that's why I report the problem against unstable.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages strace depends on:
ii  libc6  2.17-5

strace recommends no packages.

strace suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to