From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] tools/hotplug: update systemd dependency to use service instead of socket Date: Fri, 5 Dec 2014 11:15:17 -0500 Message-ID: <20141205161517.GE472@laptop.dumpdata.com> References: <1417535095.29004.4.camel@citrix.com> <20141202184240.GI32385@laptop.dumpdata.com> <20141203165410.GA2819@laptop.dumpdata.com> <20141204074756.GA4505@aepfle.de> <20141205021508.GB19424@andromeda.dapyr.net> <20141205074733.GA29524@aepfle.de> <20141205080307.GA31016@aepfle.de> <20141205082844.GA643@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20141205082844.GA643@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org, M A Young , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Fri, Dec 05, 2014 at 09:28:44AM +0100, Olaf Hering wrote: > On Fri, Dec 05, Olaf Hering wrote: > > > So looking again at > > tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in it seems that it > > happens to work for me because XENSTORED_MOUNT_CTX is set within that > > file. So if something happens to need a different value for > > XENSTORED_MOUNT_CTX it has to be provided in the to-be-created config > > file: EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xenstored > > This config file is not part of xen. > > And I wonder why a new config file has to be created, instead of just > reusing the existing tools/hotplug/Linux/init.d/sysconfig.xencommons.in? Right. > > I will send out a few patches to adjust the EnvironmentFile handling. Excellent. Will be happy to test them out. > > Its just the question if a configure --with-selinux-mount-context=VAL is > needed. OK. That might be complicated in that the context could change between bootup and run-time (I think that is what Michael told me). > > Olaf > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel