Public bug reported:

Hello-

In Ubuntu 18.04.1 LTS, we have psmisc version 23.1. In this version, the
default for "killall" is to kill processes in the current namespace
only, and this causes killall to attempt to read /proc/$pid/ns/pid for
every process. If a process is privileged (setuid, or has capabilities
granted), then /proc/$pid/ns is not readable and killall is not able to
match this process. So e.g. "killall ping" fails to kill anything even
if a ping is running. It seems that psmisc may have recognized this
issue, as in 23.2 the default was changed back to killing in all
namespaces and not trying to read the namespace information from /proc.
In the meantime, killall requires the "-n 0" argument as a workaround.

This issue is pretty impactful, at least for us, as it requires finding
all instances of killall and adding the extra argument... is it possible
to get psmisc version upped to 23.2? Thanks...

-Lewis

** Affects: psmisc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790732

Title:
  killall unable to find privileged processes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/1790732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to