Answer is in the commit message ....
3. run pmmgr as user "pcp" and play assorted games with file/dir modes
and $sudo use to make this all work (this is needed to allow the
pmie/pmlogger to write their status in /var/lib/pcp/tmp/* so
the pmcd pmda knows about them)
Taking $sudo out WILL break the test.
> -----Original Message-----
> From: Nathan Scott [mailto:nathans@xxxxxxxxxx]
> Sent: Wednesday, 18 March 2015 10:37 AM
> To: Frank Ch. Eigler; Ken McDonell
> Cc: pcp
> Subject: Re: QA resource leaks
>
>
>
> ----- Original Message -----
> > > [...]
> > > Frank, test 666 is leaking pmmgr and valgrind processes ...
> > > [...]
> > > I have two of those for every test run over the last few days. It
> > > looks like sudo's parent was killed, rather than the pmmgr child,
> > > since its been reparented to init.
> >
> > ISTM the sudo is not necessary or helpful here. The following patch
> > takes that out, and doesn't affect results otherwise.
>
> Ken, you added this sudo in commit 1db94e63528 - presumably removing it will
> re-introduce some other problem...?
>
> cheers.
>
> --
> Nathan
|