[Pkg-ganeti-devel] Bug#894917: procps: pgrep -u UID segfaults

Paul Gevers elbrus at debian.org
Thu Apr 5 14:01:53 UTC 2018


Source: procps
Version: 2:3.3.13-1
Severity: serious
Justification: breaks other packages use of pgrep
User: ci-team at tracker.debian.org
Usertags: triggers
Control: affects -1 ganeti
Control: affects -1 gearmand

Dear Craig,

Triggered by the regressions in the autopkgtests of ganeti¹ and
gearmand² for the procps/2:3.3.13-1 trigger, I tried to investigate a
bit what those packages were doing.

I discovered that ganeti is using "pgrep -u UID" and processes the exit
code. However, when I run "pgrep -u 10000" with the latest version of
procps it segfaults. The version in buster is fine.

paul at testavoira ~ $ pgrep -V
pgrep from procps-ng 3.3.12
paul at testavoira ~ $ pgrep -u 10000 ; echo $?
1

(pbuild19122) testavoira cacti-1.1.37+ds1 # pgrep -V
pgrep from procps-ng 3.3.13
(pbuild19122) testavoira cacti-1.1.37+ds1 # pgrep -u 10000 ; echo $?
Segmentation fault
139

Not sure what gearmand is doing, but it may be the same.

I used the severity serious to give you time to solve the issue before this
version migrates to buster.

Paul

¹ https://ci.debian.net/packages/g/ganeti/testing/amd64/
² https://ci.debian.net/packages/g/gearmand/testing/amd64/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ganeti-devel/attachments/20180405/b5354bef/attachment.sig>


More information about the Pkg-ganeti-devel mailing list