[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xenstore: set implicit path for socket connections
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1292522648 0 # Node ID f1b435507f343a480e61c926a1b72a4889175ce7 # Parent d461dd88ed2b1aa3210ec59992060e49ca1af48c xenstore: set implicit path for socket connections For now assume all such connections come from domain 0. Failure to do this breaks various scripts which assume that they operate relative to the domains "home directory". This matches the behaviour of the ocaml xenstored. Thanks to report from Olaf Hering. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/xenstore/xenstored_domain.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r d461dd88ed2b -r f1b435507f34 tools/xenstore/xenstored_domain.c --- a/tools/xenstore/xenstored_domain.c Thu Dec 16 17:58:00 2010 +0000 +++ b/tools/xenstore/xenstored_domain.c Thu Dec 16 18:04:08 2010 +0000 @@ -547,7 +547,7 @@ const char *get_implicit_path(const stru const char *get_implicit_path(const struct connection *conn) { if (!conn->domain) - return NULL; + return "/local/domain/0"; return conn->domain->path; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |