a0e0589e8d
Rename xen_pvdrivers.conf to xen_pvdrivers-<kernel flavor>.conf - bnc#739585 - L3: Xen block-attach fails after repeated attach/detach blktap-close-fifos.patch - bnc#741159 - Fix default setting of XENSTORED_ROOTDIR in xencommons init script xencommons-xenstored-root.patch - bnc#740625 - xen: cannot interact with xend after upgrade (SLES) - bnc#738694 - xen: cannot interact with xend after upgrade (os12.1) - Other README changes included. README.SuSE - bnc#694863 - kexec fails in xen 24478-libxl_add_feature_flag_to_xenstore_for_XS_RESET_WATCHES.patch - fate#310510 - fix xenpaging xenpaging.speedup-page-out.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=165
20 lines
811 B
Diff
20 lines
811 B
Diff
Fix setting XENSTORED_ROOTDIR in xencommons
|
|
|
|
Due to a logic bug, XENSTORED_ROOTDIR was not being set to
|
|
default value when zero length.
|
|
|
|
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
|
|
Index: xen-4.1.2-testing/tools/hotplug/Linux/init.d/xencommons
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/tools/hotplug/Linux/init.d/xencommons
|
|
+++ xen-4.1.2-testing/tools/hotplug/Linux/init.d/xencommons
|
|
@@ -47,7 +47,7 @@ do_start () {
|
|
|
|
if ! `xenstore-read -s / >/dev/null 2>&1`
|
|
then
|
|
- test -z "$XENSTORED_ROOTDIR" || XENSTORED_ROOTDIR="/var/lib/xenstored"
|
|
+ test -z "$XENSTORED_ROOTDIR" && XENSTORED_ROOTDIR="/var/lib/xenstored"
|
|
rm -f "$XENSTORED_ROOTDIR"/tdb* &>/dev/null
|
|
test -z "$XENSTORED_TRACE" || XENSTORED_ARGS=" -T /var/log/xen/xenstored-trace.log"
|
|
|