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

[Xen-changelog] [xen-3.1-testing] xend: Scrub vnc password for vfb from xend.log.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202293089 0
# Node ID 1f0b26a308eee21743b33f4d8c128f8681b54602
# Parent  3290b4b5ecb4e1ca346d4e8fc792f8660f0836d6
xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
xen-unstable changeset:   16978:df6b8bed284500d767a21f843e99bc55ab25ae7c
xen-unstable date:        Tue Feb 05 10:40:10 2008 +0000
---
 tools/python/xen/xend/server/DevController.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff -r 3290b4b5ecb4 -r 1f0b26a308ee 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Wed Feb 06 10:17:49 
2008 +0000
+++ b/tools/python/xen/xend/server/DevController.py     Wed Feb 06 10:18:09 
2008 +0000
@@ -22,6 +22,7 @@ from xen.xend import sxp, XendOptions
 from xen.xend import sxp, XendOptions
 from xen.xend.XendError import VmError
 from xen.xend.XendLogging import log
+import xen.xend.XendConfig
 
 from xen.xend.xenstore.xstransact import xstransact, complete
 from xen.xend.xenstore.xswatch import xswatch
@@ -113,10 +114,10 @@ class DevController:
                     raise VmError("Device %s is already connected." % dev_str)
 
                 if count == 0:
-                    log.debug('DevController: writing %s to %s.', str(front),
-                              frontpath)
-                    log.debug('DevController: writing %s to %s.', str(back),
-                              backpath)
+                    log.debug('DevController: writing %s to %s.',
+                              str(front), frontpath)
+                    log.debug('DevController: writing %s to %s.',
+                              str(xen.xend.XendConfig.scrub_password(back)), 
backpath)
                 elif count % 50 == 0:
                     log.debug(
                       'DevController: still waiting to write device entries.')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.