Package: procps Version: 2:4.0.4-9 Severity: normal Tags: upstream X-Debbugs-Cc: [email protected]
Dear Maintainer, According to the man page for kill it should parse any argument after `--` as pid|name, however running /bin/kill -- -4 displays the usage output, as it parses the -4 as a signal number, and is missing a PID argument. This may occur when attempting to kill a process group inside a container, e.g., unshare -Ufp setsid -w sleep 30 & /bin/kill -- -$! I would expect this to kill the group with the sleep process, but this displays the usage output. Instead, running /bin/kill -- -TERM -$! works as you would expect. This issue does not occur if the PGID is above 93, since that is no longer interpreted as a signal. This does not seem related to the patch handling negative PIDs before the `--` occurs. -- System Information: Debian Release: 13.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: arm64, i386 Kernel: Linux 6.19.8-arch1-1 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages procps depends on: ii init-system-helpers 1.69~deb13u1 ii libc6 2.41-12+deb13u1 ii libncursesw6 6.5+20250216-2 ii libproc2-0 2:4.0.4-9 ii libsystemd0 257.9-1~deb13u1 ii libtinfo6 6.5+20250216-2 Versions of packages procps recommends: pn linux-sysctl-defaults <none> ii psmisc 23.7-2 procps suggests no packages. -- no debconf information

