#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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
---------------------+-----------------------
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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs