diff --git a/container-entrypoint b/container-entrypoint index 69c69d1..9e3e797 100644 --- a/container-entrypoint +++ b/container-entrypoint @@ -35,5 +35,7 @@ touch /etc/pcp/pmieconf/dm/metadata_high_util mkdir -p /etc/pcp/pmieconf/zeroconf touch /etc/pcp/pmieconf/zeroconf/all_threads +chown pcp:pcp /var/log/pcp/pmlogger + echo Starting systemd... exec "$@" diff --git a/pcp-image.changes b/pcp-image.changes index 6a2e6fd..f048160 100644 --- a/pcp-image.changes +++ b/pcp-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 24 13:12:03 UTC 2023 - Darragh O'Reilly + +- The pmlogger_daily.service was failing silently because it runs as user pcp which did not have permissions on /var/log/pcp/pmlogger. Normally pcp running on the host creates /var/log/pcp/pmlogger and also does chown pcp:pcp /var/log/pcp/pmlogger if it does not exist. But VOLUME /var/log/pcp/pmlogger in the Dockerfile causes the directory to exist with + ------------------------------------------------------------------- Wed Dec 21 16:02:13 UTC 2022 - Dirk Müller