Created attachment 751358 [details] emerge --info Summary ------- A 'PPP' network service is not reported as "started" while this one is running. Issue: ------ After to have configured a PPP over SSH connection as described from "/usr/share/doc/netifrc-0.7.3/net.example.bz2", the service 'net.ppp0' is not reported as "started" while this one is running. Bringing up interface ppp0 * Starting pppd in ppp0 ... [ ok ] * Backgrounding ... * WARNING: net.ppp0 has started, but is inactive Suggested fix: -------------- After search, it seems that the script '/lib/netifrc/net/pppd.sh' not report the status 'mark_service_started'. Pending a correction, I have manual patched the file as this: --- pppd.sh.bak 2021-11-15 23:50:04.488985499 +0100 +++ pppd.sh 2021-11-15 23:48:54.737518952 +0100 @@ -229,6 +229,7 @@ else einfo "Backgrounding ..." fi + mark_service_started # pppd will re-call us when we bring the interface up exit 0 Regards,
checking /lib/netifrc/net: # > grep mark_service_started * vlan.sh: mark_service_started "net.${ifname}" Seems like most script in there lacks a call to mark_service_started
Hi, net.ppp100 [ started ] From ip-up script: # Execute only if OpenRC is active, bug #490820 if [ -r /run/openrc/softlevel ]; then if [ -x /etc/init.d/net.$1 ]; then if ! /etc/init.d/net.$1 --quiet status ; then export IN_BACKGROUND="true" /etc/init.d/net.$1 --quiet start fi fi fi This comes from a long time ago. Note that the interface is only Started once IP information is assigned, not when we've started the pppd daemon.