Package: postgresql-common
Version: 121
Severity: minor
Tags: patch
This is a heads-up for the moment, as the update hasn't been uploaded to
unstable yet.
logrotate 3.8.0 (currently in experimental) is more strict on directory
permissions, and produces the following error:
/etc/cron.daily/logrotate:
error: skipping "/var/log/postgresql/postgresql-8.4-main.log" because parent
directory has insecure permissions (It's world writable or writable by group
which is not "root") Set "su" directive in config file to tell logrotate which
user/group should be used for rotation.
To fix this, I'm planning to add a "Breaks: postgresql-common (<= 121)"
to logrotate, and hope that you will add a "Depends: logrotate (>= 3.8)"
to postgresql-common and add the following line to postgresql-common's
logrotate conf file at the same time.
su root root
-- Configuration Files:
/etc/logrotate.d/postgresql-common changed:
/var/log/postgresql/*.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
su root root
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]