From owner-freebsd-i386@FreeBSD.ORG Mon May 7 13:40:01 2007 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B2D716A403 for ; Mon, 7 May 2007 13:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 622A213C45E for ; Mon, 7 May 2007 13:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l47De1lJ091204 for ; Mon, 7 May 2007 13:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l47De1gH091203; Mon, 7 May 2007 13:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 7 May 2007 13:40:01 GMT Resent-Message-Id: <200705071340.l47De1gH091203@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, JD Bronson Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 748CA16A400 for ; Mon, 7 May 2007 13:30:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6815B13C46E for ; Mon, 7 May 2007 13:30:40 +0000 (UTC) (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 l47DUeZB080445 for ; Mon, 7 May 2007 13:30:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l47DPbxc066873; Mon, 7 May 2007 13:25:37 GMT (envelope-from nobody) Message-Id: <200705071325.l47DPbxc066873@www.freebsd.org> Date: Mon, 7 May 2007 13:25:37 GMT From: JD Bronson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/112481: ppp.linkup example X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 13:40:01 -0000 >Number: 112481 >Category: i386 >Synopsis: ppp.linkup example >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon May 07 13:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: JD Bronson >Release: 6.2 >Organization: Aurora Health Care >Environment: 6.2-STABLE FreeBSD 6.2-STABLE #0 >Description: I am requesting to have the example ppp.linkup file changed to reflect the following (in some sort of way): It seems that until commands specified with "! sh -c" are completed, no traffic is permitted under tun0. Specifying "!bg sh -c" permits the process to be backgrounded and therefore does not hold up tun0 traffic and allows programs running within ppp.linkup to actually use tun0. I discovered this when attempting to run 'nsupdate' to my DNS server to notify it of my newly obtained IP. If I run it as "! sh -c", nsupdate HANGS forever. If I run it as "!bg sh -c", nsupdate performs the requested actions. I think it would be very helpful to add something into the ppp.linkup example files to indicate this. -JD >How-To-Repeat: See above >Fix: Run commands with "!bg sh -c" instead of "! sh -c" >Release-Note: >Audit-Trail: >Unformatted: