tag 640493 pending thanks Hello Paul,
Paul Martin [2011-09-05 10:46 +0100]: > 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. As you said this isn't backportable, I added a build-time dynamic check to this now: http://bazaar.launchpad.net/~pitti/postgresql/common/revision/1099 Of course it's a bit of a hack, but works with all logrotate versions and keeps backportability. > To fix this, I'm planning to add a "Breaks: postgresql-common (<= 121)" That still needs some coordination, as p-common needs to be rebuilt once 3.8 is in unstable. I'll probably upload 122 this week, so you need to bump this when you upload 3.8 to unstable. Can you please ping me at that time to do a corresponding p-common upload? > to logrotate, and hope that you will add a "Depends: logrotate (>= 3.8)" That will be unnecessary then. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature