----- Original Message -----
> On Wed, 2012-12-05 at 21:35 +1100, Ken McDonell wrote:
> > I think there is a lurking problem with the non-root pmcd changes.
> >
> > The directory and all of the log files in /var/log/pcp/pmcd are
> > owned by
> > root.
>
> This looks like a debian packing issue ... which would explain why
> the RedHat folk have not seen it.
>
> Making the directory owned by "pcp" seems to solve the problem [ditto
> for the other PCP directories in /var/log/pcp].
>
The debian/pcp.postinst script has:
chown -R pcp:pcp /var/log/pcp/{pmcd,pmlogger,pmie,pmproxy} 2>/dev/null
I thought that'd change over an existing install (seems to have for my
laptop). There are some lintian warnings about this script containing
bash-isms though (the use of curly braces on the above line, maybe that
is part of the problem). lintian also requires that script to (re)gain
use of -e which I incorrectly removed when adding the new pcp account,
and also its complaining about the new tmpdir - we may have to go back
to using /var/tmp after all, for Debian packages, it seems.
cheers.
--
Nathan
|