Displaying 3 results from an estimated 3 matches for "try_xenstored_var".
2019 Feb 12
2
[PATCH 08/13] xen init script: rewrite xenstored start logic
.../*) USER_XENSTORED="$XENSTORED" ; try_xenstoreds=USER_XENSTORED ;;
?*) USER_XENSTORED="$ROOT"/bin/$XENSTORED ; try_xenstoreds=USER_XENSTORED ;;
'') USER_XENSTORED="" ; try_xenstoreds='OXENSTORED CXENSTORED' ;;
esac
and then
for try_xenstored_var in $try_xenstoreds; do
eval "try_xenstored=\$$try_xenstored_var"
...
Thanks,
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fi...
2019 Feb 12
2
[PATCH 08/13] xen init script: rewrite xenstored start logic
...xenstored_start
> case "$?" in
> 0|1) ;;
> *) log_end_msg 1; exit ;;
> esac
>
> I mean, why torture the reader of the code with counter intuitive 1
> values that mean success...
I agree. Madness.
> > for try_xenstored_var in $try_xenstoreds; do
> > eval "try_xenstored=\$$try_xenstored_var"
> > ...
>
> Yes, that way the two start-stop-daemon can be one instead, nice!
>
> And do you agree that exploding when an explicit choice has been made by
> the user + that binary can...
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