[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-xen-4.5] tools/hotplug: update dependency of var-lib-xenstored.mount



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@xxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> 
> 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
>  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.