On 05/11/2018 02:47 AM, Jean-Francois Bogaerts wrote: > Hi, > > Sorry for the late answer I was abroad. > > Attached the output for: > > sh -x /var/lib/shorewall/firewall disable eth2 > trace1 > > BTW this command writes nothing in the file, the attached file is a copy of > terminal output >
See if the attached patch corrects the problem.
patch /usr/share/shorewall/lib.runtime < INTERFACESTATE.patch
shorewall compile
Thanks,
-Tom
--
Tom Eastep \ Q: What do you get when you cross a mobster with
Shoreline, \ an international standard?
Washington, USA \ A: Someone who makes you an offer you can't
http://shorewall.org \ understand
\_______________________________________________
diff --git a/Shorewall/Perl/lib.runtime b/Shorewall/Perl/lib.runtime
index f8d8fdcdc..c271b11e6 100644
--- a/Shorewall/Perl/lib.runtime
+++ b/Shorewall/Perl/lib.runtime
@@ -192,7 +192,7 @@ find_default_interface() {
# Determine if Interface is up
#
interface_is_up() {
- [ -n "$($IP -$g_family link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ]
+ [ -n "$($IP -$g_family link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]') | fgrep -v ' state down '" ]
}
#
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
