pcp
[Top] [All Lists]

Re: [pcp] Seeking testers - systemd service support

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] Seeking testers - systemd service support
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 25 Aug 2014 01:44:06 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <050301cfc01c$04889170$0d99b450$@internode.on.net>
References: <1970205420.36245669.1408665579915.JavaMail.zimbra@xxxxxxxxxx> <53F92AA4.4010400@xxxxxxxxxxxxxxxx> <1594207200.37489147.1408937199097.JavaMail.zimbra@xxxxxxxxxx> <050301cfc01c$04889170$0d99b450$@internode.on.net>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: AQIDhrQqa9h6CsXBncVjuljB/LmPOAFflIcBAQKAVYebZhljIOy7vbQY
Thread-topic: Seeking testers - systemd service support
Hi Ken,

----- Original Message -----
> See below ...
> 
> > -----Original Message-----
> > > ...
> > > On Ubuntu 12.04 x86_64 we have the on-going problem of libmicrohttpd
> > > being down rev which is not related to the systemd changes. Smacking
> > > debian/rules allows packages to be made and installed.  All the PCP
> > > daemons start and the only -g sanity failures are 184 and 354.
> > 
> > I'm hopeful we can make progress here soon (re embedding libmicrohttpd
> > source as Frank originally preferred), will follow up later in the week.
> 
> I am unconvinced that re-embedding is needed.

Understood, and I tend to agree for this lib - IMO the older version could've
been made to work as well, but anyway; noone stepped up to make that happen,
and ultimately this code is Franks to drive forward as he sees fit, since he
is its primary author and bug-fixer extraordinaire.

> 1. not needed for current distros.
> 2. workarounds exist for older distros ... e.g. I've found packages that work
> for Ubuntu 12.04 and the PCP build requires only one small debian packaging
> tweak to complete ... I have the details if anyone is interested.

Yep, but note the proposed web frontend changes introduce (embed) three other
packages also (graphite, grafana, jquery) and it appears that not doing so is
intractable.  Since maintaining these is something Frank is happy to take on,
I guess microhttpd would be little extra added effort there.  It has the big
advantage that it will work out-of-the-box everywhere then (e.g. building the
static embedded library whenever the installed .so is one of the out-of-date
variants).

Since this embedding approach is one that Frank is keen on pursuing (and its
his prerogative), I'm looking into git techniques for extracting and moving
all of this code forward, just outside of the core PCP source tree.

In the end, I envisage this would be very similar to the way pcolby manages
the C++ interfaces & Qpid PMDA separately to core PCP sources, and another
(JVM-related) project I'll be proposing soon will likely use the same model.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>