FS#28905 - [pound] rc.s start pound always exits successfully

Attached to Project: Community Packages
Opened by Marco Corte (marcoc) - Wednesday, 14 March 2012, 09:49 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 16 April 2012, 13:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The rc.d startup script always exits successfully.

Additional info:
The startup command

[...]
stat_busy "Starting Pound"
/usr/sbin/pound -f /etc/pound/pound.cfg -p /var/run/pound.pid &
if [ $? -gt 0 ]; then
stat_fail
else
[...]

lets the script always exit successfully and writes "starting..." on STDERR (i.e. on screen)

I would change the line as follows

[...]
stat_busy "Starting Pound"
/usr/sbin/pound -f /etc/pound/pound.cfg -p /var/run/pound.pid &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
[...]
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 16 April 2012, 13:42 GMT
Reason for closing:  Fixed

Loading...