From: Evan Broder Date: Wed, 2 Apr 2008 08:50:03 +0000 (-0400) Subject: Forgot one other change I made on black-mesa X-Git-Tag: sipb-xen-console-server/2.02^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/d608605a88e3aa44bd55ef01e6bf333447971b85 Forgot one other change I made on black-mesa svn path=/trunk/packages/sipb-xen-console-server/; revision=403 --- diff --git a/debian/changelog b/debian/changelog index 6cbc3dd..26e041d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-console-server (2.02) unstable; urgency=low + + * And...xm isn't in the path, so give a full path + + -- Evan Broder Wed, 2 Apr 2008 04:48:53 -0400 + sipb-xen-console-server (2.01) unstable; urgency=low * update-conserver script should reload, not restart diff --git a/files/usr/sbin/sipb-xen-update-conserver b/files/usr/sbin/sipb-xen-update-conserver index fb3a7a0..9201024 100755 --- a/files/usr/sbin/sipb-xen-update-conserver +++ b/files/usr/sbin/sipb-xen-update-conserver @@ -7,7 +7,7 @@ import os sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen') def live_vms(): - p = subprocess.Popen(['xm', 'list'], stdout=subprocess.PIPE) + p = subprocess.Popen(['/usr/sbin/xm', 'list'], stdout=subprocess.PIPE) p.wait() output = p.stdout.read() vms = [x.split()[0][2:] for x in output.splitlines() if x.startswith('d_')]