[Varnish] #1677: varnish init script returns before varnishlog can access it.
Varnish
varnish-bugs at varnish-cache.org
Tue Feb 10 22:03:56 CET 2015
#1677: varnish init script returns before varnishlog can access it.
-------------------------+--------------------
Reporter: mattjbarlow | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: unknown | Severity: normal
Keywords: |
-------------------------+--------------------
If you restart the varnish service and the varnishlog service directly
after, varnishlog fails to restart. You must wait a few seconds before
restarting varnishlog. I tested this on Ubuntu 14.04 installing varnish
4.0.2-1 from the varnish-cache repository.
You can duplicate this by writing a script that performs a 'service
varnish restart' followed by a 'service varnishlog restart' (see gist
below). The varnishlog restart will fail, and then when you manually run
it it will succeed the 2nd time.
https://gist.github.com/mattjbarlow/bf067ab4d09852b9d03b
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1677>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list