FS#71150 - [pcp] pcp dstat is unusable due to /var/lib/pcp/pmns/root not being present
Attached to Project:
Community Packages
Opened by Felix Yan (felixonmars) - Sunday, 06 June 2021, 22:03 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 09 June 2021, 09:23 GMT
Opened by Felix Yan (felixonmars) - Sunday, 06 June 2021, 22:03 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 09 June 2021, 09:23 GMT
|
Details
Description:
The file could be created via running the pmcd service once, but if the user only wanted to use pcp dstat, it's still troublesome as it's unclear why it's broken by default. Given that /var/lib/pcp/pmns/Rebuild (invoked via make root) mentions PCP installation or upgrade, it could be run on package post_install/post_upgrade to avoid such issues. Additional info: * package version(s) pcp 5.3.0-2 Steps to reproduce: 1. Install pcp freshly 2. Run pcp dstat and see the error: Error Parsing ASCII PMNS: Cannot open "/var/lib/pcp/pmns/root" Failed to register derived metric: PMNS not accessible <pcp.pmapi.c_uint_Array_1 object at 0x7f1e468d4340>. |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Wednesday, 09 June 2021, 09:23 GMT
Reason for closing: Fixed
Additional comments about closing: pcp-5.3.1-1
Wednesday, 09 June 2021, 09:23 GMT
Reason for closing: Fixed
Additional comments about closing: pcp-5.3.1-1