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

Re: [Xen-devel] [PATCH] tools: generate systemd service files only when systemd is available



On Tue, Jan 20, 2015 at 03:19:31PM +0000, Ian Campbell wrote:
> On Tue, 2015-01-20 at 15:12 +0000, Wei Liu wrote:
> > On Tue, Jan 20, 2015 at 02:49:12PM +0000, Ian Jackson wrote:
> > > Wei Liu writes ("[PATCH] tools: generate systemd service files only when 
> > > systemd is available"):
> > > > Though that's not in any way harmful but it is on the other hand not
> > > > very useful.
> > > 
> > > What is the effect of this in the context of a distro package, where
> > > the build may occur in a different situation to the installed
> > > package ?
> > > 
> > 
> > Not sure if I understand you question but let me try to answer.
> > 
> > Conceptually speaking for Xen's systemd components to function properly
> > the service files may need to rely on other components to be built.
> 
> Where components is things like socket activation support in xenstored
> etc, I think? Or is there more to it?
> 

Yes. [c/o]xenstored needs to link against systemd to use socket
activation. That's the only thing at the moment.

I was just speaking about things in general -- in case we have some more
daemons that need to link against systemd.

Wei.

> >  If
> > systemd is not available at build time that means those components which
> > service files rely on cannot be built, so the service files alone aren't
> > very useful even if you generate and package them.
> > 
> > Practically speaking those service files don't depend on any systemd
> > specific components to be built at the moment so it's harmless to
> > package them.
> > 
> > Wei.
> > 
> > > Ian.
> 

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