From: Ian Campbell <Ian.Campbell@citrix.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH for-xen-4.5] tools/hotplug: update dependency of var-lib-xenstored.mount
Date: Mon, 20 Oct 2014 15:35:09 +0100 [thread overview]
Message-ID: <1413815709.13796.14.camel@citrix.com> (raw)
In-Reply-To: <1413366087-5805-1-git-send-email-olaf@aepfle.de>
On Wed, 2014-10-15 at 11:41 +0200, Olaf Hering wrote:
> After previous change which uses /proc/xen/capabilities as condition the
> unit file has now a dependency on proc-xen.mount. Add a Requires= to let
> this unit fail if proc-xen.mount fails. Add an After= as ordering hint.
>
> This was noticed with a pvops dom0, in a xenlinux dom0 the proc file is
> always present.
Should this be folded into "tools/hotplug: fix systemd service files for
dom0"?
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> ---
>
> This is finally tested with a 3.17 pvops dom0.
>
> tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in b/tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in
> index 64b560f..d5e04db 100644
> --- a/tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in
> +++ b/tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in
> @@ -1,5 +1,7 @@
> [Unit]
> Description=mount xenstore file system
> +Requires=proc-xen.mount
> +After=proc-xen.mount
> ConditionPathExists=/proc/xen/capabilities
> RefuseManualStop=true
>
next prev parent reply other threads:[~2014-10-20 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 9:41 [PATCH for-xen-4.5] tools/hotplug: update dependency of var-lib-xenstored.mount Olaf Hering
2014-10-20 14:35 ` Ian Campbell [this message]
2014-10-20 14:51 ` Olaf Hering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413815709.13796.14.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=olaf@aepfle.de \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.