From: Ian Jackson Date: Fri, 22 Feb 2019 12:26:31 +0000 (+0000) Subject: xencommons xenstored startup: Use --pid-file $F not --pid-file=$F X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=61034353e3a814cf83b0c103fd161bc2098f668a;p=people%2Fiwj%2Fxen.git xencommons xenstored startup: Use --pid-file $F not --pid-file=$F The ocaml libraries in stretch understands only the variant with separate arguments. So a build of this package for stretch produces an error message and C xenstored instead of oxenstored. Fix this here even in the buster branch since it makes backporting easier. Signed-off-by: Ian Jackson --- diff --git a/debian/xen-utils-common.xen.init b/debian/xen-utils-common.xen.init index c082e3ad05..f66ce6b8db 100644 --- a/debian/xen-utils-common.xen.init +++ b/debian/xen-utils-common.xen.init @@ -135,7 +135,7 @@ xenconsoled_start_real() start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" -- \ - $XENCONSOLED_ARGS --pid-file="$XENCONSOLED_PIDFILE" \ + $XENCONSOLED_ARGS --pid-file "$XENCONSOLED_PIDFILE" \ || return 2 } @@ -233,7 +233,7 @@ xenstored_start() if [ -x $try_xenstored ]; then if start-stop-daemon --start --quiet \ --pidfile "$XENSTORED_PIDFILE" --exec "$try_xenstored" -- \ - $XENSTORED_ARGS --pid-file="$XENSTORED_PIDFILE"; then + $XENSTORED_ARGS --pid-file "$XENSTORED_PIDFILE"; then started_xenstored=$try_xenstored break fi