Blame SOURCES/firewalld-0.3.9-RHBZ#1057095.patch
|
|
06cdf6 |
diff -up firewalld-0.3.9/src/firewall/core/fw.py.RHBZ#1057095 firewalld-0.3.9/src/firewall/core/fw.py
|
|
|
06cdf6 |
--- firewalld-0.3.9/src/firewall/core/fw.py.RHBZ#1057095 2014-09-29 23:30:12.538441852 +0200
|
|
|
06cdf6 |
+++ firewalld-0.3.9/src/firewall/core/fw.py 2014-09-29 23:31:13.028694964 +0200
|
|
|
06cdf6 |
@@ -409,6 +409,7 @@ class Firewall:
|
|
|
06cdf6 |
try:
|
|
|
06cdf6 |
self.rule(ipv, [ append_delete[enable], ] + rule)
|
|
|
06cdf6 |
except Exception as msg:
|
|
|
06cdf6 |
+ log.error("Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.")
|
|
|
06cdf6 |
log.error(msg)
|
|
|
06cdf6 |
return (rules[:i], msg) # cleanup rules and error message
|
|
|
06cdf6 |
return None
|
|
|
06cdf6 |
@@ -442,6 +443,7 @@ class Firewall:
|
|
|
06cdf6 |
self.rule(ipv, [ "-t", table,
|
|
|
06cdf6 |
append_delete[enable], chain, ] + rule)
|
|
|
06cdf6 |
except Exception as msg:
|
|
|
06cdf6 |
+ log.error("Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.")
|
|
|
06cdf6 |
log.error(msg)
|
|
|
06cdf6 |
return (rules[:i], msg) # cleanup rules and error message
|
|
|
06cdf6 |
return None
|