Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xen
xencommons-xenstored-root.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xencommons-xenstored-root.patch of Package xen
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"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor