Your message dated Sun, 08 Nov 2020 21:58:19 +0800
with message-id <[email protected]>
and subject line Re: Bug#973561: sysvinit-utils: the pidof program doesn't 
find, processes in the 'D' state
has caused the Debian Bug report #973561,
regarding sysvinit-utils: the pidof program doesn't find processes in the 'D' 
state
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.)


-- 
973561: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973561
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit-utils
Version: 2.96-5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I tried to get a pid of a running 'dd' process.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I typed pidof dd.

   * What was the outcome of this action?
It returned nothing.

   * What outcome did you expect instead?
The pidof program should report the pid of the running dd process.

*** End of the template - remove these template lines ***




How to reproduce:

Run dd, for example:
dd if=/dev/vdb of=/dev/null bs=1M iflag=direct status=progress

On another terminal, run "pidof dd" - it reports nothing.
If you stop the 'dd' process with Ctrl-Z, "pidof dd" returns its pid correctly.
If you resume it with "fg", "pidof dd" returns nothing.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 5.10.0-rc1 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages sysvinit-utils depends on:
ii  libc6     2.31-4
ii  lsb-base  11.1.0

sysvinit-utils recommends no packages.

sysvinit-utils suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Jesse Smith <[email protected]> writes:

> The behaviour described, pidof not seeing processes in the "D" state,
> is expected, correct, and documented in the pidof manual page. As it
> says in the manual page, if yo uwant to see processes which are
> uninterruptable or zombies then it is required to pass the "-z"
> command line flag.

Thanks, Jesse.  I think we can close this bug.

And thank you, Mikulas.  Don't hesitate to submit more bug reports.

Cheers,
Benda

--- End Message ---

Reply via email to