Date: Thu, 7 May 2009 10:34:13 GMT From: Thomas Dreibholz <dreibh@iem.uni-due.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/134333: PPP configuration problem in the rc.d scripts in combination with bash shell Message-ID: <200905071034.n47AYDBI053917@www.freebsd.org> Resent-Message-ID: <200905071040.n47Ae137097573@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905071034.n47AYDBI053917>