[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xend: Drop long deprecation warning in /var/run not /tmp



commit d335119f7ab03c1221386749e0b539d67bdc7831
Author:     Ian Campbell <ian.campbell@xxxxxxxxxx>
AuthorDate: Fri Oct 11 12:49:05 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Oct 16 11:49:09 2013 +0100

    xend: Drop long deprecation warning in /var/run not /tmp
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/python/xen/xm/xm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/python/xen/xm/xm b/tools/python/xen/xm/xm
index 6a3f545..fef4272 100755
--- a/tools/python/xen/xm/xm
+++ b/tools/python/xen/xm/xm
@@ -6,7 +6,7 @@ from xen.xm import main
 
 print >>sys.stderr, ("WARNING: xend/xm is deprecated.")
 
-if not os.path.exists("/tmp/xm-deprecation-long-warning"):
+if not os.path.exists("/var/run/xm-deprecation-long-warning"):
     print >>sys.stderr, ("""
 xend is deprecated and scheduled for removal. Please migrate to another
 toolstack ASAP.
@@ -15,6 +15,6 @@ See http://wiki.xen.org/wiki/Choice_of_Toolstacks for 
information on
 other alternatives, including xl which is designed to be a drop in
 replacement for xm (http://wiki.xen.org/wiki/XL).
 """)
-    open("/tmp/xm-deprecation-long-warning", "w").close()
+    open("/var/run/xm-deprecation-long-warning", "w").close()
 
 main.main(sys.argv)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.