Suggest changing chkconfig line to start CSF earlier
Posted: 23 Jul 2013, 11:24
Hi,
We are having a bad interaction between CSF and SSSD. SSSD starts at 12 and CSF starts at 15. When CSF starts, it starts blocking packets for a period of time (sometimes several seconds) while it sorts out its policies (csf.allow). We do not have an extensive set of policies, but maybe 20 or so lines of csf.allow. When CSF blocks these packets during startup, it confuses sssd, and makes it so that I can't login (except as root on the console, which is annoying).
If csf was changed to 08, to match when "iptables" would normally start, it resolves the issue because CSF is fully started and ready to process packets by the time that sssd starts. We have tested this, but are sure that every csf update will wipe out our test. I propose to change the "chkconfig" line in /etc/rc.d/init.d/csf to look like:
That would make it startup at the time when the "default" RHEL/CentOS firewall would have started, which seems appropriate.
Thanks in advance,
Tommy
We are having a bad interaction between CSF and SSSD. SSSD starts at 12 and CSF starts at 15. When CSF starts, it starts blocking packets for a period of time (sometimes several seconds) while it sorts out its policies (csf.allow). We do not have an extensive set of policies, but maybe 20 or so lines of csf.allow. When CSF blocks these packets during startup, it confuses sssd, and makes it so that I can't login (except as root on the console, which is annoying).
Code: Select all
# grep chkconfig iptables csf sssd
iptables:# chkconfig: 2345 08 92
csf:# chkconfig: 2345 15 80
sssd:# chkconfig: - 12 88
Code: Select all
# chkconfig: 2345 08 80
Thanks in advance,
Tommy