On 05/11/2011 09:58 PM, Tom Eastep wrote:
> On 05/11/2011 12:43 PM, Tom Eastep wrote:
>> On 05/11/2011 12:06 PM, Togan Muftuoglu wrote:
>>> Hi,
>>>
>>> On 04/17/2011 09:53 PM, Tom Eastep wrote:
>>>>
>>>> On Apr 17, 2011, at 8:02 AM, Tom Eastep wrote:
>>>>> Unfortunately, I've had to reverse the patch because it is incomplete:
>>>>>
>>>>> a) It only modifies the installers.
>>>>> b) It does not make similar modifications to the uninstallers.
>>>>> c) More importantly, it doesn't modify the code that actually uses the
>>>>>   LIBEXEC setting. So:
>>>>>
>>>>>   - /sbin/shorewall and /sbin/shorewall6 can't find compiler.pl
>>>>>   - /sbin/shorewall and /sbin/shorewall6 can't find shorecaps on  
>>>>>     a remote firewall that runs the corresponding -lite package.
>>>>>
>>>> I think I have it now. Commit is cdf2014ce21996c9fa6410501adcf297d8bb6911
>>>
>>> When I backport this commit to current 4.4.19.3 shorewall6 doesn't start
>>> and gives the following error
>>>
>>> /sbin/shorewall6: Error in line 306:
>>> PERL5LIB=/usr/lib/perl5/vendor_perl/5.12.1: No such file or directory
>>>
>>>
>>> However shorewall starts with no errors.
>>>
>>> Any ideas ?
>>>
>>
>> What is g_libexec being set to in /sbin/shorewall?
> 
> Nevermind -- I have reproduced the problem. The attached patch corrects it.
> 

I still have the same error message with shorewall6 however correcting
shorewall6 as follows enables the startup of /sbin/shorewall6 without errors

Thanks
Togan

--- shorewall6.orig
+++ shorewall6
@@ -303,7 +303,8 @@ compiler() {
     if [ $g_perllib = /usr/share/shorewall ]; then
        $command $PERL $debugflags $pc $options $@
     else
-       $command PERL5LIB=$g_perllib $PERL $debugflags $pc $options $@
+       export PERL5LIB=$g_perllib
+       $command $PERL $debugflags $pc $options $@
     fi
 }

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to