You are not logged in.

#1 2012-10-23 12:17:45

rnarch
Member
Registered: 2012-03-17
Posts: 292

systemd- failed to start packet filtering framework

I had installed systemd and also iptables and till recently everything seemed all right. Now I have started getting an error message on bootup that "failed to start packet filtering framework".

There is a suggestion at this site: https://mailman.archlinux.org/pipermail … 30565.html

On running the command "sudo systemctl status iptables", following is the output:

iptables.service - Packet Filtering Framework
	  Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
	  Active: failed (Result: exit-code) since Tue, 23 Oct 2012 17:30:07 +0000; 12min ago
	 Process: 200 ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules (code=exited, status=1/FAILURE)
	  CGroup: name=systemd:/system/iptables.service

Oct 23 17:30:16 myhost iptables-restore[200]: Can't open /etc/iptables/iptables.rules: No such file or directory

How can I correct this error? Please help.

Last edited by rnarch (2012-10-23 12:17:56)

Offline

#2 2012-10-23 12:31:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: systemd- failed to start packet filtering framework

The error message could not be clearer. Does that file exist or not?

Offline

#3 2012-10-23 13:36:11

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: systemd- failed to start packet filtering framework

/etc/iptables/iptables.rules  file does not exist, but system was not giving this error message earlier. I was loading iptables rules by following command in /etc/rc.local:
iptables-restore /home/myfw-regular.saved

Probably, I should move myfw-regular.saved file to  /etc/iptables/iptables.rules   and remove the rc.local line.

Offline

Board footer

Powered by FluxBB