Your message dated Wed, 16 Oct 2024 00:07:19 +0200
with message-id 
<ca+6xhwtddy8wxxctzfr4qjpl-jbmuoccda1cxi05be3fvrd...@mail.gmail.com>
and subject line Re: Bug#176376: strace: -z option doesn't work properly
has caused the Debian Bug report #176376,
regarding strace: -z option doesn't work properly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
176376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=176376
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: strace
Version: 4.4.91-1
Severity: normal

Firstly the -z option is only documented in the changelog.gz not in the man
page.

Next it doesn't work properly, here's output without -z:
brk(0x804d000)                          = 0x804d000
rmdir("/boot")                          = -1 EACCES (Permission denied)
write(2, "rmdir: ", 7)                  = 7
write(2, "`/boot\'", 7)                 = 7
write(2, ": Permission denied", 19)     = 19
write(2, "\n", 1)                       = 1
exit_group(1)                           = ?

Here's with -z:
brk(0x804d000)                          = 0x804d000
rmdir("/boot")                          = 7
write(2, "`/boot\'", 7)                 = 7
write(2, ": Permission denied", 19)     = 19
write(2, "\n", 1)                       = 1
exit_group(1)                           = ?

Also an option to display only failing system calls would be really handy too.
So many programs just say "couldn't access file" (or some lame message) and
exit on errors.  I have to strace them and look for which system call fails.
Generally there's no good way of grepping for a failed system call so I have
to read huge amounts of it.  Just displaying a list of failed system calls
would really help.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux lyta 2.4.20-se-r #1 Mon Dec 16 19:48:46 CET 2002 i686 
unknown unknown GNU/Linux

Versions of the packages strace depends on:
ii  libc6          2.3.1-9        GNU C Library: Shared libraries and Timezone


--- End Message ---
--- Begin Message ---
Version: 5.5-1

On Thu, 3 Oct 2019 05:22:09 +0300 "Dmitry V. Levin" <[email protected]> wrote:
>
> The -z option is properly implemented since strace 5.2.
>

--- End Message ---

Reply via email to