having an "old" line in /etc/sysconfig/iptables, e.g. -A INPUT -m geoip --source-country CN,EC,RU,JP,CO,UA,IN,UA -j DROP causes iptables-restore not to apply ANY rules (which is quite ok). Failure is logged, but the unit does not fail! systemctl status iptables.service ● iptables.service - iptables Firewall for IPv4 Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled) Active: active (exited) since Wed 2019-08-28 12:13:44 CEST; 2min 51s ago Process: 12196 ExecStart=/usr/libexec/iptables.init start (code=exited, status=0/SUCCESS) Main PID: 12196 (code=exited, status=0/SUCCESS) Aug 28 12:13:44 localhost.localdomain systemd[1]: Starting iptables Firewall for IPv4... Aug 28 12:13:44 localhost.localdomain iptables.init[12196]: Applying iptables firewall rules: Aug 28 12:13:44 localhost.localdomain iptables.init[12196]: iptables-restore v1.8.2 (legacy): Couldn't load match `geoip':No such file or directory Aug 28 12:13:44 localhost.localdomain iptables.init[12196]: Error occurred at line: 38 Aug 28 12:13:44 localhost.localdomain iptables.init[12196]: Try `iptables-restore -h' or 'iptables-restore --help' for more information. Aug 28 12:13:44 localhost.localdomain iptables.init[12196]: [FEHLER] Aug 28 12:13:44 localhost.localdomain systemd[1]: Started iptables Firewall for IPv4. I think /usr/libexec/iptables.init should return a failure code if this script fails
Assigning to Thomas for iptables.
Assignee: bugsquad => tmbSeverity: critical => major
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Version: 7 => 8
we still call the old init-script.
Blocks: (none) => 32448
Close as duplicate *** This bug has been marked as a duplicate of bug 32448 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE