Re: postgresql-common breaks logrotate

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: postgresql-common breaks logrotate
Дата
Msg-id CABUevEwgX16F-+WPK-rKH+RUfgcPveG0XjcWAZoOBYZka_jgRw@mail.gmail.com
обсуждение исходный текст
Ответ на postgresql-common breaks logrotate  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general

On Fri, Dec 27, 2013 at 12:11 AM, Steve Crawford <scrawford@pinpointresearch.com> wrote:
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


The apt repository only really provides packages for LTS versions - it just usually happens to work on other releases as well. I believe the concern here is not to risk breaking things for the LTS users - we don't want to change the logging defaults in a minor patch upgrade.

That said, hopefully it'll get fixed at least by the next release, since that's going to be another LTS. There's been talk about changing the way the logging is done in the debian packages in general, that might also be part of the solution.


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

В списке pgsql-general по дате отправления:

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: Upgraded to 9.3
Следующее
От: Tim Kane
Дата:
Сообщение: ON_ERROR_EXIT and interactive mode (or, how to force interactive mode off)