killall does not find processes with names longer than 15

Bug #1827467 reported by Sven Hartrumpf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
psmisc (Debian)
Fix Released
Unknown
psmisc (Ubuntu)
Triaged
Low
Unassigned

Bug Description

The error message is "no process found". If I shorten the name of the binary to 15 characters, killall works as before. The change was introduced by Ubuntu 19.04.

Example:
 # server_with_16ch &
 # killall server_with_16ch
server_with_16ch: no process found

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it has been reported to Debian as well and seems a side effect of kernel changes, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912748 has some details

Changed in psmisc (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks like it was fixed upstream with https://gitlab.com/psmisc/psmisc/commit/1188315c

It might be worth writing to <email address hidden> to ask them if they would consider backporting that patch

Changed in psmisc (Ubuntu):
status: Triaged → Fix Committed
Changed in psmisc (Debian):
status: Unknown → New
Revision history for this message
Sven Hartrumpf (hartrumpf) wrote :

To which version of psmisc should the patch be backported?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The current one, 23.2-1

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I don't think this is fix committed in ubuntu. Eoan still has 23.2-1, and the fix was applied to 23.4, and there are no patches applying that gitlab commit.

Moving the ubuntu task status back to triaged. If I missed something, please let me know :)

Changed in psmisc (Ubuntu):
status: Fix Committed → Triaged
Changed in psmisc (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.