Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Ip6tables service bug

Discussion in 'Security' started by kiti, Oct 26, 2017.

  1. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    france
    cPanel Access Level:
    Root Administrator
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hi @kiti,

    Thanks for sharing this information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice