On 05/17/2013 04:01 PM, Dash Four wrote:

>>> Compiling /etc/shorewall/interfaces...
>>>    WARNING: 'FORMAT' is deprecated in favor of '?FORMAT' - consider 
>>> running 'shorewall update -D' /etc/shorewall/interfaces (line 17)
>>>
>>> -bash-4.1# shorewall update -D               
>>> Updating...
>>> Processing /etc/shorewall/params ...
>>> Processing /etc/shorewall/shorewall.conf...
>>> No update required to configuration file /etc/shorewall/shorewall.conf; 
>>> /etc/shorewall/shorewall.conf.bak not saved
>>>
>>> "interfaces" is not changed (I had to do that manually).
>>>  

Note that 'FORMAT' and 'COMMENT' lines are converted in a later step;
they are not handled at the same time as shorewall[6].conf.

>>
>> Works for me.
>>
>> root@gateway:~# shorewall update -D
>> Updating...
>> Processing /etc/shorewall/params ...
>> Processing /etc/shorewall/shorewall.conf...
>> No update required to configuration file /etc/shorewall/shorewall.conf;
>> /etc/shorewall/shorewall.conf.bak not saved
>> Loading Modules...
>> Converting 'FORMAT' and 'COMMENT' lines to compiler directives...
>>    File /etc/shorewall/interfaces updated - old file renamed
>> /etc/shorewall/interfaces.bak
>> Running /etc/shorewall/compile...
>> Checking /etc/shorewall/zones...
>> Checking /etc/shorewall/interfaces...
>>   
> Well, it doesn't work here.

The only way that I have been able to get this to fail is to run as
non-root and secure a file needing update against write access.

-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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to