Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 312959

Summary: net-firewall/shorewall-4.4.2.1: uninitialized value
Product: Gentoo Linux Reporter: Jochen Schlick <josch09>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: genzilla, rentorbuy
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jochen Schlick 2010-04-03 11:57:26 UTC
when starting/restarting shorewall - with a newer perl version from perl-experimental (5.12.0_rc2) - I get the following warning.

Use of uninitialized value $Shorewall::Config::config{"RFC1918_STRICT"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1714.


Reproducible: Always
Comment 1 Lukas Miczka 2010-09-08 22:15:30 UTC
Same issue for me on ~amd64.
Comment 2 Vieri 2010-09-09 07:03:45 UTC
Please try shorewall-4.4.10 which is already in portage.
You could also request a version bump for 4.4.12.2 which is already available upstream.
If the problem persists then it would be best to report the bug to the Shorewall mailing list so it gets fixed upstream (I don't use perl-experimental and since it's from an overlay you may need to work it out with the author).
Comment 3 Jochen Schlick 2010-09-13 12:46:04 UTC
still in 4.4.10

/etc/init.d/shorewall restart
 * Caching service dependencies ...                                                                                                    [ ok ]
 * Stopping squid ...
 * Waiting for squid to shutdown ................                                                                                      [ ok ]
 * Stopping privoxy ...                                                                                                                [ ok ]
 * Stopping firewall ...                                                                                                               [ ok ]
 * Starting firewall ...
Use of uninitialized value $Shorewall::Config::config{"RFC1918_STRICT"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1902.
Use of uninitialized value $Shorewall::Config::config{"REQUIRE_INTERFACE"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1902.
Comment 4 Oskar Stangenberg 2010-10-12 17:49:09 UTC
just add these two lines to your shorewall.conf

RFC1918_STRICT=No
REQUIRE_INTERFACE=No

this fixes the errors. 
Comment 5 Constanze Hausner (RETIRED) gentoo-dev 2011-01-23 19:29:22 UTC
This is fixed in newer versions of shorewall.