From nobody@FreeBSD.org  Sun Dec 12 09:00:55 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6E55F16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Dec 2004 09:00:55 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5584943D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Dec 2004 09:00:55 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBC90sYs030194
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Dec 2004 09:00:54 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBC90ses030193;
	Sun, 12 Dec 2004 09:00:54 GMT
	(envelope-from nobody)
Message-Id: <200412120900.iBC90ses030193@www.freebsd.org>
Date: Sun, 12 Dec 2004 09:00:54 GMT
From: You SUZUKI <br-suzuki@mail.akamoz.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pppctl lose connection with ppp while using local domain socket
X-Send-Pr-Version: www-2.3

>Number:         74972
>Category:       bin
>Synopsis:       pppctl lose connection with ppp while using local domain socket
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 09:10:21 GMT 2004
>Closed-Date:    Thu Dec 16 02:00:27 GMT 2004
>Last-Modified:  Thu Dec 16 02:00:27 GMT 2004
>Originator:     You SUZUKI
>Release:        FreeBSD5.3R
>Organization:
>Environment:
FreeBSD hato.bird.akamoz.jp 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When controlling ppp with pppctl using local (Unix domain) socket,
pppctl complains "Connection closed" and return to the shell
in the middle of the command execution.
FreeBSD4.9R-pl9 seems to work well.
FreeBSD5.3R with TCP soekct seems to work well.
>How-To-Repeat:
1. Install FreeBSD5.3R with "user" distribution.
2. Log in the system (as root) and rename /etc/ppp/ppp.conf to another name.
3. Create /etc/ppp/ppp.conf with following contents.
default:
  set server /var/run/ppp/pppctltest "" 0177
4. Invoke ppp, and leave as it is.
5. Log in the system (as root) from the other tty.
6. Execute: "pppctl /var/run/ppp/pppctltest"
7. Enter "?" (help) into pppctl prompt.
--> pppctl says "Connection closed" and return to shell prompt.

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Sun Dec 12 14:58:45 GMT 2004 
Responsible-Changed-Why:  
Assign to ppp(8) author. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74972 
State-Changed-From-To: open->patched 
State-Changed-By: brian 
State-Changed-When: Mon Dec 13 14:50:15 GMT 2004 
State-Changed-Why:  
This is now fixed in -current.  I'll MFC in 3 days if there are no objections 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74972 
State-Changed-From-To: patched->closed 
State-Changed-By: brian 
State-Changed-When: Thu Dec 16 01:59:11 GMT 2004 
State-Changed-Why:  
Merged to RELENG_5. 

I don't believe it's necessary to MFC to RELENG_4 as libc_r doesn't seem 
to interrupt threads like libpthread. 

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