tools: make xenstore domain/daemon configurable
v2 cover tools: make xenstore domain/daemon configurable
Add a configuration option to /etc/sysconfig/xencommons to let the user configure whether he wants to start xenstore service as a daemon or as a stubdom.
Changes in V2:
- move service type modification form patch 2 to patch 1 as implied by Ross Lagerwall (at least I guess so)
- add .gitignore entry for launch-xenstore
Juergen Gross (2):
tools: remove systemd xenstore socket definitions
tools: make xenstore domain easy configurable
.gitignore | 1 + tools/configure | 4 +- tools/hotplug/Linux/Makefile | 1 + tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 42 +++++- tools/hotplug/Linux/init.d/xencommons.in | 35 +---- tools/hotplug/Linux/launch-xenstore.in | 84 +++++++++++ tools/hotplug/Linux/systemd/Makefile | 5 - tools/hotplug/Linux/systemd/xenstored.service.in | 14 +- tools/hotplug/Linux/systemd/xenstored.socket.in | 13 -- tools/hotplug/Linux/systemd/xenstored_ro.socket.in | 13 -- tools/ocaml/xenstored/Makefile | 10 +- tools/ocaml/xenstored/systemd.ml | 17 --- tools/ocaml/xenstored/systemd.mli | 24 ---- tools/ocaml/xenstored/systemd_stubs.c | 153 --------------------- tools/ocaml/xenstored/utils.ml | 21 +-- tools/ocaml/xenstored/xenstored.ml | 2 - tools/xenstore/Makefile | 3 - tools/xenstore/xenstored_core.c | 113 +-------------- 18 files changed, 144 insertions(+), 411 deletions(-) create mode 100644 tools/hotplug/Linux/launch-xenstore.in delete mode 100644 tools/hotplug/Linux/systemd/xenstored.socket.in delete mode 100644 tools/hotplug/Linux/systemd/xenstored_ro.socket.in delete mode 100644 tools/ocaml/xenstored/systemd.ml delete mode 100644 tools/ocaml/xenstored/systemd.mli delete mode 100644 tools/ocaml/xenstored/systemd_stubs.c
Signature · 7 lines
2.6.6 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH v2 1/2 tools: remove systemd xenstore socket definitions
On a system with systemd the xenstore sockets are created via systemd. Remove the related configuration files in order to be able to decide at runtime whether the sockets should be created or not. This will enable Xen to start xenstore either via a daemon or via a stub domain.
--- tools/configure | 2 +- tools/hotplug/Linux/systemd/Makefile | 5 - tools/hotplug/Linux/systemd/xenstored.service.in | 6 +- tools/hotplug/Linux/systemd/xenstored.socket.in | 13 -- tools/hotplug/Linux/systemd/xenstored_ro.socket.in | 13 -- tools/ocaml/xenstored/Makefile | 10 +- tools/ocaml/xenstored/systemd.ml | 17 --- tools/ocaml/xenstored/systemd.mli | 24 ---- tools/ocaml/xenstored/systemd_stubs.c | 153 --------------------- tools/ocaml/xenstored/utils.ml | 21 +-- tools/ocaml/xenstored/xenstored.ml | 2 - tools/xenstore/Makefile | 3 - tools/xenstore/xenstored_core.c | 113 +-------------- 13 files changed, 13 insertions(+), 369 deletions(-) delete mode 100644 tools/hotplug/Linux/systemd/xenstored.socket.in delete mode 100644 tools/hotplug/Linux/systemd/xenstored_ro.socket.in delete mode 100644 tools/ocaml/xenstored/systemd.ml delete mode 100644 tools/ocaml/xenstored/systemd.mli delete mode 100644 tools/ocaml/xenstored/systemd_stubs.c
tools/configure +1 -1
@@ -9670,7 +9670,7 @@ fi if test "x$systemd" = "xy"; then : - ac_config_files="$ac_config_files hotplug/Linux/systemd/proc-xen.mount hotplug/Linux/systemd/var-lib-xenstored.mount hotplug/Linux/systemd/xen-init-dom0.service hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service hotplug/Linux/systemd/xen-watchdog.service hotplug/Linux/systemd/xenconsoled.service hotplug/Linux/systemd/xendomains.service hotplug/Linux/systemd/xendriverdomain.service hotplug/Linux/systemd/xenstored.service hotplug/Linux/systemd/xenstored.socket hotplug/Linux/systemd/xenstored_ro.socket" + ac_config_files="$ac_config_files hotplug/Linux/systemd/proc-xen.mount hotplug/Linux/systemd/var-lib-xenstored.mount hotplug/Linux/systemd/xen-init-dom0.service hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service hotplug/Linux/systemd/xen-watchdog.service hotplug/Linux/systemd/xenconsoled.service hotplug/Linux/systemd/xendomains.service hotplug/Linux/systemd/xendriverdomain.service hotplug/Linux/systemd/xenstored.service" fi
tools/hotplug/Linux/systemd/Makefile +0 -5
@@ -6,9 +6,6 @@ XEN_SYSTEMD_MODULES = xen.conf XEN_SYSTEMD_MOUNT = proc-xen.mount XEN_SYSTEMD_MOUNT += var-lib-xenstored.mount -XEN_SYSTEMD_SOCKET = xenstored.socket -XEN_SYSTEMD_SOCKET += xenstored_ro.socket - XEN_SYSTEMD_SERVICE = xenstored.service XEN_SYSTEMD_SERVICE += xenconsoled.service XEN_SYSTEMD_SERVICE += xen-qemu-dom0-disk-backend.service
@@ -19,7 +16,6 @@ XEN_SYSTEMD_SERVICE += xendriverdomain.service ALL_XEN_SYSTEMD = $(XEN_SYSTEMD_MODULES) \ $(XEN_SYSTEMD_MOUNT) \ - $(XEN_SYSTEMD_SOCKET) \ $(XEN_SYSTEMD_SERVICE) .PHONY: all
@@ -38,7 +34,6 @@ install: $(ALL_XEN_SYSTEMD) $(INSTALL_DIR) $(DESTDIR)$(XEN_SYSTEMD_DIR) [ -d $(DESTDIR)$(XEN_SYSTEMD_MODULES_LOAD) ] || \ $(INSTALL_DIR) $(DESTDIR)$(XEN_SYSTEMD_MODULES_LOAD) - $(INSTALL_DATA) *.socket $(DESTDIR)$(XEN_SYSTEMD_DIR) $(INSTALL_DATA) *.service $(DESTDIR)$(XEN_SYSTEMD_DIR) $(INSTALL_DATA) *.mount $(DESTDIR)$(XEN_SYSTEMD_DIR) $(INSTALL_DATA) *.conf $(DESTDIR)$(XEN_SYSTEMD_MODULES_LOAD)
tools/hotplug/Linux/systemd/xenstored.service.in +3 -3
@@ -1,13 +1,14 @@ [Unit] Description=The Xen xenstore -Requires=xenstored_ro.socket xenstored.socket proc-xen.mount var-lib-xenstored.mount +Requires=proc-xen.mount var-lib-xenstored.mount After=proc-xen.mount var-lib-xenstored.mount Before=libvirtd.service libvirt-guests.service RefuseManualStop=true ConditionPathExists=/proc/xen/capabilities [Service] -Type=notify +Type=oneshot +RemainAfterExit=true KillMode=none Environment=XENSTORED_ARGS= Environment=XENSTORED=@XENSTORED@
@@ -19,6 +20,5 @@ ExecStart=/bin/sh -c "exec $XENSTORED --no-fork $XENSTORED_ARGS" [Install] WantedBy=multi-user.target -Also=xenstored_ro.socket xenstored.socket Also=proc-xen.mount Also=var-lib-xenstored.mount
tools/hotplug/Linux/systemd/xenstored.socket.in deleted +0 -13
@@ -1,13 +0,0 @@ -[Unit] -Description=xenstore socket -Requires=proc-xen.mount var-lib-xenstored.mount -After=proc-xen.mount var-lib-xenstored.mount -ConditionPathExists=/proc/xen/capabilities - -[Socket] -ListenStream=@XEN_RUN_STORED@/socket -SocketMode=0600 -Service=xenstored.service - -[Install] -WantedBy=sockets.target
tools/hotplug/Linux/systemd/xenstored_ro.socket.in deleted +0 -13
@@ -1,13 +0,0 @@ -[Unit] -Description=xenstore ro socket -Requires=proc-xen.mount var-lib-xenstored.mount -After=proc-xen.mount var-lib-xenstored.mount -ConditionPathExists=/proc/xen/capabilities - -[Socket] -ListenStream=@XEN_RUN_STORED@/socket_ro -SocketMode=0660 -Service=xenstored.service - -[Install] -WantedBy=sockets.target
tools/ocaml/xenstored/Makefile +1 -9
@@ -4,8 +4,6 @@ include $(OCAML_TOPLEVEL)/common.make # Include configure output (config.h) CFLAGS += -include $(XEN_ROOT)/tools/config.h -CFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_CFLAGS) -LDFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_LIBS) CFLAGS += $(CFLAGS-y) CFLAGS += $(APPEND_CFLAGS)
@@ -25,11 +23,6 @@ select_OBJS = select select_C_OBJS = select_stubs OCAML_LIBRARY = syslog select -LIBS += systemd.cma systemd.cmxa -systemd_OBJS = systemd -systemd_C_OBJS = systemd_stubs -OCAML_LIBRARY += systemd - $(foreach obj,$(systemd_C_OBJS),$(obj).o): _paths.h LIBS_systemd += $(LDFLAGS-y)
@@ -57,12 +50,11 @@ OBJS = paths \ process \ xenstored -INTF = symbol.cmi trie.cmi syslog.cmi systemd.cmi select.cmi +INTF = symbol.cmi trie.cmi syslog.cmi select.cmi XENSTOREDLIBS = \ unix.cmxa \ -ccopt -L -ccopt . syslog.cmxa \ - -ccopt -L -ccopt . systemd.cmxa \ -ccopt -L -ccopt . select.cmxa \ -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/mmap $(OCAML_TOPLEVEL)/libs/mmap/xenmmap.cmxa \ -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/eventchn $(OCAML_TOPLEVEL)/libs/eventchn/xeneventchn.cmxa \
tools/ocaml/xenstored/systemd.ml deleted +0 -17
@@ -1,17 +0,0 @@ -(* - * Copyright (C) 2014 Luis R. Rodriguez <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation; version 2.1 only. with the special - * exception on linking described in file LICENSE. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - *) - -external sd_listen_fds: string -> Unix.file_descr = "ocaml_sd_listen_fds" -external launched_by_systemd: unit -> bool = "ocaml_launched_by_systemd" -external sd_notify_ready: unit -> unit = "ocaml_sd_notify_ready"
tools/ocaml/xenstored/systemd.mli deleted +0 -24
@@ -1,24 +0,0 @@ -(* - * Copyright (C) 2014 Luis R. Rodriguez <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation; version 2.1 only. with the special - * exception on linking described in file LICENSE. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - *) - -(** Calls the C library sd_listen_fds() function for us. Although - * the library doesn't accept argument we send one over to help - * us do sanity checks on the expected sockets *) -val sd_listen_fds: string -> Unix.file_descr - -(** Tells us whether the process is launched by systemd *) -val launched_by_systemd: unit -> bool - -(** Tells systemd we're ready *) -external sd_notify_ready: unit -> unit = "ocaml_sd_notify_ready"
tools/ocaml/xenstored/systemd_stubs.c deleted +0 -153
153 lines not on this page · raw message
tools/ocaml/xenstored/utils.ml +7 -14
@@ -73,21 +73,14 @@ let trim_path path = let join_by_null ls = String.concat "\000" ls (* unix utils *) -let create_regular_unix_socket name = - Unixext.unlink_safe name; - Unixext.mkdir_rec (Filename.dirname name) 0o700; - let sockaddr = Unix.ADDR_UNIX(name) in - let sock = Unix.socket Unix.PF_UNIX Unix.SOCK_STREAM 0 in - Unix.set_close_on_exec sock; - Unix.bind sock sockaddr; - Unix.listen sock 1; - sock - let create_unix_socket name = - if Systemd.launched_by_systemd() then - Systemd.sd_listen_fds name - else - create_regular_unix_socket name + Unixext.unlink_safe name; + Unixext.mkdir_rec (Filename.dirname name) 0o700; + let sockaddr = Unix.ADDR_UNIX(name) in + let sock = Unix.socket Unix.PF_UNIX Unix.SOCK_STREAM 0 in + Unix.bind sock sockaddr; + Unix.listen sock 1; + sock let read_file_single_integer filename = let fd = Unix.openfile filename [ Unix.O_RDONLY ] 0o640 in
tools/ocaml/xenstored/xenstored.ml +0 -2
@@ -428,8 +428,6 @@ let _ = process_domains store cons domains in - if Systemd.launched_by_systemd () then - Systemd.sd_notify_ready (); while not !quit do try
tools/xenstore/Makefile +0 -3
@@ -14,9 +14,6 @@ CFLAGS += $(CFLAGS_libxenctrl) CFLAGS += -DXEN_LIB_STORED="\"$(XEN_LIB_STORED)\"" CFLAGS += -DXEN_RUN_STORED="\"$(XEN_RUN_STORED)\"" -CFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_CFLAGS) -LDFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_LIBS) - CFLAGS += $(CFLAGS-y) LDFLAGS += $(LDFLAGS-y)
tools/xenstore/xenstored_core.c +1 -112
149 lines not on this page · raw message
Signature · 7 lines
2.6.6 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH v2 1/2] tools: remove systemd xenstore socket definitions
Juergen Gross writes ("[PATCH v2 1/2] tools: remove systemd xenstore socket definitions"):
Quoted 4 lines
On a system with systemd the xenstore sockets are created via systemd. Remove the related configuration files in order to be able to decide at runtime whether the sockets should be created or not. This will enable Xen to start xenstore either via a daemon or via a stub domain.
The core parts of this look OK to me. I think this needs an ack from Dave Scott. I'd also like to invite comments from any systemd experts.
However:
tools/configure
Quoted 4 lines
tools/configure +0
-0
Where is the corresponding original source change for this hunk ? You need to include that. (Also please write a note in the commit message to remind the committer to rerun autogen.sh.)
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH v2 1/2] tools: remove systemd xenstore socket definitions
Quoted 12 lines · Ian Jackson
Juergen Gross writes ("[PATCH v2 1/2] tools: remove systemd xenstore socket definitions"):
Quoted 4 lines
On a system with systemd the xenstore sockets are created via systemd. Remove the related configuration files in order to be able to decide at runtime whether the sockets should be created or not. This will enable Xen to start xenstore either via a daemon or via a stub domain.
The core parts of this look OK to me. I think this needs an ack from Dave Scott. I'd also like to invite comments from any systemd experts.
However:
Quoted 8 lines
tools/configure
Quoted 4 lines
tools/configure +0
-0Where is the corresponding original source change for this hunk ? You need to include that. (Also please write a note in the commit message to remind the committer to rerun
autogen.sh.)
Okay, will do.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH v2 2/2 tools: make xenstore domain easy configurable
In reply to Juergen GrossAdd configuration entries to sysconfig.xencommons for selection of the xenstore type (domain or daemon) and start the selected xenstore service via a script called from sysvinit or systemd.
---
V2: add .gitignore entry for launch-xenstore
--- .gitignore | 1 + tools/configure | 2 +- tools/hotplug/Linux/Makefile | 1 + tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 42 ++++++++++- tools/hotplug/Linux/init.d/xencommons.in | 35 ++------- tools/hotplug/Linux/launch-xenstore.in | 84 ++++++++++++++++++++++ tools/hotplug/Linux/systemd/xenstored.service.in | 8 +-- 7 files changed, 131 insertions(+), 42 deletions(-) create mode 100644 tools/hotplug/Linux/launch-xenstore.in
.gitignore +1 -0
@@ -156,6 +156,7 @@ tools/hotplug/Linux/init.d/xen-watchdog tools/hotplug/Linux/init.d/xencommons tools/hotplug/Linux/init.d/xendomains tools/hotplug/Linux/init.d/xendriverdomain +tools/hotplug/Linux/launch-xenstore tools/hotplug/Linux/systemd/*.conf tools/hotplug/Linux/systemd/*.mount tools/hotplug/Linux/systemd/*.socket
tools/configure +1 -1
@@ -2410,7 +2410,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_config_files="$ac_config_files ../config/Tools.mk hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdomain hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconfig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencommons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain hotplug/Linux/vif-setup hotplug/Linux/xen-hotplug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotplug/NetBSD/rc.d/xendriverdomain libxl/xenlight.pc.in libxl/xlutil.pc.in ocaml/xenstored/oxenstored.conf" +ac_config_files="$ac_config_files ../config/Tools.mk hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdomain hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconfig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencommons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain hotplug/Linux/launch-xenstore hotplug/Linux/vif-setup hotplug/Linux/xen-hotplug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotplug/NetBSD/rc.d/xendriverdomain libxl/xenlight.pc.in libxl/xlutil.pc.in ocaml/xenstored/oxenstored.conf" ac_config_headers="$ac_config_headers config.h"
tools/hotplug/Linux/Makefile +1 -0
@@ -30,6 +30,7 @@ XEN_SCRIPTS += block-drbd-probe XEN_SCRIPTS += block-dummy XEN_SCRIPTS += $(XEN_SCRIPTS-y) XEN_SCRIPTS += colo-proxy-setup +XEN_SCRIPTS += launch-xenstore SUBDIRS-$(CONFIG_SYSTEMD) += systemd
tools/hotplug/Linux/init.d/sysconfig.xencommons.in +39 -3
72 lines not on this page · raw message
tools/hotplug/Linux/init.d/xencommons.in +4 -31
@@ -62,37 +62,10 @@ do_start () { mkdir -p ${XEN_RUN_DIR} mkdir -p ${XEN_LOCK_DIR} - if ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` - then - test -z "$XENSTORED_ROOTDIR" && XENSTORED_ROOTDIR="@XEN_LIB_STORED@" - rm -f "$XENSTORED_ROOTDIR"/tdb* &>/dev/null - test -z "$XENSTORED_TRACE" || XENSTORED_ARGS=" -T @XEN_LOG_DIR@/xenstored-trace.log" + @XEN_SCRIPT_DIR@/launch-xenstore || exit 1 - if [ -n "$XENSTORED" ] ; then - echo -n Starting $XENSTORED... - $XENSTORED --pid-file /var/run/xenstored.pid $XENSTORED_ARGS - else - echo "No xenstored found" - exit 1 - fi - - # Wait for xenstored to actually come up, timing out after 30 seconds - while [ $time -lt $timeout ] && ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` ; do - echo -n . - time=$(($time+1)) - sleep 1 - done - echo - - # Exit if we timed out - if ! [ $time -lt $timeout ] ; then - echo Could not start xenstored - exit 1 - fi - - echo Setting domain 0 name, domid and JSON config... - ${LIBEXEC_BIN}/xen-init-dom0 - fi + echo Setting domain 0 name, domid and JSON config... + ${LIBEXEC_BIN}/xen-init-dom0 echo Starting xenconsoled... test -z "$XENCONSOLED_TRACE" || XENCONSOLED_ARGS=" --log=$XENCONSOLED_TRACE"
@@ -126,7 +99,7 @@ case "$1" in do_start ;; status) - ${bindir}/xenstore-read -s / + test -f /var/run/xenstored.pid ;; stop) do_stop
tools/hotplug/Linux/launch-xenstore.in new file +84 -0
84 lines not on this page · raw message
tools/hotplug/Linux/systemd/xenstored.service.in +1 -7
@@ -9,14 +9,8 @@ ConditionPathExists=/proc/xen/capabilities [Service] Type=oneshot RemainAfterExit=true -KillMode=none -Environment=XENSTORED_ARGS= -Environment=XENSTORED=@XENSTORED@ -EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities -ExecStartPre=-/bin/rm -f @XEN_LIB_STORED@/tdb* -ExecStartPre=/bin/mkdir -p @XEN_RUN_DIR@ -ExecStart=/bin/sh -c "exec $XENSTORED --no-fork $XENSTORED_ARGS" +ExecStart=@XEN_SCRIPT_DIR@/launch-xenstore [Install] WantedBy=multi-user.target
Signature · 7 lines
2.6.6 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH v2 2/2] tools: make xenstore domain easy configurable
Juergen Gross writes ("[PATCH v2 2/2] tools: make xenstore domain easy configurable"):
Quoted 3 lines
Add configuration entries to sysconfig.xencommons for selection of the xenstore type (domain or daemon) and start the selected xenstore service via a script called from sysvinit or systemd.
Can you please split this up into two patches,
* Break launch-xenstore out of xencommons (no functional change)
* Use launch-xenstore instead of sockets with systemd
?
As ever it's a lot easier to review the functional change when it's not mixed in with code motion.
I suspect that the latter mnay need to be combined with parts of what is currently 1/2, since AFAICT after applying 1 nothing starts xenstored any more under systemd.
(Also your patch again contains a patch to configure but no corresponding patch to the source file(s).)
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH v2 2/2] tools: make xenstore domain easy configurable
Quoted 13 lines · Ian Jackson
Juergen Gross writes ("[PATCH v2 2/2] tools: make xenstore domain easy configurable"):
Quoted 3 lines
Add configuration entries to sysconfig.xencommons for selection of the xenstore type (domain or daemon) and start the selected xenstore service via a script called from sysvinit or systemd.
Can you please split this up into two patches,
* Break launch-xenstore out of xencommons (no functional change)
* Use launch-xenstore instead of sockets with systemd
?As ever it's a lot easier to review the functional change when it's not mixed in with code motion.
Quoted 6 lines
I suspect that the latter mnay need to be combined with parts of what is currently 1/2, since AFAICT after applying 1 nothing starts xenstored any more under systemd.
(Also your patch again contains a patch to configure but no corresponding patch to the source file(s).)
Okay, I'll have a try.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel