From root@rjlynn.ddns.org  Sun Dec 27 21:10:21 1998
Received: from rjlynn.ddns.org (dlls-94ppp115.epix.net [199.224.94.115])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21959
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Dec 1998 21:10:13 -0800 (PST)
          (envelope-from root@rjlynn.ddns.org)
Received: (from root@localhost)
	by rjlynn.ddns.org (8.8.8/8.8.8) id AAA00334;
	Mon, 28 Dec 1998 00:09:54 -0500 (EST)
	(envelope-from root)
Message-Id: <199812280509.AAA00334@rjlynn.ddns.org>
Date: Mon, 28 Dec 1998 00:09:54 -0500 (EST)
From: Charlie Root <root@rjlynn.ddns.org>
Reply-To: root@rjlynn.ddns.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Logout of all virtual termnials by one kill
X-Send-Pr-Version: 3.2

>Number:         9215
>Category:       bin
>Synopsis:       Logout of all virtual termnials by one 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:   Sun Dec 27 21:20:01 PST 1998
>Closed-Date:    Mon Dec 28 08:30:10 PST 1998
>Last-Modified:  Mon Dec 28 08:30:17 PST 1998
>Originator:     Charlie &
>Release:        FreeBSD 2.2.8-RELEASE i386
>Organization:
None
>Environment:

	any local virtual terminal

>Description:

	a -HUP kill to Swapper (PID 0 always) logs all virtual terminal out.
I don't know about network terms, however.

>How-To-Repeat:

	at prompt type kill -HUP 0, first time it took 2 tries, second 1.

>Fix:
	
	Dunno

>Release-Note:
>Audit-Trail:

From: Casper <casper@acc.am>
To: Charlie Root <root@rjlynn.ddns.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/9215: Logout of all virtual termnials by one kill
Date: Mon, 28 Dec 1998 11:53:57 +0400 (AMT)

 Dont know what about Swapper process , but kill -HUP 1 (init)  have to
 restart getty processes , so it's documented feauture 
 
 
 On Mon, 28 Dec 1998, Charlie Root wrote:
 
 > 
 > >Number:         9215
 > >Category:       bin
 > >Synopsis:       Logout of all virtual termnials by one kill
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:
 > >Keywords:
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Sun Dec 27 21:20:01 PST 1998
 > >Last-Modified:
 > >Originator:     Charlie &
 > >Organization:
 > None
 > >Release:        FreeBSD 2.2.8-RELEASE i386
 > >Environment:
 > 
 > 	any local virtual terminal
 > 
 > >Description:
 > 
 > 	a -HUP kill to Swapper (PID 0 always) logs all virtual terminal out.
 > I don't know about network terms, however.
 > 
 > >How-To-Repeat:
 > 
 > 	at prompt type kill -HUP 0, first time it took 2 tries, second 1.
 > 
 > >Fix:
 > 	
 > 	Dunno
 > 
 > >Audit-Trail:
 > >Unformatted:
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 > 
 

From: "Gary Palmer" <gpalmer@FreeBSD.ORG>
To: root@rjlynn.ddns.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/9215: Logout of all virtual termnials by one kill 
Date: Mon, 28 Dec 1998 11:21:41 -0500

 Charlie Root wrote in message ID
 <199812280509.AAA00334@rjlynn.ddns.org>:
 > 	a -HUP kill to Swapper (PID 0 always) logs all virtual terminal out.
 > I don't know about network terms, however.
 
 You're not killing swapper. Please read `man 2 kill':
 
      If pid is greater than zero:
              Sig is sent to the process whose ID is equal to pid.
 
      If pid is zero:
              Sig is sent to all processes whose group ID is equal to the pro-
              cess group ID of the sender, and for which the process has per-
              mission; this is a variant of killpg(2).
 
 So you were sending a `HUP' to login processes, which (surpringly)
 logs you out.
 
 Gary
 --
 Gary Palmer                                          FreeBSD Core Team Member
 FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
State-Changed-From-To: open->closed 
State-Changed-By: gpalmer 
State-Changed-When: Mon Dec 28 08:30:10 PST 1998 
State-Changed-Why:  
Pilot error 
>Unformatted:
