Package: pgcluu Version: 4.0-1 Severity: normal Hi,
pgcluu modifies the permissions + ownership of /var/lib/pgcluu/report/ on each and every single service startup. Also pgcluu_collectd modifies the permissions + ownership of /var/lib/pgcluu/data/ on each and every single service startup. This is caused by /usr/lib/systemd/system/pgcluu.service with: ExecStartPre=-/bin/mkdir -p $REPORTDIR ExecStartPre=-/bin/chown postgres:www-data $REPORTDIR ExecStartPre=-/bin/chmod u=rwX,g=rsX,o= $REPORTDIR And by /usr/lib/systemd/system/pgcluu_collectd.service with: ExecStartPre=-/bin/mkdir -p $STATDIR ExecStartPre=-/bin/chown postgres:www-data $STATDIR ExecStartPre=-/bin/chmod u=rwX,g=rsX,o= $STATDIR This causes possibly unneeded executions, but also overrides any local permissions and ownership changes possibly done by the local administrator. If at all, such a change should be implemented in maintainer scripts (if relevant for e.g. upgrades), or (otherwise and preferably) in a declarative way via systemd's tmpfiles.d(5). regards -mika-

