On 05/11/2012 02:04 PM, Tom Eastep wrote:
On 05/11/2012 11:52 AM, John McMonagle wrote:

eth2.status did not change.
Got up email from lsm.

Obviously missed something :-(

Do you see anything or have suggestions on how to debug?


- Set STARTUP_LOG=/var/log/shorewall-init.log
- Set LOG_VERBOSITY=1

Look at the log while testing to see what is going on.


I've discovered that the 'disable' command is not altering the .status file. Patch attached.

        patch /usr/share/shorewall/Shorewall/Providers < STATUS.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/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm
index d51f44f..7a1b1b9 100644
--- a/Shorewall/Perl/Shorewall/Providers.pm
+++ b/Shorewall/Perl/Shorewall/Providers.pm
@@ -881,7 +881,8 @@ CEOF
 		  "qt \$TC qdisc del dev $physical ingress\n" ) if $tcdevices->{$interface};
 	}
 
-	emit( "progress_message2 \"   Provider $table ($number) stopped\"" );
+	emit( "echo 1 > \${VARDIR}/${physical}.status",
+	      "progress_message2 \"   Provider $table ($number) stopped\"" );
 
 	pop_indent;
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to