🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1131986: procps: [kill] PGID parsed as signal after '--' option delimiter

#112
From: Johannes Schauer Marin Rodrigues
Date: Thu, 08 Oct 2026 06:10
62 lines
3971 bytes
--===============3788700713572207432==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Control: forwarded -1 https://gitlab.com/procps-ng/procps/-/work_items/437

Hi,

this sounds like this upstream bug:
https://gitlab.com/procps-ng/procps/-/work_items/437

I think this upstream commit may have broken it: ac89d63c

I used to run:

    $ /bin/kill --signal INT -- "-$pgid"

And for now, as a workaround, I am now running:

    $ /bin/kill -INT "-$pgid"

What I originally had used two well-known conventions when passing options =
to
CLI tools:

 * long option names (for readability) with option arguments instead of long
   options starting with a single dash-only.
 * separating positional from non-positional arguments with a double-dash to
   avoid interpreting positional options starting with a dash as non-positi=
onal

This interface used to work before ac89d63c, so I'd call this a regression.
Reading the commit message it was probably not intentional?

Thanks!

cheers, josch
--===============3788700713572207432==
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+EFAmrHMqUACgkQ8sulx4+9
g+Eorg/7B8CpPw9Jw6ygH6SmIQVXyNS7AR5buaXpXSeBqvLqr/xp85jH4kW9w5Kb
8uuUlL5TbhzarjYoAVREkN6WSbA4l3IMfdpa8FxkzWxZMB0SG/XeTucj2J2flDaW
6nlYrxNE+TIKuGLtakASvq1pOxXnTKxEfRJp/a5HA971wtRXeJLVKTRp5VlOX2/P
VaSF9Hi8xI9HOGz/S/muIj74XcDLIBAh33T7Cy46Sva6Wjtg41pH7XBchbcB+D4h
/0HOBGuvUnj704HEO4tkbs6+BcyNRaSWoW2CGnC9Y6YPgNW0RmMDq+h0Mjrzl0aW
YOOf/l9NJDXQhMoHHG9MboPAHGm3oJKruUeIHTqvPYcIdRrmpcIvpDmNr91mE7bX
2Pft89BvyMCJzS5vKtB+NmfgxjUKVMo6iAg/lqgqg3gRbHe3aP3ZAah0iwnRd7ze
vF9vdKlsuHHxnSHJwaIKzvS/ujHAs0fY9a3HxdS1Fx+DKxvyYyK1eIGcTvIdyWOf
DKTMSSr7ovShADCiVox+a2GaTz8kBQwLEsDlSH6yP/m9CULXYikAgLM93LfSWweL
VJuWitErzixS6LK5JFo5eLXFAcPYExILFaLWcCwsyJrWf/e5m4v0rkTFqdski74h
BoaW2bTcPrGENsC/WXl10eBmxYDQYWD6lI7TeLYwSA2xztQaVbY=
=8axq
-----END PGP SIGNATURE-----

--===============3788700713572207432==--
Technical Details
Message-ID: <NLPuh-4dxt-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <MCUOJ-asCm-15@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1131986: procps: [kill] PGID parsed as signal after '--' option delimiter
Date: Thu, 08 Oct 2026 08:10:01 +0200
Message-ID: <NLPuh-4dxt-1@gated-at.bofh.it>
References: <MCUOJ-asCm-15@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 06:07:07 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>, 1131986@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: csmall@debian.org
X-Debian-Pr-Message: followup 1131986
X-Debian-Pr-Package: procps
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: procps
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============3788700713572207432=="
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: alot/0.0.0
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995662
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 62
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 08 Oct 2026 08:05:29 +0200
X-Original-Message-ID: <179143952945.21057.1634110742298121298@localhost>
X-Original-References: <177453882249.166391.17910332060807648136.reportbug@a823b0fab3c6>