On 04/09/2013 06:03 AM, Farkas Levente wrote:
> On 04/09/2013 12:50 AM, Tom Eastep wrote:
>> On 4/8/13 3:12 PM, "Farkas Levente" <[email protected]> wrote:
>>
>>> On 04/08/2013 11:59 PM, Tom Eastep wrote:
>>>> On 4/8/13 11:56 AM, "Farkas Levente" <[email protected]> wrote:
>>>>
>>>>> hi,
>>>>> in a master shorewall-lite setup before 4.5 it was possible to out such
>>>>> a line into params (on the master):
>>>>>
>>>>> INCLUDE ../common/params
>>>>>
>>>>> it's no longer possible since it gives this error:
>>>>>
>>>>> /usr/share/shorewall/lib.common: line 708:
>>>>> /etc/shorewall/../common/params: No such file or directory
>>>>
>>>>
>>>> What is the current working directory when you see this? What command
>>>> did
>>>> you enter?
>>>
>>> the master's directory for the lite server (which is the lite server's
>>> hostname) and the command:
>>> /sbin/shorewall reload -s -c -T $(basename `pwd`)
>>
>> I'm unable to reproduce that result.
> 
> my dirs:
> shorewall/{common,host1.example.com,host2.exmaple.com}
> 
> in shorewall/common/: there are a few macros and params (the common
> params eg: admin's network etc).
> 
> in shorewall/host1.example.com the config files and in the params the line:
> INCLUDE ../common/params
> 

Then your setup is the same as mine.

In your shorewall/host1.example.com/params file, please add a 'pwd'
statement just before the INCLUDE and see what the output is.

-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

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to