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

Re: [Xen-devel] [PATCH] Fixed --enable-systemd on latest Debian stretch. Added xencommons as a systemd.service.



Well if you install ocaml-nox oxenstored is made default, so I tested both situations this morning with and without ocaml. That location is not causing the problem, as it happened without ocaml too. The install path for ocaml is worth checking, as it should not default to /usr/local, after grepping the files I found one occurrence of /usr/local in configure:ac_default_prefix=/usr/local (requires further investigation.

Starting the xendomains systemd service manually works on a fresh install.
Enabling the xendomains systemd service does not.

After I had enabled xencommons through update-rc.d once, the systemd service for xendomains would enable.

I am not at home over the weekend, but have remote access to the machines at home so might test further when I get the chance.


Yours,

Sjoer van der Ploeg

On Sat, Apr 2, 2016 at 12:59 PM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
On Sat, Apr 02, 2016 at 02:45:41AM +0200, Sjoer van der Ploeg wrote:
> Just finished a fresh testbed, xendomains still refused to get enabled when
> using --prefix=/usr and modules did load.
>
> Took a look at /usr/local (which was non-existent before make install),
> ocaml dumped its files there in /usr/local/lib and after moving that
> directory into /usr/lib I could systemctl enable xendomains without an
> error!
>
> I'll double check it over the weekend to confirm the issue, find the exact
> cause and submit a fix.
>

Did you perhaps use ocaml xenstored implementation? Then there might be
a problem with its install target.

The ocaml tools are under tools/ocaml directory if you want to check.

Wei.

> Yours,
>
> Sjoer van der Ploeg
> On Apr 1, 2016 9:43 PM, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
>
> > On Fri, Apr 01, Wei Liu wrote:
> >
> > > 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.
> >
> > They get loaded via the system-modules-load.service, perhaps that one is
> > disabled.
> >
> > Olaf
> >

_______________________________________________
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®.