From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sjoer van der Ploeg Subject: Re: [PATCH] Fixed --enable-systemd on latest Debian stretch. Added xencommons as a systemd.service. Date: Fri, 1 Apr 2016 19:14:13 +0200 Message-ID: References: <1459456525-13897-1-git-send-email-sfjuocekr@gmail.com> <20160401151705.GJ27636@citrix.com> <20160401155722.GO27636@citrix.com> <20160401170123.GA1032@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8092046843307159231==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1am2eG-0008Vi-Ib for xen-devel@lists.xenproject.org; Fri, 01 Apr 2016 17:14:16 +0000 Received: by mail-lb0-f181.google.com with SMTP id qe11so75775125lbc.3 for ; Fri, 01 Apr 2016 10:14:14 -0700 (PDT) In-Reply-To: <20160401170123.GA1032@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wei Liu Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============8092046843307159231== Content-Type: multipart/alternative; boundary=001a11c38c0817d6ce052f6f82a6 --001a11c38c0817d6ce052f6f82a6 Content-Type: text/plain; charset=UTF-8 Ah sorry, forgot the reply all! My personal Gentoo based system is systemd only, testing on Debian lead me to sysv. There is also a typo in the description for the service, my bad. Yours, Sjoer van der Ploeg On Fri, Apr 1, 2016 at 7:01 PM, Wei Liu wrote: > Add back xen-devel > > Please use the "reply-all" button in gmail in the future. > > On Fri, Apr 01, 2016 at 06:48:47PM +0200, Sjoer van der Ploeg wrote: > > > The sysv init script for xendomains depends on xenstored and > > > xenconsoled, and the systemd service file contains the same > > > dependencies. > > > > > > It would be useful to track down which service is not started and > > > explicitly provide the dependency. > > > > Manually enabling xencommons through update-rc.d also works, to put it > like > > this the xendomains fails to start because was xencommons was not > > enabled/started. The error xendomains gave back only complained about > > xenstored and xenconsoled. > > > > What actually happened is that the required modules were never loaded on > > dom0 (causing numerous other unrelated problems), adding the systemd > > service fixed that instead of having to manually enable xencommons with > > update-rd.d (which is not the systemd workflow anyway). Scratching your > > head as to why xendomains complains about two services that have in fact > > been enabled and loaded when a sysv init.d script is the actual cause, > was > > not my first thought. > > > > On that note xendomains should state xencommons dependency, which it > > currently does not. > > > > Ah, so it is the kernel modules that are not loaded. I can see why that > would be a problem. My experience with systemd is a bit rusty at the > moment. I will find some time to have a look at this next week. > > Wei. > > > > > Yours, > > > > Sjoer van der Ploeg > > > --001a11c38c0817d6ce052f6f82a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ah sorry, forgot the reply all!

My pers= onal Gentoo based system is systemd only, testing on Debian lead me to sysv= .

There is also a typo in the description for = the service, my bad.


Yours,

Sjoer van der Ploeg

On Fri, Apr 1, 2016 at 7:01 PM, Wei Liu <wei.liu2@citrix.com> wrote: