pcp
[Top] [All Lists]

Re: [pcp] CentOS 5.10 rpm packaging weirdness

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] CentOS 5.10 rpm packaging weirdness
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 17 Sep 2014 00:01:48 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5418A6C5.9050606@xxxxxxxxxxxxxxxx>
References: <5418A6C5.9050606@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: kpjzP90/pcaFj2d9dTu3d1DQMmSe+w==
Thread-topic: CentOS 5.10 rpm packaging weirdness

----- Original Message -----
> I removed all the PCP rpms.
> 
> Then ...
> 
> kenj@vm04:~/src/pcp$ sudo rpm -U `ls pcp-3.10.0//build/rpm/*.rpm | sed -e
> '/src.rpm/d'`
> cp: cannot create regular file `/etc/pcp/pmie/cisco/out_util': No such file
> or directory
> cp: cannot create regular file `/etc/pcp/pmie/cisco/in_util': No such file or
> directory
> Rebuilding PMNS ...
> Starting pmcd ...
> Starting pmlogger ...
> Starting pmie ...
> Starting pmproxy ...
> Waiting for pmmgr to terminate ...
> Starting pmmgr ...
> 
> Where are these "cp" failures coming from?
> 
> /etc/pcp/pmie/cisco is totally bogus and I cannot find anything in our source
> or rpm packaging that would generate this pathname.
> 
> The out_util and in_util files are installed (correctly) like this for
> pmieconf below $PCP_VAR/config/pmieconf (not below /etc and not for pmie)...
> 
> kenj@vm04:~/src/pcp$ ls -l /var/lib/pcp/config/pmieconf/cisco
> total 8
> -rw-r--r-- 1 root root 1386 Sep 17 01:10 in_util
> -rw-r--r-- 1 root root 1389 Sep 17 01:10 out_util
> 

Somehow, this is going to be related to the issue fixed here...
but I don't really follow how you could be hitting this now, so
long after the fact.

commit 565ec227919dfd07eef25b45365f0d1f78a145e1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jul 3 13:46:37 2013 +1000

    Install the cisco PMDA pmieconf rules into the correct location


cheers.

--
Nathan

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