Your message dated Mon, 9 Jul 2018 22:13:46 +1000
with message-id
<caly8cw4jtvzta-jwfpok493hzaozaxub3ng2gau7jeomvbx...@mail.gmail.com>
and subject line Re: Bug#903008: procps does not show existing process
has caused the Debian Bug report #903008,
regarding procps does not show existing process
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.)
--
903008: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903008
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:3.3.15-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
The following process is running on my machine:
$ ps -ef|grep qemu|grep -v grep
user 28971 28635 0 Jul04 pts/0 00:01:32 qemu-system-x86_64 -enable-kvm
-display vnc=localhost:0 -hda newcd-qemu.qcow2 -cdrom newcd-qemu.iso -m 1G
-boot once=d
It is shown as follows by ps from procps version 2:3.3.14-1+b1:
$ ps h -fC qemu-system-x86_64
user 28971 28635 0 Jul04 pts/0 Sl+ 1:32 qemu-system-x86_64
-enable-kvm -display vnc=local
Then I upgrade procps to version 2:3.3.15-2 and see an _empty_ output with the
same command:
$ ps h -fC qemu-system-x86_64
<empty output>
Of course, qemu process is still running:
$ ps -ef|grep qemu|grep -v grep
user 28971 28635 0 Jul04 pts/0 00:01:32 qemu-system-x86_64 -enable-kvm
-display vnc=localhost:0 -hda newcd-qemu.qcow2 -cdrom newcd-qemu.iso -m 1G
-boot once=d
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/4 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 /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages procps depends on:
ii init-system-helpers 1.51
ii libc6 2.27-3
ii libncurses6 6.1+20180210-2
ii libncursesw6 6.1+20180210-2
ii libprocps7 2:3.3.15-2
ii libtinfo6 6.1+20180210-2
ii lsb-base 9.20170808
Versions of packages procps recommends:
ii psmisc 23.1-1+b1
procps suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu, 5 Jul 2018 at 10:54 Igor Liferenko <[email protected]> wrote:
> Justification: renders package unusable
>
Actually, its not even close to unusable.
> $ ps h -fC qemu-system-x86_64
> <empty output>
>
> The issue is you are asking for qemu-system-x86_64 but the command name is
qemu-system-x86
Previous versions of procps truncated this filter at 16 characters, but the
command name can be longer in more recent kernels. So as a side-effect in
older procps versions was it was matching, even though it shouldn't have.
It's matching on the COMMAND field, not the first part of the CMD field
$ ps -o pid,comm,cmd -C qemu-system-x86_64
PID COMMAND CMD
$ ps -o pid,comm,cmd -C qemu-system-x86
PID COMMAND CMD
1885 qemu-system-x86 qemu-system-x86_64 -enable-kvm -name
guest=Webserver,debug
--
Craig Small https://dropbear.xyz/ csmall at : dropbear.xyz
Debian GNU/Linux https://www.debian.org/ csmall at : debian.org
Mastodon: @[email protected] Twitter: @smallsees
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
--- End Message ---