Trigger :When pf service is restarted
Error messages :
# /etc/rc.d/pf restart Disabling pf pf disabled . Enabling pf no IP address found for lo1:network /etc/pf.conf:4: could not parse host specification no IP address found for lo1:network /etc/pf.conf:5: could not parse host specification pfctl: Syntax error in config file: pf rules not loaded pf enabled .
Side Effect :When running "Ports Jail" terminal with portsnap or installation, it will failed because there's not internet connection present.
Why :The interface "lo1:network" is missing due to abnormal shutdown of "portjail" service.
This will restart PCBSD's "Ports Jail" service and create back the "lo1:network" interface. Proceed to restart pf then "Ports Jail" related stuff.
By the way, the PC-BSD team just released version 8.2 a month back. Good job guys! :)
Hasta la vista !!!