After upgrade packages to `cockpit-pcp-294.1-1.fc38.x86_64 pcp-6.0.4-1.fc38.x86_64 pcp-conf-6.0.4-1.fc38.x86_64 pcp-libs-6.0.4-1.fc38.x86_64 pcp-selinux-6.0.4-1.fc38.x86_64`, files at `/var/log/pcp/pmie/$hostname/` named like `pmie.log.20230624`, creator changed to root, instead of pcp. It caused pmie_daily.service failed. Reproducible: Always Steps to Reproduce: 1. dnf update -y --refresh 2. reboot Actual Results: -rw-r--r-- 1 root root 185 Jun 24 22:59 pmie.log.20230624 ----------------------------------------------------------- UNIT LOAD ACTIVE SUB DESCRIPTION ● pmie_daily.service loaded failed failed Process PMIE logs ----------------------------------------------------------- /usr/libexec/pcp/bin/pmie_daily: line 532: /var/log/pcp/pmie/fedora/pmie.log.20230624: Permission denied /usr/libexec/pcp/bin/pmie_daily: line 533: /var/log/pcp/pmie/fedora/pmie.log.20230624: Permission denied pmie_daily: Error: problems moving logfile "/var/log/pcp/pmie/fedora/pmie.log" for host "local:" [/etc/pcp/pmie/control.d/local:5] ... inference engine for host "local:" unchanged Expected Results: -rw-r--r-- 1 pcp pcp 185 Jun 24 22:59 pmie.log.20230624
Thanks for reporting LinShen. This is fixed upstream and will be part of todays pcp-6.0.5 release.
FEDORA-2023-8c3b058ebd has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8c3b058ebd
FEDORA-2023-1f0937ef5b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f0937ef5b
FEDORA-2023-8c3b058ebd has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8c3b058ebd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8c3b058ebd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-1f0937ef5b has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1f0937ef5b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f0937ef5b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-1f0937ef5b has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-8c3b058ebd has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.