This is what you said Tom Eastep
> Scott Ruckh wrote:
>> I see this listed in the release notes for shorewall-4.0.10
>>
>> 2)  Shorewall-perl now generates a fatal error if a non-existant shell
>>     variable is used in any configuration file (except
>>     /etc/shorewall/params).
>>
>> Does the following no longer work?
>>
>> Have the following line in shorewall/init
>>
>> ETH2_IP=`find_first_interface_address eth2`
>>
>> And then use the variable $ETH2_IP in shorewall/rules ?
>>
>> I got this error after installing 4.0.10 and issuing 'shorewall restart':
>>
>> Compiling /etc/shorewall/rules...
>>    ERROR: Undefined shell variable ($ETH2_IP) : /etc/shorewall/rules (line 
>> 432)
>>
>> This is a new error since running 4.0.9 (shorewall PERL).
>
> And what you are doing has never worked.
>

That's nice to know.

Does putting that same code in shorewall/params make it work, or does it just 
suppress the error?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to