On 05/11/2018 01:46 PM, Jean-Francois Bogaerts wrote: > Dear Tom, > > Unfortunately same result... > > Attached trace output for the same command: sh -x > /var/lib/shorewall/firewall disable eth2 > trace2
Reverse that patch:
patch -R /usr/share/shorewall/lib.runtime < INTERFACESTATE.patch
And apply this one
patch /usr/share/shorewall/lib.runtime < INTERFACESTATE1.patch
shorewall compile
Thanks,
-Tom
>
>
> JF Bogaerts
> ------------------------------------------------------------------------
> On 11/05/2018 18:03, Tom Eastep wrote:
>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
>
--
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..9443aed2f 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
