From owner-freebsd-bugs@FreeBSD.ORG Thu May 7 10:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 031B91065678 for ; Thu, 7 May 2009 10:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B7AA48FC15 for ; Thu, 7 May 2009 10: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.14.3/8.14.3) with ESMTP id n47Ae1TG097574 for ; Thu, 7 May 2009 10:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n47Ae137097573; Thu, 7 May 2009 10:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 7 May 2009 10:40:01 GMT Resent-Message-Id: <200905071040.n47Ae137097573@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Dreibholz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAC58106564A for ; Thu, 7 May 2009 10:34:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 989148FC13 for ; Thu, 7 May 2009 10:34:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n47AYDhG053918 for ; Thu, 7 May 2009 10:34:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n47AYDBI053917; Thu, 7 May 2009 10:34:13 GMT (envelope-from nobody) Message-Id: <200905071034.n47AYDBI053917@www.freebsd.org> Date: Thu, 7 May 2009 10:34:13 GMT From: Thomas Dreibholz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/134333: PPP configuration problem in the rc.d scripts in combination with bash shell X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 10:40:02 -0000 >Number: 134333 >Category: misc >Synopsis: PPP configuration problem in the rc.d scripts in combination with bash shell >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 07 10:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Thomas Dreibholz >Release: 7.1-RELEASE >Organization: University of Duisburg-Essen >Environment: FreeBSD essen 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #6: Tue May 5 11:43:31 CEST 2009 root@essen:/usr/src/sys/amd64/compile/SCTP amd64 >Description: I have set the shell for the root user to bash. The system has a PPPoE configuration to connect to Telekom DSL. In /etc/rc.conf, the following PPP configuration is entered: ppp_enable="YES" ppp_nat="NO" ppp_profile="telekom" ppp_mode="ddial" On boot, the system does not activate this configuration. The ppp daemon is not started. Starting it manually works fine. >How-To-Repeat: Use bash (/usr/local/bin/bash) as shell for root. The Internet connection is not established on system boot after that. >Fix: In the Internet, I found a forum entry from 2005 describing the same problem (https://www.bsdforen.de/showthread.php?p=82530). The solution was to use /bin/csh as shell for root. After this change, the PPP configuration at system boot works as expected. I did no further debugging of this problem yet, but I assume that somewhere in the rc.d scripts /bin/csh is assumed to be the shell of the root user. This is clearly a bug which should be fixed. >Release-Note: >Audit-Trail: >Unformatted: