search for: xenstored_pidfil

Displaying 13 results from an estimated 13 matches for "xenstored_pidfil".

Did you mean: xenstored_pidfile
2019 Feb 12
2
[PATCH 08/13] xen init script: rewrite xenstored start logic
..., we abort and leave it alone, even if the user has switched the value > + # in /etc/default/xen from one to another. > + for try_xenstored in "$OXENSTORED" "$CXENSTORED"; do > + if [ -x $try_xenstored ]; then > + start-stop-daemon --start --quiet --pidfile "$XENSTORED_PIDFILE" \ > + --exec "$try_xenstored" --test > /dev/null > + if [ $? -eq 1 ]; then > + return 1 This exit status handling is confusing. AFAICT from the manpage for start-stop-daemon, exit status 1 means "--oknodo was not specified and nothing was done". So...
2014 Oct 12
2
Bug#764912: xen-utils-common: needs to apply SE Linux labels after creating directories in start script
...11.348923959 +1100 +++ xen 2014-10-12 17:50:49.257694941 +1100 @@ -66,6 +66,7 @@ [ -d /run/xen ] && return 0 mkdir -m 700 /run/xen + [ -x /sbin/restorecon ] && /sbin/restorecon /run/xen } xend_start() @@ -189,6 +190,7 @@ start-stop-daemon --start --quiet --pidfile "$XENSTORED_PIDFILE" --exec "$XENSTORED" --test > /dev/null \ || return 1 [ -d "$XENSTORED_DIR" ] || mkdir -p "$XENSTORED_DIR" + [ -x /sbin/restorecon ] && /sbin/restorecon "$XENSTORED_DIR" export XENSTORED_ROOTDIR="$XENSTORED_DIR" start-stop-...
2014 Nov 27
0
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...# + # Work-around kernel regression where short name links of + # /proc/$$/exe get replaced on rename unconditionally. This + # should be fixed in the kernel but hitting a bad kernel is + # fatal with starting qemu in dom0 (dpkg/qemu hangs). + # + if [ -f $XENSTORED_PIDFILE ]; then + XSPID="$(cat $XENSTORED_PIDFILE)" + XSBIN="$(ls -la /proc/$XSPID/exe 2>/dev/null)" + XSBIN="${XSBIN#*-> }" + XSBIN="${XSBIN% (deleted)}" + if [ "$XSBIN" != "...
2014 Dec 01
2
Bug#770456: Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...round kernel regression where short name links of > + # /proc/$$/exe get replaced on rename unconditionally. This > + # should be fixed in the kernel but hitting a bad kernel is > + # fatal with starting qemu in dom0 (dpkg/qemu hangs). > + # > + if [ -f $XENSTORED_PIDFILE ]; then > + XSPID="$(cat $XENSTORED_PIDFILE)" > + XSBIN="$(ls -la /proc/$XSPID/exe 2>/dev/null)" > + XSBIN="${XSBIN#*-> }" > + XSBIN="${XSBIN% (deleted)}" > + if [ &qu...
2012 Jun 24
3
Bug#678719: xen-utils-common: please label all created directories for SE Linux
...x labels. Failing to correctly label them may result in Xen not working correctly when SE Linux is enabled. --- /etc/init.d/xen.orig 2012-06-24 10:29:04.000000000 +1000 +++ /etc/init.d/xen 2012-06-24 10:29:54.000000000 +1000 @@ -182,6 +182,7 @@ start-stop-daemon --start --quiet --pidfile "$XENSTORED_PIDFILE" --exec "$XENSTORED" --test > /dev/null \ || return 1 [ -d "$XENSTORED_DIR" ] || mkdir -p "$XENSTORED_DIR" + [ -x /sbin/restorecon ] && /sbin/restorecon "$XENSTORED_DIR" export XENSTORED_ROOTDIR="$XENSTORED_DIR" start-stop-...
2014 Nov 27
3
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
On Thu, 2014-11-27 at 11:02 +0100, Stefan Bader wrote: > On 21.11.2014 13:50, Ian Campbell wrote: > > Package: xen-utils-common > > Version: 4.4.0-1 > > Severity: important > > Tags: patch > > > > Under some circumstances the xl toolstack needs to create a loopback > > mount of a guest disk in dom0 (e.g. in order to run pygrub). Depending > > on
2010 Sep 19
3
Bug#597403: xen-utils-common: need to run restorecon in /etc/init.d/xend on SE Linux systems
...ESC="Xen daemons" VERSION=$(xen-version) ROOT=/usr/lib/xen-$VERSION XEND="$ROOT"/bin/xend XENCONSOLED="$ROOT"/bin/xenconsoled XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" XENSTORED="$ROOT"/bin/xenstored XENSTORED_DIR="/var/run/xenstored" XENSTORED_PIDFILE="/var/run/xenstore.pid" [ "$VERSION" ] || exit 0 [ -x "$XEND" ] || exit 0 [ -r /etc/default/xend ] && . /etc/default/xend . /lib/init/vars.sh . /lib/lsb/init-functions modules_setup() { modprobe xenfs 2>/dev/null modprobe xen-evtchn 2>/dev/null } xenfs...
2019 Feb 10
21
[PATCH 00/13] Patch blast of salsa wip.testme branch
The contents are the wip.testme branch currently on salsa. I combined the wip.initscript and wip.oxenstored into this and added more things today. I think this is pretty gtg and it's smoke tested (in several cases by scping files around instead of doing package build), so it needs a final extra review and test round before putting it in master branch (which I don't want to force push). I
2015 Jan 22
5
Ubuntu delta against 4.5.0-1 in experimental for disussion
...mmon.xen.init --- xen-4.5.0/debian/xen-utils-common.xen.init 2015-01-20 19:29:03.000000000 +0100 +++ xen-4.5.0/debian/xen-utils-common.xen.init 2015-01-22 12:16:25.000000000 +0100 @@ -37,6 +37,9 @@ XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" XENSTORED="$ROOT"/bin/xenstored XENSTORED_PIDFILE="/var/run/xenstore.pid" +QEMU=/usr/bin/qemu-system-i386 +QEMU_PIDFILE="/var/run/qemu-dom0.pid" +QEMU_ARGS="-xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null -parallel /dev/null" modules_setup() { @@ -179,13 +182...
2015 Jan 22
0
Ubuntu delta against 4.5.0-1 in experimental for disussion
....0/debian/xen-utils-common.xen.init 2015-01-20 19:29:03.000000000 +0100 > +++ xen-4.5.0/debian/xen-utils-common.xen.init 2015-01-22 12:16:25.000000000 +0100 > @@ -37,6 +37,9 @@ > XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" > XENSTORED="$ROOT"/bin/xenstored > XENSTORED_PIDFILE="/var/run/xenstore.pid" > +QEMU=/usr/bin/qemu-system-i386 > +QEMU_PIDFILE="/var/run/qemu-dom0.pid" > +QEMU_ARGS="-xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize > -monitor /dev/null -serial /dev/null -parallel /dev/null" I think all thi...
2014 Mar 23
1
Bug#742397: xen-utils-common: /etc/init.d/dom0weight is hardcoded to use xm
...then log_warning_msg "No usable Xen toolstack selected" exit 0 fi [ -e "$ROOT"/bin/xend ] && XEND="$ROOT"/bin/xend XENCONSOLED="$ROOT"/bin/xenconsoled XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" XENSTORED="$ROOT"/bin/xenstored XENSTORED_PIDFILE="/var/run/xenstore.pid" modules_setup() { modprobe xenfs 2>/dev/null modprobe xen-evtchn 2>/dev/null modprobe xen-gntdev 2>/dev/null } xenfs_setup() { [ -e "/proc/xen/capabilities" ] && return 0 log_progress_msg "xenfs" [ -d "/proc/xen&quot...
2015 Jan 23
2
Ubuntu delta against 4.5.0-1 in experimental for disussion
...common.xen.init 2015-01-20 19:29:03.000000000 +0100 >> +++ xen-4.5.0/debian/xen-utils-common.xen.init 2015-01-22 12:16:25.000000000 +0100 >> @@ -37,6 +37,9 @@ >> XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" >> XENSTORED="$ROOT"/bin/xenstored >> XENSTORED_PIDFILE="/var/run/xenstore.pid" >> +QEMU=/usr/bin/qemu-system-i386 >> +QEMU_PIDFILE="/var/run/qemu-dom0.pid" >> +QEMU_ARGS="-xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize >> -monitor /dev/null -serial /dev/null -parallel /dev/null"...
2014 Nov 21
3
Bug#770456: Please start a qemu process in domain 0.
...xen-utils-common.xen.init index b903877..e5f1702 100644 --- a/debian/xen-utils-common.xen.init +++ b/debian/xen-utils-common.xen.init @@ -37,6 +37,9 @@ XENCONSOLED="$ROOT"/bin/xenconsoled XENCONSOLED_PIDFILE="/var/run/xenconsoled.pid" XENSTORED="$ROOT"/bin/xenstored XENSTORED_PIDFILE="/var/run/xenstore.pid" +QEMU=/usr/bin/qemu-system-i386 +QEMU_PIDFILE="/var/run/qemu-dom0.pid" +QEMU_ARGS="-xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null -parallel /dev/null" modules_setup() { @@ -179,10 +18...