[ovs-dev] [PATCH] xenserver: Don't remove network.dbcache on uninstall.

Ben Pfaff blp at nicira.com
Tue May 3 18:03:27 UTC 2011


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 at nicira.com>
Reported-by: Bob Ball <bob.ball at citrix.com>
---
 xenserver/openvswitch-xen.spec |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec
index b7b987e..97bf99c 100644
--- a/xenserver/openvswitch-xen.spec
+++ b/xenserver/openvswitch-xen.spec
@@ -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
-- 
1.7.4.4




More information about the dev mailing list