[Varnish] #1226: Missing exit in varnishncsa init script

Varnish varnish-bugs at varnish-cache.org
Wed Nov 7 14:56:27 CET 2012

#1226: Missing exit in varnishncsa init script
 Reporter:  ghislain.seguy@…  |       Type:  defect
   Status:  new               |   Priority:  normal
Milestone:                    |  Component:  varnishncsa
  Version:  3.0.3             |   Severity:  normal
 Keywords:                    |

 In the init script varnishncsa in the function that gives the status, if
 the daemon is not running varnishncsa, the return is 0.
 This is different from varnishd or return is the function status_of_proc.

 It would, in my opinion, add to the line 77 an
    exit $?

 I encountered this behavior when installing varnish using puppet.

 Ghislain Seguy.
 varnishd (varnish-3.0.3 revision 9e6a70f)

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1226>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list