From paul@agent-57.fastlane.net.au  Fri May 28 23:44:14 2004
Return-Path: <paul@agent-57.fastlane.net.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9D28D16A4DB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 May 2004 23:44:14 -0700 (PDT)
Received: from agent-57.fastlane.net.au (agent-57.fastlane.net.au [203.15.140.45])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3108943E58
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 May 2004 23:14:47 -0700 (PDT)
	(envelope-from paul@agent-57.fastlane.net.au)
Received: from agent-57.fastlane.net.au (localhost [127.0.0.1])
	by agent-57.fastlane.net.au (8.12.11/8.12.11) with ESMTP id i4T6EEMR000605
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 May 2004 14:14:15 +0800 (WST)
	(envelope-from paul@agent-57.fastlane.net.au)
Received: (from paul@localhost)
	by agent-57.fastlane.net.au (8.12.11/8.12.11/Submit) id i4T6EAQM000604;
	Sat, 29 May 2004 14:14:11 +0800 (WST)
	(envelope-from paul)
Message-Id: <200405290614.i4T6EAQM000604@agent-57.fastlane.net.au>
Date: Sat, 29 May 2004 14:14:11 +0800 (WST)
From: Paul Reece <paul@fastlane.net.au>
Reply-To: Paul Reece <paul@fastlane.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Usermode PPP hangs on boot when NIS configured
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         67328
>Category:       conf
>Synopsis:       [nis] [ppp] Usermode PPP hangs on boot when NIS configured
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 23:50:27 PDT 2004
>Closed-Date:    
>Last-Modified:  Fri Aug 20 09:55:49 UTC 2010
>Originator:     Paul Reece
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD agent-57.fastlane.net.au 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 01:42:39 WST 2004 paul@agent-57.fastlane.net.au:/u1/home/obj/usr/src/sys/AGENT57 i386


	
>Description:
	Machine configured with NIS server/client and UserMode PPP (for PPPoE).
	Startup hangs when PPP is started during boot.  Problem also apparent
	in earlier versions.

>How-To-Repeat:
Configure machine to use NIS and Usermode PPP on startup.
see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

>Fix:
	in /etc/rc.network where usermode ppp is started:

	su -m ${ppp_user} -c "exec ${ppp_command}"

	'su' is hanging as NIS has not yet been started.  NIS needs to be
	started prior to any use of 'su' in rc files.


>Release-Note:
>Audit-Trail:
>Unformatted:
