On Tue, 2011-08-02 at 12:16 -0700, Andrew Silverman wrote: > After applying this patch, Shorewall6 startup fails as follows: > > [root@ipv6tunl Shorewall]# shorewall6 start > Compiling... > Subroutine insert_irule redefined at /usr/share/shorewall/Shorewall/Rules.pm > line 517. > Subroutine imatch_source_dev redefined at > /usr/share/shorewall/Shorewall/Rules.pm line 2485. > Global symbol "$comment" requires explicit package name at > /usr/share/shorewall/Shorewall/Rules.pm line 536. > Global symbol "$comment" requires explicit package name at > /usr/share/shorewall/Shorewall/Rules.pm line 537. > Global symbol "$iprangematch" requires explicit package name at > /usr/share/shorewall/Shorewall/Rules.pm line 549. > Global symbol "%capabilities" requires explicit package name at > /usr/share/shorewall/Shorewall/Rules.pm line 1490. > Compilation failed in require at /usr/share/shorewall/Shorewall/Tunnels.pm > line 31. > BEGIN failed--compilation aborted at > /usr/share/shorewall/Shorewall/Tunnels.pm line 31. > Compilation failed in require at /usr/share/shorewall/Shorewall/Compiler.pm > line 32. > BEGIN failed--compilation aborted at > /usr/share/shorewall/Shorewall/Compiler.pm line 32. > Compilation failed in require at /usr/share/shorewall/compiler.pl line 44. > BEGIN failed--compilation aborted at /usr/share/shorewall/compiler.pl line 44. > [root@ipv6tunl Shorewall]#
Looking back in the recent 'SELinux' thread, you mentioned running 4.4.21.1. I patched that version of Rules.pm with the patch and it compiles fine. I really don't see how ALL.patch can generate the above errors. It adds a single '$' at the end of a regular expression. The errors you are seeing appear to be caused by mismatched parentheses or braces. -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 \________________________________________________
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
