Olaf Hering writes ("[PATCH 5/5] tools/hotplug: support XENSTORED_TRACE in systemd"): > The sysv runlevel script handles the boolean variable XENSTORED_TRACE > from sysconfig.xencommons to enable tracing. Recognize this also to > the systemd service file. ... > -ExecStart=/bin/sh -c "exec $XENSTORED --no-fork $XENSTORED_ARGS" > +ExecStart=/bin/sh -c 'if test -n "${XENSTORED_TRACE}" ; then > XENSTORED_ARGS="-T /var/log/xen/xenstored-trace.log" ; fi ; exec $XENSTORED > --no-fork $$XENSTORED_ARGS'
I'm afraid I'm not happy with the way that this duplicates logic already found in /etc/init.d/xencommons. Nacked-by: Ian Jackson <ian.jack...@eu.citrix.com> I think the only way to make this work properly is to factor the necessary parts out of init.d/xencommons into a new script which can be used by both xencommons and systemd. I'm not sure such a patch would be appropriate for 4.5 at this stage. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel