Bug#926896: sysvinit-utils: pidof is unreliable

Witold Baryluk witold.baryluk at gmail.com
Tue Apr 16 20:09:16 BST 2019


Package: sysvinit-utils
Version: 2.93-8
Followup-For: Bug #926896

Hi Dmitry,

I tested 'dd if=/dev/urandom of=/dev/null' and it works.
Both when dd is running under normal user and as root.
And when pidof is running as normal user and as root.
(it also works when dd is run as root, and pidof as normal user,
because relevant data is still in procfs and in ps aux).

It also works fine with 'bs=64k'

Weird.

I will try to test it again with different if/of.

Thanks for checking.


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

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sysvinit-utils depends on:
ii  init-system-helpers  1.56+nmu1
ii  libc6                2.28-8
ii  util-linux           2.33.1-0.1

sysvinit-utils recommends no packages.

sysvinit-utils suggests no packages.

-- no debconf information




More information about the Debian-init-diversity mailing list