CentOS 7 install bug

7 posts Page 1 of 1
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53


CentOS 7 rc1 is out today and was testing it with CSF
http://mirror.centos.org/centos/7/os/x86_64/
http://isoredirect.centos.org/centos/7/isos/x86_64/

seems it cannot find ifconfig

after install:
Code: Select all
*** USE_CONNTRACK Enabled
open3: exec of /sbin/ifconfig failed at ./auto.generic.pl line 153.
Code: Select all
csf -r
Error: /sbin/ifconfig (ifconfig binary location) -v does not exist!, at line 2221
Code: Select all
./csftest.pl 
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf should function on this server
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53


Ah, apparently ifconfig is not installed for some crazy reason by default.

But it is in net-tools

yum install net-tools

solves the problem.

Hope this helps all the people googling for why csf does not install on their centos 7
p4guru
Junior Member
Posts: 12
Joined: 16 Sep 2008, 12:45


does CSF work with CentOS 7 firewalld in place or do you need to disable firewalld ?
ForumAdmin
Moderator
Posts: 1449
Joined: 01 Oct 2008, 09:24


p4guru wrote:
does CSF work with CentOS 7 firewalld in place or do you need to disable firewalld ?
You should disable firewalld:
Code: Select all
systemctl disable firewalld
systemctl stop firewalld
Karel
Junior Member
Posts: 28
Joined: 11 Jul 2013, 20:22


Will CSF support firewalld in the future?

Centos7 uses firewalld by default. Does the installation script from CSF/LFD install iptables as well and disables firewalld?
revelnode
Junior Member
Posts: 1
Joined: 23 Sep 2015, 14:31


I would also like to know if CSF & LFD will support Firewalld in future. I prefer using Firewalld as its easier to use command wise, and its used as default in newer operating systems. It would be nice for cfs to automatically detect which is installed and use it, or if none is installed give the choice which to use.

Regards,
Koster
wolga
Junior Member
Posts: 4
Joined: 23 Jan 2013, 10:50


revelnode wrote:
I would also like to know if CSF & LFD will support Firewalld in future. I prefer using Firewalld as its easier to use command wise, and its used as default in newer operating systems. It would be nice for cfs to automatically detect which is installed and use it, or if none is installed give the choice which to use.

Regards,
Koster
I too would like CSF to support firewalld. I've researched and found reasons to embrace firewalld and there is a webmin module that supports it but I'd like CSF to support it too so I can stick to the RedHat/Centos way while using CSF/LDF and other powerful ConfigServer tools.
7 posts Page 1 of 1