From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [Xen-users] [TestDay] minor bug + possible configuration bug 4.5rc4 archlinux Date: Tue, 13 Jan 2015 15:30:00 +0000 Message-ID: <1421163000.19103.114.camel@citrix.com> References: <1421074733.26317.91.camel@citrix.com> <20150113084502.GA7008@aepfle.de> <1421144681.28776.69.camel@citrix.com> <21685.13757.675710.628234@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21685.13757.675710.628234@mariner.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: Ian Jackson Cc: Olaf Hering , Wei Liu , "Luis R. Rodriguez" , Doug McMillan , xen-devel , "xen-users@lists.xenproject.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2015-01-13 at 15:11 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-users] [TestDay] minor bug + possible configuration bug 4.5rc4 archlinux"): > > On Tue, 2015-01-13 at 09:45 +0100, Olaf Hering wrote: > > > I dont think we can do anything about this systemd brain damage. Either > > > it gets its Where= from such line within the file, or it gets its Where= > > > from the filename. In which case it has to stop looking at a Where= > > > line. > > > > We either need to make XEN_LIB_STORED be hardcoded to /var/lib/xenstored > > (i.e. ignoring localstatedir) or we need to make the systemd units > > reflect the --localstatedir the user provided or we need to remove > > --localstatedir as a user selectable option. > > > > (the first is probably easiest, the second is probably more correct and > > the third seems like overkill to me) > > The first and third are imposing systemd-originated brokenness on > non-systemd users and are therefore not really acceptable. Given that I think my preference would be for my second option. > There is a fourth option: we arrange that if the user specifies > --localstatedir it still breaks with systemd, but perhaps that they > get an error message earlier. That confines the systemd breakage to > systemd users. Or Five: hardcode /var/lib/xenstored for systemd only (i.e. ignore XEN_LIB_STORED). Ian.