From 49b2c2d00e1c78427d669cd32520f7fac657611b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 3 May 2011 11:03:08 -0700 Subject: [PATCH] xenserver: Don't remove network.dbcache on uninstall. 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 Reported-by: Bob Ball --- xenserver/openvswitch-xen.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index b7b987e32..97bf99ca0 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 -- 2.43.0