opensuse 42.2 systemd varnishlog.service fails to start after system reboot

Dridi Boukelmoune dridi at varni.sh
Wed Aug 9 17:36:33 CEST 2017


On Wed, Aug 9, 2017 at 4:46 PM, Admin Beckspaced <admin at beckspaced.com> wrote:
> Hello Varnish Community,
>
> I'm running an openSUSE 42.2 server with varnish 5.1.2

Update to 5.1.3, your Varnish instance can be DoS'd remotely!

> For me it looks like that varnishlog.service is waiting for varnish.service
> to start and the varnish.service seems to take a bit long to start up?

Correct.

> Is there a systemd service option to wait for a few seconds before starting
> varnishlog.service
> something like a delayed start of the service?

Not a systemd option, but you can use the `-t` option in varnishncsa
or varnishlog to increase the timeout (defaults to 5s).

> VARNISHLOG_PARAMS="-f /etc/varnish/varnishncsa-log-format-string -a -w
> /var/log/varnish/varnish.log"

This is where you want to add a timeout option. See man varnishncsa.

Cheers,
Dridi



More information about the varnish-misc mailing list