Hi,
Patch for xen-3.4-testing/xen-unstable which do not
allow to set execute permission on qemu-dm log file.
# HG changeset patch
# User dkiper@xxxxxxxxxxxx
# Date 1269611494 -3600
# Node ID 12a8db7dfdc2e589bce509069cb2ff1951bf68d5
# Parent 5b43b64a40f92b59e765c874289ed5af4d4155fe
Do not set execute permission on qemu-dm log file.
Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
diff -r 5b43b64a40f9 -r 12a8db7dfdc2 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Wed Mar 24 11:19:55 2010 +0000
+++ b/tools/python/xen/xend/image.py Fri Mar 26 14:51:34 2010 +0100
@@ -411,7 +411,7 @@ class ImageHandler:
os.rename(self.logfile, self.logfile + ".1")
null = os.open("/dev/null", os.O_RDONLY)
- logfd = os.open(self.logfile, logfile_mode)
+ logfd = os.open(self.logfile, logfile_mode, 0666)
sys.stderr.flush()
contract = osdep.prefork("%s:%d" %
# HG changeset patch
# User dkiper@xxxxxxxxxxxx
# Date 1269611880 -3600
# Node ID c51208d7795fbfd6e198b63db5373aae0c9c5743
# Parent 21d7095162da9976dad39ab1473cacd37959e070
Do not set execute permission on qemu-dm log file.
Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
diff -r 21d7095162da -r c51208d7795f tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Fri Mar 26 10:29:46 2010 +0000
+++ b/tools/python/xen/xend/image.py Fri Mar 26 14:58:00 2010 +0100
@@ -435,7 +435,7 @@ class ImageHandler:
os.rename(self.logfile, self.logfile + ".1")
null = os.open("/dev/null", os.O_RDONLY)
- logfd = os.open(self.logfile, logfile_mode)
+ logfd = os.open(self.logfile, logfile_mode, 0666)
sys.stderr.flush()
contract = osdep.prefork("%s:%d" %
Daniel
xen-3.4-testing-qemu-dm-log-file-mode_20100326.patch
Description: Text document
xen-unstable-qemu-dm-log-file-mode_20100326.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|