Package: xen-shell
Severity: normal
Tags: patch
Hi,
The 'shutdown force' option of xen-shell attempts to run 'xm destroy'
rather than 'sudo xm destroy', which means that the destroy command
doesn't work.
This appears to be the case in xen-shell in both lenny and squeeze/sid.
Cheers,
Michael
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- xen-shell.orig 2009-08-13 21:12:12.855723501 +0100
+++ xen-shell 2009-08-13 21:12:20.607723067 +0100
@@ -1957,7 +1957,7 @@
do_sysreq("reissuo");
sleep(2);
- system("xm destroy $ACTIVE 2>/dev/null");
+ system("sudo xm destroy $ACTIVE 2>/dev/null");
print "System terminated.\n";
}