Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219740 - net-firewall/shorewall-common incorrectly reports status
Summary: net-firewall/shorewall-common incorrectly reports status
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 18:16 UTC by Boian Berberov
Modified: 2008-05-04 13:17 UTC (History)
1 user (show)

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


Attachments
new init script for shorewall-common (shorewall.initd.diff,604 bytes, patch)
2008-04-30 18:04 UTC, Vieri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boian Berberov 2008-04-29 18:16:31 UTC
When shorewall is restarted through the /etc/init.d/shorewall script the status is not reported correctly.  When shorewall has not been started, issuing "/etc/init.d/shorewall restart" starts it, but checking with "/etc/init.d/shorewall status", is shows up as stopped.  Checking with just "shorewall status" verifies that it started.

Reproducible: Always

Steps to Reproduce:
1.Make sure shorewall has not been started already
2./etc/init.d/shorewall status - should report stopped
3./etc/init.d/shorewall restart

Actual Results:  
/etc/init.d/shorewall status
 * status: stopped

Expected Results:  
/etc/init.d/shorewall status
 * status: started
Comment 1 Vieri 2008-04-30 18:04:40 UTC
Created attachment 151445 [details, diff]
new init script for shorewall-common
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-05-04 13:17:17 UTC
Patch applied in CVS. Thank you Vieri!

Boian, thank you for report. If problem persists, please, reopen this bug report.