csf does not exucute csfpost.sh at boot
Posted: 16 Jun 2022, 04:52
Running Ubuntu 20.04.4 and found that even though I have a valid csfpost.sh it is not run on server reboots.
root@mybox:/etc/csf# ls -l csfpost.sh
-rwx------ 1 root root 529 Jun 16 13:22 csfpost.sh
If I manually csf -r then it does get executed. I can't find anything in documentation to indicate I have something wrong.
As a workaround I created a line into the cron /etc/cron.d/csf-cron
@reboot root /usr/sbin/csf -r
Is this a bug or am I misunderstanding something?
root@mybox:/etc/csf# ls -l csfpost.sh
-rwx------ 1 root root 529 Jun 16 13:22 csfpost.sh
If I manually csf -r then it does get executed. I can't find anything in documentation to indicate I have something wrong.
As a workaround I created a line into the cron /etc/cron.d/csf-cron
@reboot root /usr/sbin/csf -r
Is this a bug or am I misunderstanding something?