14 lines
678 B
Diff
14 lines
678 B
Diff
|
Index: xen-4.2.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
||
|
===================================================================
|
||
|
--- xen-4.2.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
||
|
+++ xen-4.2.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
||
|
@@ -2320,7 +2320,7 @@ class XendDomainInfo:
|
||
|
# 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)
|