[Pkg-postgresql-public] Bug#887251: postgresql-common should depend on e2fsprogs explicitly

Andreas Henriksson andreas at fatal.se
Mon Jan 22 20:03:02 UTC 2018

On Sun, Jan 14, 2018 at 08:09:11PM +0100, Helmut Grohne wrote:
> Package: postgresql-common
> /usr/bin/pg_createcluster contains chattr. According to file it is a Perl script text executable

For a start I guess it begs to be asked if the users who has
postgresql-common package installed are likely to ever use the
pg_createcluster script at all... based on that alone a Depends might
not be warranted.

Looking at the code we'll find the following use of chattr:

    # disable copy-on-write semantics for PostgreSQL data on btrfs and similar;
    # this fails on file systems which don't support it, so ignore errors
    system "chattr +C '$datadir' 2>/dev/null";


This doesn't make me feel a dependency is warranted. Possibly a Recommends
or Suggests. Even just closing this bug report with no action could seem
like the proper response to me.

Would be great to hear maintainers view on this.

Andreas Henriksson

More information about the Pkg-postgresql-public mailing list