Archive > 20.1 Legacy Series
netgraph change: will https://github.com/aus/pfatt need adjustment?
pvols1979:
I will also contact the GitHub user who wrote the original pfatt code and let them know of the change.
harshw:
Checked the PFATT script again and only the following modules are needed
* netgraph
* ng_ether
* ng_eiface
* ng_one2many
* ng_vlan
* ng_etf
I will try to prune the /boot/loader.conf.local file to the following and check if it still works:
--- Code: ---netgraph_load="YES"
ng_ether_load="YES"
ng_eiface_load="YES"
ng_one2many_load="YES"
ng_vlan_load="YES"
ng_etf_load="YES"
--- End code ---
Don't want to load modules unnecessarily if we don't need them ...
franco:
Yes, good thinking. That's why we opted for removing most of netgraph from the system, although some PPP and NetFlow still need it but load it on demand.
Cheers,
Franco
harshw:
--- Quote from: franco on February 03, 2020, 08:17:58 am ---Yes, good thinking. That's why we opted for removing most of netgraph from the system, although some PPP and NetFlow still need it but load it on demand.
Cheers,
Franco
--- End quote ---
I modified loader.conf.local and rebooted - after which I proceeded to do the upgrade.
So far it seems to be working ... everything came up as expected
cwied:
99-pfatt.sh already has a line to load ng_etf, so it might make sense to just load all the other modules there too. The script uses -nq so it won't complain if they're already loaded.
Thanks for this thread. I noticed that the script would work if I invoked it by hand, but didn't know what had changed to break it during boot.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version