Steven Jan Springl wrote:
> On Monday 16 April 2007 22:09, Tom Eastep wrote:
>> Steven Jan Springl wrote:
>>> I have installed Shorewall & Shorewall-perl in a Debian Etch environment.
>>> Shorewall-shell and shorewall-lite have not been installed.
>>>
>>> While shorewall start & shorewall restart both work,
>>> shorewall stop & shorewall clear produce the following error message:
>>>
>>> ERROR: USE_ACTIONS=Yes requires the Shorewall library actions
>>> (/usr/share/shorewall-shell/lib.actions) which is not installed.
>>>
>>> I have tried setting SHOREWALL_COMPILER=perl in shorewall.conf, but the
>>> message is still produced.
>>>
>>> Is this a bug or have I missed something obvious?
>>>
>>> If you need the my config files or a trace, please let me know.
>> Steven,
>>
>> Did you install Shorewall 3.9.1 or Shorewall 3.4.2? Sounds like Shorewall
>> 3.4.2...
>>
>> -Tom
> Tom
> 
> I installed Shorewall 3.9.1.
>

I see the problem.

Try the attached patch to /usr/share/shorewall-common/lib.config

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key
Index: lib.config
===================================================================
--- lib.config	(revision 5954)
+++ lib.config	(working copy)
@@ -1965,7 +1965,7 @@
     USE_ACTIONS=$(added_param_value_yes USE_ACTIONS $USE_ACTIONS)
     EXPORTPARAMS=$(added_param_value_yes EXPORTPARAMS $EXPORTPARAMS)
 
-    [ -n "$USE_ACTIONS" ] && lib_load actions "USE_ACTIONS=Yes"
+    [ "$PROGRAM" = compiler ] && [ -n "$USE_ACTIONS" ] && lib_load actions "USE_ACTIONS=Yes"
 
     [ -n "$XCONNMARK_MATCH" ] || XCONNMARK=
     [ -n "$XMARK" ] || XCONNMARK=

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to