From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH RFC 2/3] systemd: add xen-init-dom0 service Date: Tue, 21 Oct 2014 09:27:44 +0200 Message-ID: <20141021072744.GA10846@aepfle.de> References: <1413817309-4884-1-git-send-email-wei.liu2@citrix.com> <1413817309-4884-3-git-send-email-wei.liu2@citrix.com> <1413831206.97460.YahooMailNeo@web162405.mail.bf1.yahoo.com> <20141020202759.GA21346@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20141020202759.GA21346@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Mark Pryor , "mcgrof@do-not-panic.com" , "ian.jackson@eu.citrix.com" , "ian.campbell@citrix.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, Oct 20, Wei Liu wrote: > diff --git a/tools/hotplug/Linux/systemd/xenstored.service.in b/tools/hotplug/Linux/systemd/xenstored.service.in > index 013e69e..e3bf837 100644 > --- a/tools/hotplug/Linux/systemd/xenstored.service.in > +++ b/tools/hotplug/Linux/systemd/xenstored.service.in > @@ -17,8 +17,6 @@ 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" > -ExecStartPost=-@bindir@/xenstore-write "/local/domain/0/name" "Domain-0" > -ExecStartPost=-@bindir@/xenstore-write "/local/domain/0/domid" 0 This should have been in ae931f568fe9e91179f3ff3aab199a84d39a626b ("libxl: introduce helper to initialise Dom0"). Acked-by: Olaf Hering Olaf