🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Johannes Schauer Marin Rodrigues Wed, 07 Oct 2026 16:10
Bug#1150251: kill: non-zero exit despite kill syscall succeeding
#61
Author: Johannes Schauer Marin Rodrigues
Date: Wed, 07 Oct 2026 16:10
48 lines
3255 bytes
Package: procps
Version: 2:4.0.7-1
Severity: normal
Tags: patch upstream
Control: block #1141078 by -1

Hello procps maintainers,

my package mmdebstrap has its autopkgtest failing because when sending a signal
to a process group using a negative pid, kill will exit with a non-zero exit
status even if the system call succeeds.

Here is the failure of the autopkgtest in salsaci:

https://salsa.debian.org/debian/mmdebstrap/-/jobs/10435775

And here on ci.debian.net:

https://ci.debian.net/packages/m/mmdebstrap/testing/armhf/76490131/

In both cases, the sigint-during-customize-hook test of mmdebstrap fails at the
point where /bin/kill (so definitely not kill from the shell) is sending a
SIGINT to a negative process. Since the script is run with set -e, it fails at
that point.

I reported the issue upstream here 3 weeks ago:

https://gitlab.com/procps-ng/procps/-/work_items/438

Luckily, upstream was very quick with fixing this with this commit in the
master branch:

https://gitlab.com/procps-ng/procps/-/commit/a4632f5cc97815a56b1afb9c294e2038cfb35b68

Thus, I'm tagging this bug with "upstream" as well as "patch".

This bug blocks #1141078 which is about the mmdebstrap autopkgtest failing.

Please consider either asking upstream for another release containing the fix
or backporting the fix from upstream to the version in Debian until a new
upstream release happens.

Since this bug is blocking my package mmdebstrap from transitioning to testing
I also would offer an NMU with this change if you are currently short on time.

Thanks!

cheers, josch
Bug#1150251: kill: non-zero exit despite kill syscall succeeding
#836
Author: Johannes Schauer Marin Rodrigues
Date: Wed, 14 Oct 2026 11:20
56 lines
4217 bytes
--===============8778851919914697545==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi Craig,

Quoting Johannes Schauer Marin Rodrigues (2026-10-07 17:31:21)
> my package mmdebstrap has its autopkgtest failing because when sending a =
signal
> to a process group using a negative pid, kill will exit with a non-zero e=
xit
> status even if the system call succeeds.

I just noticed that you seem to be also the upstream contact for procps!

Could you give me an estimate about a rough timeframe in which either a new
procps release can happen or the patch you commited to procps git (thanks)
could be backported to procps in Debian?

I am wondering whether I should add a random patch to the test such that it
ignores the non-zero exit for now or whether I should wait for procps to get
fixed?

The problem is not only in the mmdebstrap autopkgtest job but also in the
jenkins job. The only test that fails is the one that calls kill with a
negative PID:
https://jenkins.debian.net/job/mmdebstrap-jenkins-worker/1554/console

Thanks!

cheers, josch
--===============8778851919914697545==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmrPYqEACgkQ8sulx4+9
g+HN9BAAswtjOgmjDh5EwH3xxZNOW95UUXjfG8elrjbMbJ/6xXlSc5tPOf3aN26t
AA/McFP7weoYbKWOl3Yd9YN+/zGMRgA5xE7/L1d0mB4WPSlYozCJ+JENRTecNMFx
YPcZCp2X8U/s2J4sVNOQ38oWH/K9MmpPKGiCE67Dei6oBYb1Wjkw3LzKC76dkwql
7UfxI4sZNRDLUI7xH45Cfe/CPdTH4Gwtgc3QcT6nZq2syeCQ30YgZt2A/daYR3j2
ULlZ7n3qcmYo1oJn9ydtSe9oGoTHRfT8p532U/dL0ZLBBexKl7XurxtR2bJT02oL
G0RdBBj8i2Ucx5U4ivlt1hvak8+lrv0JBDvSpwWrAh8p4VR5et6XLHVUQKXH1aYU
wOxB218saV/YyArcxpkO2gQize1CI4T5ekidWMZsm/suyK2V1+YcVp5FFEtcYafC
JWJaMZ80uPMpj0qiCzuR7TbV/xqXChNDRjt8ShWi3Hf9zA0xrusnVU3w5GspjG6y
1ipLrvHzX5Gun8hk/GomWrqw0ILlOyWgOMHnZOOA3zUGN66GfnTVBeo5vr5pfr2S
SD6FnbhLcv8SBx6AbW849EZk0lhXS2F6J8MXJoIcwkWa1h/jEzDJ4vHXoyD5+tCO
yT3HDoQ/Vwt06xD34/pR2jLTjJtAXQkjqPmbBX+ubJQp/Fn3fFg=
=46M8
-----END PGP SIGNATURE-----

--===============8778851919914697545==--
Bug#1150251: kill: non-zero exit despite kill syscall succeeding
#2960
Author: Craig Small
Date: Mon, 02 Nov 2026 07:50
38 lines
4455 bytes
--00000000000027ad1c065f463cec
Content-Type: text/plain; charset="UTF-8"

On Mon, 2 Nov 2026 at 11:20, Johannes Schauer Marin Rodrigues <
josch@debian.org> wrote:

>
> since the problem is still open nearly four weeks after opening this bug
> and
> since this blocks development on my package mmdebstrap due to its failing
> autopkgtest I propose to NMU procps with the changes found in this MR:
>
All good to do that. I'm getting an upstream release close, but it will
have to have the last few changes and then off to translators.
It will probably be about 2 weeks away, so NMU this in the meantime.

 - Craig

--00000000000027ad1c065f463cec
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Mon, 2 Nov 2026 at 11:20, Johannes Sch=
auer Marin Rodrigues &lt;<a href=3D"mailto:josch@debian.org">josch@debian.o=
rg</a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container"><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><br>
since the problem is still open nearly four weeks after opening this bug an=
d<br>
since this blocks development on my package mmdebstrap due to its failing<b=
r>
autopkgtest I propose to NMU procps with the changes found in this MR:<br><=
/blockquote><div>All good to do that. I&#39;m getting an upstream release c=
lose, but it will have to have the last few changes and then off to transla=
tors.</div><div>It will probably be about 2 weeks away, so NMU this in the =
meantime.</div><div><br></div><div>=C2=A0- Craig</div><br></div></div>

--00000000000027ad1c065f463cec--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads