Issue Description
PCP systemd units currently get high systemd-analyze security exposure scores.
Observed:
pmcd.service 9.7 UNSAFE
pmie.service 9.7 UNSAFE
pmlogger.service 9.7 UNSAFE
pmproxy.service 9.7 UNSAFE
pmlogger_check.service 9.1 UNSAFE
pmlogger_daily.service 9.1 UNSAFE
pmlogger_daily_report.service 9.1 UNSAFE
pmlogger_farm.service 9.1 UNSAFE
pmlogger_farm_check.service 9.6 UNSAFE
pmie_check.service 9.1 UNSAFE
pmie_daily.service 9.1 UNSAFE
pmie_farm.service 9.1 UNSAFE
pmie_farm_check.service 9.6 UNSAFE
pmfind.service 9.6 UNSAFE
The units appear to lack common systemd hardening options such as NoNewPrivileges=, ProtectSystem=, ProtectHome=, PrivateTmp=, RestrictNamespaces=, RestrictSUIDSGID=,
SystemCallArchitectures=, and a narrowed CapabilityBoundingSet=.
Please review the PCP service files and add least-privilege hardening where possible, while preserving required host-metric collection behavior. For paths that need writes, use
explicit allow-lists such as /var/lib/pcp, /var/log/pcp, and /run/pcp.
Operating System
Oracle linux
Architecture
x86_64
PCP Version
No response
Component
No response
Steps to Reproduce
No response
Additional Information
No response
Issue Description
PCP systemd units currently get high
systemd-analyze securityexposure scores.Observed:
The units appear to lack common systemd hardening options such as NoNewPrivileges=, ProtectSystem=, ProtectHome=, PrivateTmp=, RestrictNamespaces=, RestrictSUIDSGID=,
SystemCallArchitectures=, and a narrowed CapabilityBoundingSet=.
Please review the PCP service files and add least-privilege hardening where possible, while preserving required host-metric collection behavior. For paths that need writes, use
explicit allow-lists such as /var/lib/pcp, /var/log/pcp, and /run/pcp.
Operating System
Oracle linux
Architecture
x86_64
PCP Version
No response
Component
No response
Steps to Reproduce
No response
Additional Information
No response