From nobody@FreeBSD.org  Wed Mar  7 10:31:04 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4627D106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Mar 2012 10:31:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 30D5D8FC1F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Mar 2012 10:31:04 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q27AV3lS008510
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Mar 2012 10:31:03 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q27AV38e008509;
	Wed, 7 Mar 2012 10:31:03 GMT
	(envelope-from nobody)
Message-Id: <201203071031.q27AV38e008509@red.freebsd.org>
Date: Wed, 7 Mar 2012 10:31:03 GMT
From: Salimane Adjao Moustapha <me@salimane.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kill doesn't terminate a process group with the command "kill -- -117" (from man kill)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165811
>Category:       bin
>Synopsis:       kill(1) doesn't terminate a process group with the command "kill -- -117" (from man kill)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 07 10:40:09 UTC 2012
>Closed-Date:    Wed Mar 07 18:25:49 UTC 2012
>Last-Modified:  Wed Mar 07 18:25:49 UTC 2012
>Originator:     Salimane Adjao Moustapha
>Release:        FreeBSD 8.1-RELEASE
>Organization:
7k7k.com
>Environment:
FreeBSD Fb-bj162 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
man kill says :

Terminate the process group with PGID 117:

  kill -- -117

but running it gives error :

  > kill -- -117
  -: Unknown signal; kill -l lists signals.
>How-To-Repeat:
create a process which have some children processes attached to it
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jh 
State-Changed-When: Wed Mar 7 18:20:23 UTC 2012 
State-Changed-Why:  
Salimane Adjao Moustapha wrote: 
> Terminate the process group with PGID 117: 
> 
>            kill -- -117 
> 
> 
> but running it gives error : 
> 
>  >kill -- -117 
>  -: Unknown signal; kill -l lists signals. 

It looks like you used a shell built-in kill. If you still have the 
problem when using explicitly /bin/kill, let us know. 

> kill -- -117 
-: Unknown signal; kill -l lists signals. 
> /bin/kill -- -117 
kill: -117: No such process 
> 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165811 
>Unformatted:
