Displaying 5 results from an estimated 5 matches for "wdog_pid".
2007 Jan 28
1
Bug#408739: xen-utils-common: xendomans script sets WDOG_PID and then references WDOG_PIG
Package: xen-utils-common
Version: 3.0.3-0-2
Severity: normal
While reviewing the contents of /etc/init.d/xendomains, I noticed that
the script sets a variable named WDOG_PID but later references an
uninitialized variable named WDOG_PIG. I'm not sure how much this
impairs the behavior of Xen, so I left the severity at "normal". See
below for a simple patch:
--- xendomains.orig 2007-01-27 18:42:02.000000000 -0600
+++ xendomains 2007-01-27 18:42:22.0...
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...NDOMAINS_USLEEP
done
fi
if test "$state" = "-b---d" -o "$state" = "-----d"; then
echo -n "(zomb)"
continue
fi
if test -n "$XENDOMAINS_MIGRATE"; then
echo -n "(migr)"
watchdog_xencmd migrate &
WDOG_PID=$!
XMR=`$CMD migrate $id $XENDOMAINS_MIGRATE 2>&1 1>/dev/null`
if test $? -ne 0; then
echo -e "\nAn error occurred while migrating domain:\n$XMR\n"
rc_failed $?
echo -e '!'
kill $WDOG_PID >/dev/null 2>&1
else
kill $WDOG_PID >/dev/nul...
2011 Jun 19
1
Bug#630984: xen-utils-common: shutdown hangs with xenwatch and reboot being blocked
...s, I modified /etc/init.d/xendomains,
sleeping for 2 seconds a the end of the stop() function. One second of
sleep sometimes wasn't enough.
*** xendomains-org Sun Jun 19 15:26:49 2011
--- xendomains Sun Jun 19 15:27:13 2011
***************
*** 342,347 ****
--- 342,350 ----
kill $WDOG_PID >/dev/null 2>&1
fi
+ # prevent race condition
+ sleep 2
+
# Unconditionally delete lock file
rm -f $LOCKFILE
}
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable...
2006 Dec 13
1
Bug#402974: xen-utils-common: xen domain do not always shutdown
...;-----d"; then
return 1;
fi
- done < <(xm list | grep -v '^Name')
+ done < <(xm_list | grep -v '^Name')
return 0
}
@@ -316,14 +332,14 @@
echo -n "(shut)"
watchdog_xm shutdown &
WDOG_PID=$!
- xm shutdown $id $XENDOMAINS_SHUTDOWN
+ xm shutdown $id $XENDOMAINS_SHUTDOWN > /dev/null
if test $? -ne 0; then
rc_failed $?
echo -n '!'
fi
kill $WDOG_PIG >/dev/null 2>&1
f...
2013 Jun 30
18
Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work
...case \"$name\" in
+ $NAMES)
# nothing
;;
- (*)
+ *)
echo -e ''(skip)''
continue
;;
@@ -430,6 +430,7 @@
kill $WDOG_PID >/dev/null 2>&1
echo -e .
usleep 1000
+ name=;id=
continue
fi
fi
@@ -446,6 +447,7 @@
fi
kill $WDOG_PID >/dev/null 2>&1
fi
+ name=;id=
done < &...