I have two desktop machines, both running systemd (and dozens of others with Gentoo / RC init, but they're not the problem). On both these systemd desktkops, I found that iptables / ip6tables won't start
Code: Select all
# systemctl status iptables
● iptables.service - Store and restore iptables firewall rules
Loaded: error (Reason: Invalid argument)
Active: failed (Result: exit-code) since Mon 2016-10-31 14:13:46 PDT; 36min ago
Main PID: 29236 (code=exited, status=203/EXEC)
Oct 31 14:13:46 pluto systemd[1]: Starting Packet Filtering Framework...
Oct 31 14:13:46 pluto systemd[1]: iptables.service: Main process exited, code=exited, status=203/EXEC
Oct 31 14:13:46 pluto systemd[1]: Failed to start Packet Filtering Framework.
Oct 31 14:13:46 pluto systemd[1]: iptables.service: Unit entered failed state.
Oct 31 14:13:46 pluto systemd[1]: iptables.service: Failed with result 'exit-code'.
Oct 31 14:13:54 pluto systemd[1]: iptables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Oct 31 14:38:09 pluto systemd[1]: iptables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Oct 31 14:41:03 pluto systemd[1]: iptables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Oct 31 14:41:15 pluto systemd[1]: iptables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
pluto system # systemctl status ip6tables
● ip6tables.service - Store and restore ip6tables firewall rules
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Code: Select all
# systemctl status ip6tables
● ip6tables.service - Store and restore ip6tables firewall rules
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Oct 31 14:50:22 pluto systemd[1]: ip6tables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Oct 31 14:52:29 pluto systemd[1]: ip6tables.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Code: Select all
[ebuild R ] sys-apps/systemd-226-r2:0/2::gentoo USE="acl kdbus kmod lz4 pam policykit seccomp ssl (-apparmor) -audit -cryptsetup -curl -elfutils -gcrypt -gnuefi -http -idn -importd -lzma -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild R ] net-firewall/iptables-1.4.21-r1::gentoo USE="conntrack ipv6 -netlink -static-libs" 0 KiB
Code: Select all
# cat iptables.service
[Unit]
Description=Store and restore iptables firewall rules
[Install]
Also=iptables-store.service
Also=iptables-restore.service
My Profile:
Code: Select all
default/linux/amd64/13.0/desktop/gnome/systemd *Thank-you!




