Ask Your Question
0

iptables service failed

asked 2014-03-29 00:51:44 -0500

Mohan G gravatar image

updated 2014-09-16 10:43:41 -0500

mether gravatar image

On Fedora-19, i disables firewall-D and changed to iptables. It worked fine then. I upgraded to Fedora-20 when it is released. Today I noticed that iptables is not working.

The systemctl status:

iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled)
   Active: inactive (dead)
           start condition failed at Sat 2014-03-29 00:34:06 CDT; 1s ago
           ConditionPathExists=/etc/sysconfig/iptables was not met

I don't remember doing anything with the config files, I even check my command history. Any possible reason and how can I correct it.

-Mohan

edit retag flag offensive close merge delete

Comments

systemctl status firewalld.service?

marcindulak gravatar imagemarcindulak ( 2014-03-29 04:12:37 -0500 )edit

It is disabled.

Mohan G gravatar imageMohan G ( 2014-03-29 04:28:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-29 09:42:36 -0500

mether gravatar image

The status says that "ConditionPathExists=/etc/sysconfig/iptables was not met". You have to create such a file in the location specified with the appropriate rules

edit flag offensive delete link more

Comments

but it worked before (in F-19), and i did not changed any config after that.

Mohan G gravatar imageMohan G ( 2014-03-30 00:26:27 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-29 00:51:44 -0500

Seen: 1,435 times

Last updated: Mar 29 '14