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

Bug 472790

Summary: net-firewall/shorewall6 - make /etc/init.d/shorewall6 messages indicate it is shorewall6 and not shorewall
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: [OLD] ServerAssignee: Vieri <rentorbuy>
Status: RESOLVED FIXED    
Severity: minor CC: netmon, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2013-06-09 20:56:42 UTC
Hi,

on a host with IPv4 and IPv6 connectivity, you will probably have net-firewall/shorewall and net-firewall/shorewall6 installed.

Currently, both init scripts (/etc/init.d/shorewall and /etc/init.d/shorewall6) are displaying 

  Starting firewall ....

So when your system starts and shorewall6 for example will fail, you don't know if shorewall or shorewall6 failed:

 * Starting firewall ...           [ OK ]
 * Starting firewall ...           [ !! ]


Easy fix:

Just change

  ebegin "Starting firewall"

to

  ebegin "Starting firewall6"

or even better, use shorewall and shorewall6 instead of firewall.

Don't forget the stop messages.

Reproducible: Always
Comment 1 Constanze Hausner (RETIRED) gentoo-dev 2013-07-13 14:15:57 UTC
Fixed in 4.5.18; Thanks for reporting.