Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95535 Details for
Bug 145683
XEN: System (Dom0) shutdown/reboot fails if domU hangs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for /etc/init.d/xendomains
xendomains-init.patch (text/plain), 823 bytes, created by
Andreas Gerstenberg
on 2006-08-31 02:02:34 UTC
(
hide
)
Description:
Patch for /etc/init.d/xendomains
Filename:
MIME Type:
Creator:
Andreas Gerstenberg
Created:
2006-08-31 02:02:34 UTC
Size:
823 bytes
patch
obsolete
>--- xendomains-init.orig 2006-08-31 10:35:49.000000000 +0200 >+++ xendomains-init 2006-08-31 10:37:55.000000000 +0200 >@@ -52,7 +52,22 @@ > name=$(get_domname ${dom}) > if is_running ${name} ; then > ebegin " Stopping domain ${name}" >- xm shutdown --wait ${name} >/dev/null >+ count=0 >+ einfon " Waiting for domain ${name} (${SHUTDOWN_TIMEOUT:=60} sec) " >+ xm shutdown ${name} >/dev/null >+ while is_running ${name}; do >+ count=$(expr ${count} + 1) >+ if [ $count -gt ${SHUTDOWN_TIMEOUT} ] ; then >+ echo "" >+ einfon " Destroying domain ${name}" >+ xm destroy ${name} >/dev/null >+ sleep 2 # let xen get some time to do it >+ break >+ fi >+ sleep 1 >+ echo -n "." >+ done >+ echo "" > eend $? > else > einfo " Not Stopping domain ${name} - not running"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145683
: 95535