search for: check_running

Displaying 4 results from an estimated 4 matches for "check_running".

2012 Dec 03
1
Bug#695041: "service xendomains stop" sleeps XENDOMAINS_STOP_MAXWAIT seconds for every domain
Package: xen-utils-common Version: 4.1.3-4 Function check_running in /etc/init.d/xendomains incorrectly detects a not running domain as running. As a consequence thereof "/etc/init.d/xendomains stop" needs more than XENDOMAINS_STOP_MAXWAIT * "number of xen domains known to xend" seconds to run. Here is a pseudo call trace: do_stop_shutdow...
2014 Mar 23
1
Bug#742397: xen-utils-common: /etc/init.d/dom0weight is hardcoded to use xm
...ACK")" != xl ]; then exit 0 fi if ! [ -e /proc/xen/privcmd ]; then exit 0 fi [ -r /etc/default/xendomains ] && . /etc/default/xendomains shopt -s nullglob check_config_name() { xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p' } check_running() { xen domid "$1" > /dev/null 2>&1 return $? } timeout_coproc() { local TIMEOUT=$1 shift coproc "$@" 2>&1 1>/dev/null local COPROC_OUT exec {COPROC_OUT}<&"${COPROC[0]}" local PID="$COPROC_PID" for no in $(seq 0 $T...
2012 Jun 24
3
Bug#678719: xen-utils-common: please label all created directories for SE Linux
...ev/null if test $? -ne 0 then exit 0; fi if ! [ -e /proc/xen/privcmd ]; then exit 0 fi [ -r /etc/default/xendomains ] && . /etc/default/xendomains shopt -s nullglob check_config_name() { xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p' } check_running() { xen domid "$1" > /dev/null 2>&1 return $? } timeout_coproc() { TIMEOUT="$1" for no in $(seq 0 $TIMEOUT); do if [ -z "$COPROC_PID" ]; then return 0; fi sleep 1 log_action_cont_msg done kill -INT "$COPROC_PID" >/dev/null...
2014 Jun 03
0
xen-utils-common bug
...12.079731629 +0200 @@ -42,7 +42,7 @@ check_config_name() { - xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p' + xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*"name"\: "\(.*\)".*/\1/p' } check_running()