"service netif restart" doesn't restart ppp()

O. Hartmann ohartmann at walstatt.org
Mon Mar 27 06:43:18 UTC 2017


I have palyed with a FreeBSD 12-CURRENT based router/firewall system and
realized, that the trias

service netif restart
service routing restart
service ipfw restart

(in any order) doesn't start/restart the ppp session properly, it doesn't even
restart ppp. tun0 is gone.

I had to manually restart ppp via

service ppp stop && sleep 2 && service ppp start

A simple 

service ppp restart 

fails, the rc script complains about a still running ppp/PID.

Stopping ppp, waiting a short time and restarting ppp works fine.

Oliver


More information about the freebsd-current mailing list