On Mon, 19 Dec 2022 at 03:54, Paul Gevers <elb...@debian.org> wrote: > With a recent upload of procps the autopkgtest of pslist fails in > testing when that autopkgtest is run with the binary packages of procps > from unstable. It passes when run with only packages from testing. In > tabular form: > The good news is the testing caught this, yay for autopkgtest!
What is happening here is that pslist is running in effect "ps axco pid,ppid,command | grep <theprogram>" It's a bit odd, asking for command and using the c option to change that to comm, far better to use comm directly. However, asking for something in a strange way should still work. Ignoring the c means the program is not called "test-pslist" but "/usr/bin/perl <path>/test-pslist" In any case, ps is ignoring the c option for the output of command. The change happened at [1] and the fix is a two-liner in ps/output.c The fix, with a test case, is already in upstream.[2] - Craig 1: https://gitlab.com/procps-ng/procps/-/commit/584028dbe513127ef68c55aa631480454bcc26bf#30867ea709c90a1563b408e4c195a7124050135d_431_278 2: https://gitlab.com/procps-ng/procps/-/commit/dd3cb0892d142e370413e1cba582d390042883e5