xenserver: Don't remove network.dbcache on uninstall.
authorBen Pfaff <blp@nicira.com>
Tue, 3 May 2011 18:03:08 +0000 (11:03 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 4 May 2011 16:37:21 +0000 (09:37 -0700)
network.dbcache was introduced by Open vSwitch for its own purposes, but
it has now migrated into the base install of XenServer, which uses it
whether Open vSwitch is installed or not, so we should no longer remove it
on package uninstall.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Reported-by: Bob Ball <bob.ball@citrix.com>
xenserver/openvswitch-xen.spec

index b7b987e32422ac570fbffe4dc2db0823bf22ff41..97bf99ca037dc4275fb1b1124f1f468e08830aaf 100644 (file)
@@ -305,7 +305,6 @@ if [ "$1" = "0" ]; then     # $1 = 1 for upgrade
     rm -f /etc/openvswitch/conf.db
     rm -f /etc/sysconfig/openvswitch
     rm -f /etc/openvswitch/vswitchd.cacert
-    rm -f /var/xapi/network.dbcache
 
     # Remove saved XenServer scripts directory, but only if it's empty
     rmdir -p /usr/lib/openvswitch/xs-saved 2>/dev/null