misc/134333: PPP configuration problem in the rc.d scripts in combination with bash shell

Thomas Dreibholz dreibh at iem.uni-due.de
Thu May 7 10:40:02 UTC 2009


>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 at 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:


More information about the freebsd-bugs mailing list