[Varnish] #1632: Debian: postinst broken

Varnish varnish-bugs at varnish-cache.org
Thu Nov 20 11:47:46 CET 2014


#1632: Debian: postinst broken
---------------------+-----------------------
 Reporter:  idl0r    |       Type:  defect
   Status:  new      |   Priority:  normal
Milestone:           |  Component:  packaging
  Version:  unknown  |   Severity:  normal
 Keywords:           |
---------------------+-----------------------
 Hi,

 the postinst script of the official Debian files does a "start" instead of
 "restart" which thus results into "[FAIL] Starting HTTP accelerator:
 varnishd failed!" if the daemons are already started/running. This will
 lead into a package "not fully installed or removed".

 # /etc/init.d/varnish start
 [FAIL] Starting HTTP accelerator: varnishd failed!

 A restart should be used instead, for all services, varnish, varnishncsa
 and varnishlog.
 Or, as "wedge" just mentioned in #varnish:
 wedge | postint should stop varnish prior to upgrade / config changes
 wedge | usually this is what most packages do

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



More information about the varnish-bugs mailing list