There are more issues with the xendomains init script:
- starting domains complains: '/etc/init.d/xendomains: line 128: domains: bad 
array subscript' (but domains get started)
- directory /var/run/xen is missing after reboots

First issue is due to the fact that check_config_name() returns an empty string
Second issue is related to pygrub needing the /var/run/xen directory, so this 
might actually be an issue with /etc/init.d/xen init script in stead.

Attached is a patch that fixes all three issues for me, and a minor
addition regarding issuing 'xen destroy' when 'xen shutdown' fails. I
wasn't too happy fixing the python dict parsing, so I took a few
shortcuts here and there, but the idea should be clear.

** Patch added: "Patch for /etc/init.d/xendomains"
   
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1178625/+attachment/3701122/+files/xendomains.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1178625

Title:
  xendomains can't stop any domU with xl toolstack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1178625/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to