|
|
|
|
|
|
|
|
|
|
xen-bugs
[Xen-bugs] [Bug 1471] New: xendomains incorrectly checks status of runni
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1471
Summary: xendomains incorrectly checks status of running domains
Product: Xen
Version: unstable
Platform: Unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: smelhaus@xxxxxxxxxxx
It is not possible to save running domains durimg system shutdown because
xendomains poorly evaluates the status of the domains.
The check of domain status returns an error regardless of whether the domain is
running or not.
I tried xen 3.4.0 and unstable, it is the same.
There is an error in function parseln.
--- /home/xen-unstable.hg/dist/install/etc/init.d/xendomains 2009-05-30
05:41:17.000000000 +0000
+++ xendomains 2009-05-29 21:24:15.000000000 +0000
@@ -182,11 +182,11 @@
parseln()
{
- if [[ "$1" =~ "\(domain" ]]; then
+ if [[ "$1" =~ "(domain" ]]; then
name=;id=
- else if [[ "$1" =~ "\(name" ]]; then
+ else if [[ "$1" =~ "(name" ]]; then
name=$(echo $1 | sed -e 's/^.*(name \(.*\))$/\1/')
- else if [[ "$1" =~ "\(domid" ]]; then
+ else if [[ "$1" =~ "(domid" ]]; then
id=$(echo $1 | sed -e 's/^.*(domid \(.*\))$/\1/')
fi; fi; fi
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-bugs] [Bug 1471] New: xendomains incorrectly checks status of running domains,
bugzilla-daemon <=
|
|
|
|
|