🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #61

Bug#1150251: kill: non-zero exit despite kill syscall succeeding

#61
From: 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
Technical Details
Message-ID: <NLCno-46Em-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150251: kill: non-zero exit despite kill syscall succeeding
Date: Wed, 07 Oct 2026 18:10:02 +0200
Message-ID: <NLCno-46Em-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct  7 16:01:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Johannes Schauer Marin Rodrigues <josch@debian.org>, 1150251@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: csmall@debian.org
X-Debian-Pr-Message: report 1150251
X-Debian-Pr-Package: procps
X-Debian-Pr-Keywords: patch upstream
X-Debian-Pr-Source: procps
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995573
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 48
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 07 Oct 2026 17:31:21 +0200
X-Original-Message-ID: <179138708191.619297.16298303256112377655.reportbug@localhost>