Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-41236

skill command does not kill processes.

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • rhel-8.10
    • procps-ng
    • None
    • None
    • Low
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      use skill to kill a process

      Please provide the package NVR for which bug is seen:

      procps-ng-3.3.15-14.el8.x86_64

      How reproducible:

      Everytime

      Steps to reproduce

      1. [root@r8 ~]# sleep 1000 &
        [1] 44464
        
        [root@r8 ~]# skill -KILL -p 44464
        
        [root@r8 ~]# ps aux | grep sleep
        root       44416  0.0  0.0   7392   836 ?        S    14:33   0:00 sleep 1000
        root       44464  0.0  0.0   7392   932 pts/1    S    14:37   0:00 sleep 1000
        root       44467  0.0  0.0  12220  1100 pts/1    S+   14:37   0:00 grep --color=auto sleep 

      Expected results

      -u <user> should kill all user process

      -p <pid> should kill that pid

      Actual results

      Nothing. Strace shows a SIGKILL is not even sent. 

              jrybar@redhat.com Jan Rybar
              rhn-support-jcastran John Castranio
              Jan Rybar Jan Rybar
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: