On 04/09/2013 06:45 PM, Tom Eastep wrote: > On 04/09/2013 07:56 AM, Farkas Levente wrote: >> On 04/09/2013 03:44 PM, Tom Eastep wrote: >>> 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. >> >> /home/lfarkas/work/lenux/shorewall/alpha.lenux.hu >> /usr/share/shorewall/lib.common: line 708: >> /etc/shorewall/../common/params: No such file or directory >> > > Do you have a 'cd' command in ../common/params ?
no. there are only simple ip and hostname constants. -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------------ 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
