After I upgraded to openrc my ppp/dsl internet connection stop working. pppd reports:"no device specified and stdin is not a tty" /etc/init.d/net.ppp0 start * Bringing up interface ppp0 * Starting pppd in ppp0 ... /usr/sbin/pppd: no device specified and stdin is not a tty * start-stop-daemon: failed to start `/usr/sbin/pppd' * Failed to start PPP [ !! ] * ERROR: net.ppp0 failed to start /var/log/messages May 12 05:40:42 rhein pppd[21781]: Plugin rp-pppoe.so loaded. May 12 05:40:42 rhein pppd[21781]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4 May 12 05:40:42 rhein pppd[21781]: Plugin passwordfd.so loaded. May 12 05:40:42 rhein pppd[21781]: no device specified and stdin is not a tty May 12 05:40:42 rhein /etc/init.d/net.ppp0[21780]: start-stop-daemon: failed to start `/usr/sbin/pppd' May 12 05:40:42 rhein /etc/init.d/net.ppp0[21718]: ERROR: net.ppp0 failed to start /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). ns_domain_lo="mydomain.net" config_eth0="192.168.40.1 netmask 255.255.255.0 brd 192.168.0.255" config_eth1="null" config_ppp0="ppp" link_ppp0="eth1" plugins_ppp0="pppoe" username_ppp0='user' password_ppp0='pw' pppd_ppp0=" noauth defaultroute # usepeerdns holdoff 3 child-timeout 60 lcp-echo-interval 15 lcp-echo-failure 3 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp " rc_need_ppp0="net.eth1" Reproducible: Always Steps to Reproduce: 1.comment usepeerdns with # in /etc/conf.d/net 2.run /etc/init.d/net.ppp0 start 3.pppd fails Actual Results: net.ppp0 failed to start no internet connection Expected Results: Starting pppd in ppp0 connect to internet Solution or workaround: I found the solution in bug #218786 comment 15. Remove the line "# usepeerdns" from /etc/conf.d/net or no # between " ". It was very hard to find the bugreport #218786 with my error message. Luckily had help from irc. The infomation from bug #218786 comment 15 and 34 should be added to the openrc migration guide.
The issue here is that you were using a comment in the middle of a variable definition. There isn't anything for us to document for this.