Bug#973561: sysvinit-utils: the pidof program doesn't find processes in the 'D' state

Mikulas Patocka mikulas at twibright.com
Sun Nov 1 20:23:58 GMT 2020


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



More information about the Debian-init-diversity mailing list