poddmo / ufw-blocklist

IP blocklist extension for Ubuntu ufw
GNU General Public License v3.0
88 stars 13 forks source link

after.init may get clobbered by an update to ufw package #1

Open poddmo opened 1 year ago

poddmo commented 1 year ago

An update to the ufw package may want to overwrite /etc/ufw/after.init

poddmo commented 11 months ago

Launchpad question to ufw maintainers: https://answers.launchpad.net/ubuntu/+source/ufw/+question/708034

There are no other users of after.init: https://packages.ubuntu.com/search?suite=kinetic&arch=any&mode=exactfilename&searchon=contents&keywords=after.init

I think the ideal solution will be to move custom scripts into /etc/ufw/after.init.d and amend the original after.init to run-parts(8) on that directory.

poddmo commented 10 months ago

The question to the ufw maintainers went unanswered and has been expired by Launchpad.

I have created after.init_run-parts and will document the use of that.