forcibly changes owner, group and permissions on conf files on every upgrade

Bug #12497 reported by James Troup
6
Affects Status Importance Assigned to Milestone
postgresql (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

The postgresql postinst blithely resets the owner, group and permissions of
/etc/postgresql/ files on every upgrade; please don't do this,
dpkg-statoverride'd changes made by the system administrator should be respected.

Revision history for this message
Martin Pitt (pitti) wrote :

This has already been fixed in 7.4.6-6. Now the conffiles are only touched on a
new installation from scratch (necessary because they are created in this step)
and during major upgrades (hard to avoid in this case).

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #1)
> This has already been fixed in 7.4.6-6. Now the conffiles are only touched on a
> new installation from scratch (necessary because they are created in this step)
> and during major upgrades (hard to avoid in this case).

As a side note, there will not be any automatic database format upgrades in the
future any more. The future PostgreSQL structure will allow to install several
major versions in parallel and upgrade clusters independently from package
upgrades. Thus this last occurrence of conffile touching will not happen any
more, too.

See http://people.debian.org/~mpitt/postgresql-ng.html for details.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.