initup not loading modules on startup when FASTSTART is set

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
cron0
Junior Member
Posts: 4
Joined: 10 Oct 2011, 19:30

initup not loading modules on startup when FASTSTART is set

Post by cron0 »

Hello,

we've recently began noticing that when we reboot a server, PASSIVE FTP is not working anymore. After investigating, it appeared that the ip_conntrack_ftp module was not loaded. We were able to track down the problem to the fact that when we reboot a server while having FASTSTART on, csf will start from the init script using csf --initup, it'll notice that FASTSTART is set and that I have a /etc/csf/csf.4.saved file and will proceed to restore this file's rules. However, it will never get to the module loading phase which is in the dostart subroutine. This works fine for the most part because the server already loads the iptables modules by default but not all of them.

A fix for this will be to separate the module loading into a different subroutine and call that from both dostart and initup /w FASTSTART in order to have the proper modules loaded.

In the meantime, we decided to disable FASTSTART.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: initup not loading modules on startup when FASTSTART is

Post by ForumAdmin »

Thank you for reporting that. We'll have a fix for it in the next release.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: initup not loading modules on startup when FASTSTART is

Post by ForumAdmin »

csf v6.33 has been release that should address this issue:
http://blog.configserver.com/?p=2020
Post Reply