[Varnish] #838: file backend storage file should be removed at package upgrade

Varnish varnish-bugs at varnish-cache.org
Mon Dec 20 09:36:43 CET 2010


#838: file backend storage file should be removed at package upgrade
-----------------------+----------------------------------------------------
 Reporter:  ingvar     |       Owner:       
     Type:  defect     |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  packaging  |     Version:  trunk
 Severity:  normal     |    Keywords:       
-----------------------+----------------------------------------------------
 According to Are here, running varnish witht the file storage backend, if
 varnish-2.1.0 (ubuntu lucid) is updated to varnish-2.1.(x, x>0), varnishd
 will not start unless varnish_storage.bin (the argument to -s file) is
 first removed, as varnishd, at least on 2.1.0, checks if the file backing
 the file storage has the correct version number it was generated for.

 OS packages should have a script that (solely on upgrade) removes the file
 storage backend file, if it exists.

 This was tested on Ubuntu, but may be a problem on Red Hat as well.

 Ingvar

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/838>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list