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

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Mon, 27 Mar 2017 08:43:14 +0200
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
Received on Mon Mar 27 2017 - 04:43:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC