2011-03-21 17:47:37 +01:00
|
|
|
Index: xen-4.1.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
2008-02-02 01:58:27 +01:00
|
|
|
===================================================================
|
2011-03-21 17:47:37 +01:00
|
|
|
--- xen-4.1.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-4.1.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
@@ -2303,7 +2303,7 @@ class XendDomainInfo:
|
2010-01-16 01:12:54 +01:00
|
|
|
# To prohibit directory traversal
|
|
|
|
based_name = os.path.basename(self.info['name_label'])
|
|
|
|
|
|
|
|
- coredir = "/var/xen/dump/%s" % (based_name)
|
|
|
|
+ coredir = "/var/lib/xen/dump/%s" % (based_name)
|
|
|
|
if not os.path.exists(coredir):
|
|
|
|
try:
|
|
|
|
mkdir.parents(coredir, stat.S_IRWXU)
|