From: Ian Campbell Subject: Re: [PATCH] systemd: add support initial systemd service files Date: Wed, 12 Mar 2014 11:25:32 +0000 Message-ID: <1394623532.21145.39.camel@kazak.uk.xensource.com> References: <1394582593-8910-1-git-send-email-mcgrof@do-not-panic.com> <532017DC.1000208@jajcus.net> <21280.16798.776010.706100@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WNhIN-0003yq-TX for xen-devel@lists.xenproject.org; Wed, 12 Mar 2014 11:26:00 +0000 In-Reply-To: <21280.16798.776010.706100@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: xen-devel@lists.xenproject.org, "Luis R. Rodriguez" , Stefano Stabellini , Jacek Konieczny , "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org On Wed, 2014-03-12 at 11:14 +0000, Ian Jackson wrote: > Jacek Konieczny writes ("Re: [Xen-devel] [PATCH] systemd: add support initial systemd service files"): > > These seems quite wrong to me. Why create systemd services, while they > > are only wrappers to the old-style LSB scripts? What do we gain? > > I agree with this criticism. > > > The right thing to do is to provide separate systemd unit for xenstored > > and xenconsoled. > > If we do this then things will break if we add new functionality to > xencommons. We would have to ask contributors who added new code to > xencommons to update the systemd unit files. Those contributors, and > we, might not be able to test them (or alternatively wouldn't test the > sysvinit scripts). I hadn't thought of this aspect, it is a concern. On the other hand if systemd using distros are carrying their own service files then each of them will be rediscovering the issues themselves, possibly after we've triaged it here for the Nth time. Even if the set of upstream service files are not kept completely up to date at least they are in a common location, with some >0 chance of getting update when things change. I'm not sure which way I am leaning right now. > Perhaps, until there is some way to generate all of this configuration > from a single input, it would be best for the upstream tree to > continue to provide just sysvinit scripts. > > Thanks, > Ian.