[Varnish] #1850: logrotate stops varnishncsa/varnishlog permanently under systemd.

Varnish varnish-bugs at varnish-cache.org
Mon Feb 1 17:53:59 CET 2016

#1850: logrotate stops varnishncsa/varnishlog permanently under systemd.
 Reporter:  lkarsten     |       Owner:
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  varnishncsa  |     Version:  4.1.1
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by lkarsten):

 So far it looks like RuntimeDirectory is the best bet. (man systemd.exec)
 See https://github.com/varnishcache/pkg-varnish-
 cache/commit/95082859075ac97cb0fed8aa099cc998c5b80aa2 for implemented

 While going through the logrotate setup to make sure this works, I found
 that ownership of /var/log/varnish would be wrong in the default
 installation of 4.1 on EL7. This may also have been the case on EL6. Fix
 in https://github.com/varnishcache/pkg-varnish-
 cache/commit/07585b3a71140bb6ed5f0500d9545d09f2182021 .

 Installation from scratch, varnishncsa start and a logrotate run verified
 on EL6 and EL7. Planned for repo.v-c.o in 4.1.1-2.

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

More information about the varnish-bugs mailing list