SysV status script returns the wrong exit code when varnish is not running

Bug #921008 reported by Glenn Aaldering
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
varnish (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

SysV status script returns the wrong exit code when varnish is not running:

[Lucid]
# /etc/init.d/varnish status
 * varnishd is not running
# echo $?
0

This seems to work properly in Precise:

[Precise]
# /etc/init.d/varnish status
 * varnishd is not running
# echo $?
3

Revision history for this message
Ruben Romero (huayra) wrote :

Newer varnish releases have been adapted to work better with upstart and follow now systemd policies for fedora and debian. This bug should now be closed.

Ruben Romero (huayra)
Changed in varnish (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.