misc/134333: PPP configuration problem in the rc.d scripts in
combination with bash shell
dreibh at iem.uni-due.de
Thu May 7 10:40:02 UTC 2009
>Synopsis: PPP configuration problem in the rc.d scripts in combination with bash shell
>Arrival-Date: Thu May 07 10:40:01 UTC 2009
>Originator: Thomas Dreibholz
University of Duisburg-Essen
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
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:
On boot, the system does not activate this configuration. The ppp daemon is not started. Starting it manually works fine.
Use bash (/usr/local/bin/bash) as shell for root. The Internet connection is not established on system boot after that.
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.
More information about the freebsd-bugs