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
*** Bug 262436 has been marked as a duplicate of this bug. ***
(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!
Thank you guys. Fixed.