postgresql-common breaks logrotate - Mailing list pgsql-general

From Steve Crawford
Subject postgresql-common breaks logrotate
Date
Msg-id 52BCB78E.7040707@pinpointresearch.com
Whole thread Raw
Responses Re: postgresql-common breaks logrotate  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general
People who have attempted to install PGDG versions of PostgreSQL on
recent Ubuntu releases have run into the cascading problem of postgresql
wanting to destroy Ubuntu.

Based on the packaging:
postgresql depends on postgresql-common
postgresql-common breaks logrotate (>3.8)
ubuntu-standard depends on logrotate
profit?...

It appears the reason for the claimed breakage is a very slight update
to logrotate that requires one to tell logrotate about files/directories
with non-"standard" ownership/permissions. Getting logrotate to stop
complaining is trivially resolved by the user by adding a single "su"
directive to the /etc/logrotate.d/postgresql-common or by having
PostgreSQL log to syslog.

It seems that "breaks" is overkill and the hassle imposed by that
declaration far exceeds any benefit therefrom.

Thoughts?

Cheers,
Steve




pgsql-general by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: FATAL: index contains unexpected zero page at block
Next
From: Adrian Klaver
Date:
Subject: Re: pg_upgrade & tablespaces