Commit https://github.com/performancecopilot/pcp/commit/f9dfda67acaf7ceac439a5f4870a3314bc3d1f71 resolves this issue in the current PCP source tree.
Validating by installing new PCP 7.0.0 packages in a fresh Debian 12.5 install (vm23 in the PCP QA Farm). - /var/run/pcp did not exist before dpkg -i - no warnings from dpkg -i - after dpkg -i $ ls -ld /var/run/pcp drwxrwxr-x 2 pcp pcp 140 Dec 9 10:53 /var/run/pcp $ ls -l /var/run/pcp total 8 -r--r--r-- 1 root root 6 Dec 9 10:53 pmcd.pid srw-rw-rw- 1 root root 0 Dec 9 10:53 pmcd.socket srw-rw-rw- 1 pcp pcp 0 Dec 9 10:53 pmlogger.420762.socket -r--r--r-- 1 pcp pcp 6 Dec 9 10:53 pmlogger.pid lrwxrwxrwx 1 pcp pcp 31 Dec 9 10:53 pmlogger.primary.socket -> /run/pcp/pmlogger.420762.socket