Ip6tables service bug
I wanted to warn the Cpanel community about a Centos 7.4 bug related to Ip6tables
Bug 1499367 " ip6tables.service unit file has invalid value for After=
Check 'systemctl status ip6tables' if you don't see the following errors:
systemctl status ip6tables
[/usr/lib/systemd/system/ip6tables.service:3] Failed to add dependency on syslog.target,iptables.service, ignoring: Invalid argument
Oct 25 15:25:31 ns1.XXXX.nl systemd[1]: [/usr/lib/systemd/system/ip6tables.service:3] Failed to add dependency on syslog.target,iptables.service, ignoring: Invalid argument
Oct 26 03:43:07 ns1.XXXXX.nl systemd[1]: [/usr/lib/systemd/system/ip6tables.service:3] Failed to add dependency on syslog.target,iptables.service, ignoring: Invalid argument
Oct 26 03:43:07 ns1.XXXX.nl systemd[1]: [/usr/lib/systemd/system/ip6tables.service:3] Failed to add dependency on syslog.target,iptables.service, ignoring: In
To remove those errors:
go to
nano /usr/lib/systemd/system/ip6tables.service
replace
After=syslog.target,iptables.service
by
After=syslog.target iptables.service
systemctl daemon-reload
systemctl restart ip6tables
systemctl status ip6tables
-
Hi @kiti, Thanks for sharing this information. 0
Please sign in to leave a comment.
Comments
1 comment