brent saner via plug on 10 Jun 2024 18:19:22 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] root "pkill: killing pid * failed: Operation notpermitted"


On Sat, Jun 8, 2024, 15:10 Alan D. Salewski via plug <plug@lists.phillylinux.org> wrote:
On Sat, Jun 8, 2024, at 12:55, brent saner via plug wrote:
[...]
> As JP says in the OP, SELinux is disabled.
>
> JP, I'd first try what Steve suggested- a kill -9 or pkill -9 (SIGKILL
> instead of SIGTERM).
>
> If that doesn't work, ps auxf and grep for the process, and check the
> process state. It may be zombie'd (Z), which in some cases (notably, it
> spawned from PID 1) won't clear without rebooting the machine.

Check for 'D' ("uninterruptible sleep"), too[0].

FWIW, from recollection, I *think* D can just hang/block on the signal, not return a EPERM (assuming root).
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug