Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262434 - net-firewall/shorewall6-4.2.6 missing dependency on dev-perl/Socket6
Summary: net-firewall/shorewall6-4.2.6 missing dependency on dev-perl/Socket6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Vieri
URL:
Whiteboard:
Keywords:
: 262436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-14 14:07 UTC by Michael Weber (RETIRED)
Modified: 2009-03-16 12:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2009-03-14 14:07:28 UTC
Shorewall failes to start, because Socket6.pm cannot be found at startup.


Reproducible: Always

Steps to Reproduce:
1. System without dev-perl/Socket6
2. Install and configure net-firewall/shorewall6
3. Start Shorewall6 via /etc/init.d/shorewall6 start

Actual Results:  
io ~ # /etc/init.d/shorewall6 start
shorewall6        |* Starting firewall...
shorewall6        |Can't locate Socket6.pm in @INC (@INC contains: /etc/shorewall6/ /usr/share/shorewall6/ /usr/share/shorewall/ /usr/share/shorewall-perl /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/share/shorewall-perl/Shorewall/IPAddrs.pm line 519, <$currentfile> line 23.                                               [ !! ]
shorewall6        |* ERROR: shorewall6 failed to start


Expected Results:  
io ~ # /etc/init.d/shorewall6 start
shorewall6        |* Starting firewall...   [ ok ]


Steps to fix:
1. Change ebuild

--- /usr/portage/net-firewall/shorewall6/shorewall6-4.2.6.ebuild.orig	2009-03-14 14:48:17.000000000 +0100
+++ /usr/portage/net-firewall/shorewall6/shorewall6-4.2.6.ebuild	2009-03-14 14:49:29.000000000 +0100
@@ -25,7 +25,8 @@ IUSE="doc"
 DEPEND=">=net-firewall/iptables-1.4.0
 	sys-apps/iproute2
 	>=net-firewall/shorewall-perl-${MY_PV_BASE}
-	!<net-firewall/shorewall-4.0"
+	!<net-firewall/shorewall-4.0
+	dev-perl/Socket6"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {

2. ebuild /usr/portage/net-firewall/shorewall6/shorewall6-4.2.6.ebuild manifest
3. emerge -avk net-firewall/shorewall6
Comment 1 Michael Weber (RETIRED) gentoo-dev 2009-03-14 14:13:37 UTC
*** Bug 262436 has been marked as a duplicate of this bug. ***
Comment 2 Vieri 2009-03-15 20:45:15 UTC
(In reply to comment #0)
> 1. Change ebuild
> --- /usr/portage/net-firewall/shorewall6/shorewall6-4.2.6.ebuild.orig  
> 2009-03-14 14:48:17.000000000 +0100
> +++ /usr/portage/net-firewall/shorewall6/shorewall6-4.2.6.ebuild       
> 2009-03-14 14:49:29.000000000 +0100
> @@ -25,7 +25,8 @@ IUSE="doc"
>  DEPEND=">=net-firewall/iptables-1.4.0
>         sys-apps/iproute2
>         >=net-firewall/shorewall-perl-${MY_PV_BASE}
> -       !<net-firewall/shorewall-4.0"
> +       !<net-firewall/shorewall-4.0
> +       dev-perl/Socket6"
>  RDEPEND="${DEPEND}"
>  pkg_setup() {

The proposed patch should be applied to net-firewall/shorewall6-4.2.6.ebuild.
Thanks for reporting the missing dependency check!
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-03-16 12:20:57 UTC
Thank you guys. Fixed.