[Varnish] #1794: varnish*-tools do not die when terminal disconnects

Varnish varnish-bugs at varnish-cache.org
Sun Jan 31 12:12:03 CET 2016


#1794: varnish*-tools do not die when terminal disconnects
--------------------+---------------------------------------------
 Reporter:  kwy     |       Owner:  Federico G. Schwindt <fgsch@…>
     Type:  defect  |      Status:  reopened
 Priority:  normal  |   Milestone:
Component:  build   |     Version:  4.0.3
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+---------------------------------------------
Changes (by lkarsten):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening this.

 In 4.1.1 packaging we changed the startup options when running under
 systemd to not let varnishncsa fork by itself. This makes packaging easier
 since we don't have to bother with a writeable location for the pid file,
 and so on.

 With this change, logrotation hup-ing varnishncsa running "in foreground
 mode" leads to the daemon shutting down on SIGHUP.

 Short term fix is to roll back the systemd service file change and run new
 4.1.1 packages, but I find the simplicity of not writing a pid file
 appealing. We should consider if a better indicator can be used than -D.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1794#comment:8>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list