2010-09-28 00:07:21 +02:00
|
|
|
Index: xen-4.0.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
2008-02-02 01:58:27 +01:00
|
|
|
===================================================================
|
2010-09-28 00:07:21 +02:00
|
|
|
--- xen-4.0.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-4.0.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
2010-08-01 17:25:18 +02:00
|
|
|
@@ -2317,7 +2317,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)
|