On Sat, 2012-01-07 at 07:44 -0800, Tom Eastep wrote: > On Sat, 2012-01-07 at 07:33 -0800, Tom Eastep wrote: > > > > > After this happens, please: > > > > sh -x /var/lib/shorewall/.restart restart 2> trace > > > > And look at the trace to see what is going wrong. If you can't see the > > problem, then please send me a copy of /var/lib/shorewall/.restart and > > the trace file and I will take a look. > > Never mind -- I have reproduced the problem. While harmless, it is > annoying and I'll have to try to decide how to fix it.
Here is a patch for lib.common.
patch /usr/share/shorewall/lib.common < ~/ECHO.patch
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
diff --git a/Shorewall/lib.common b/Shorewall/lib.common
index 71ad150..f61aca5 100644
--- a/Shorewall/lib.common
+++ b/Shorewall/lib.common
@@ -38,7 +38,7 @@ get_script_version() { # $1 = script
verbosity="$VERBOSITY"
VERBOSITY=0
- temp=$( $SHOREWALL_SHELL $1 version | sed 's/-.*//' )
+ temp=$( $SHOREWALL_SHELL $1 version | tail -n 1 | sed 's/-.*//' )
if [ $? -ne 0 ]; then
version=0
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
