Your message dated Fri, 01 Mar 2019 21:24:29 +0000
with message-id <[email protected]>
and subject line Bug#810615: fixed in postgresql-common 200
has caused the Debian Bug report #810615,
regarding pg_upgradecluster seems not to honour some/all config from 
postgresql.auto.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
810615: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-client-common
Version: 172.pgdg70+1

Hi!

I think I have found a bug similar to #787154. The latter is archived
now, so I have to report it as new.

Description:
I just installed PostgreSQL 9.5.0 and tried to migrate my 9.4.5 cluster
to the new version using pg_upgradecluster. At a first glance everything
worked fine, but the BaRMan I use had some problems when doing a backup:
It was hanging with "Asking PostgreSQL server to finalize the backup".
Looked for it in their F.A.Q. at http://www.pgbarman.org/faq/backup/,
and found that the problem was a misconfiguration of my WAL archiving,
especially the value of archive_command.

While trying to solve the problem, I found out, that I set the WAL
configuration using ALTER SYSTEM, so it was written to
/var/lib/postgresql/9.4/main/postgresql.auto.conf. I looked for the
corresponding /var/lib/postgresql/9.5/main/postgresql.auto.conf, but
without any success, there's no such file. The default config file, i.e.
/etc/postgresql/9.5/main/postgresql.conf contains the old and invalid
WAL config entries from times when I didn't use BaRMan, yet. The config
entrys in the auto-file are not transferred to the new cluster in any way!

Fortunately the archive_command didn't work, because the corresponding
program isn't available anymore. So my quick and dirty solution was:
1. doing as Linux user postgres
    grep -Eve '^\s*(#|$)' \
        /var/lib/postgresql/9.4/main/postgresql.auto.conf \
      | sed 's/^/ALTER SYSTEM SET /;s/$/\;/' \
      | psql
2. (less interesting here:) tidying up old BaRMan backup and
3. restarting PostgreSQL 9.5 cluster

Now, everything works fine for me, but I think that others should be
prevented from walking into this trap. Therefore I send this e-mail.
Please, could you check if there's any way to transfer the original
postgresql.auto.conf file (or at least its entrys) when using
pg_upgradecluster?

Just for completeness the "uname -a" output:
Linux host.dom.tld 2.6.32-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015 
x86_64 GNU/Linux
If you need any further information, please let me know.

And, last but not least, thank you very much for your effort!
The Debian PostgreSQL tools are really admirable and I like very
much using them.

Thanks in advance,
Frank.

--

GnuPG / PGP info
================
Key-ID:      0xC8C1A552
Fingerprint: 3EFD EF94 4841 38B5 DB40 95D8 C69C 71C5 C8C1 A552

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: postgresql-common
Source-Version: 200

We believe that the bug you reported is fixed in the latest version of
postgresql-common, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <[email protected]> (supplier of updated postgresql-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 01 Mar 2019 20:47:06 +0100
Source: postgresql-common
Binary: postgresql-common postgresql-client-common postgresql-server-dev-all 
postgresql postgresql-client postgresql-doc postgresql-contrib postgresql-all
Architecture: source
Version: 200
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
 postgresql - object-relational SQL database (supported version)
 postgresql-all - metapackage depending on all PostgreSQL server packages
 postgresql-client - front-end programs for PostgreSQL (supported version)
 postgresql-client-common - manager for multiple PostgreSQL client versions
 postgresql-common - PostgreSQL database-cluster manager
 postgresql-contrib - additional facilities for PostgreSQL (supported version)
 postgresql-doc - documentation for the PostgreSQL database management system
 postgresql-server-dev-all - extension build tool for multiple PostgreSQL 
versions
Closes: 653870 810615 839954 872660 891234 910991 916449 918784 920248
Changes:
 postgresql-common (200) unstable; urgency=medium
 .
   * pg_createcluster: Don't refuse explicit -p argument even when port is
     already in use. (Closes: #653870)
   * pg_createcluster: Override suggested cluster start command in initdb.
     (Closes: #872660)
   * pg_upgradecluster, t/052_upgrade_encodings.t: pg_dumpall 11 retains the
     database encoding, so switching encodings via dump-restore does not work
     anymore.
   * pg_upgradecluster: Deprecate 'replacement_sort_tuples' in version 11.
   * pg_upgradecluster: Migrate postgresql.auto.conf to new cluster.
     (Closes: #810615)
   * pg_ctlcluster: Die early if logfile is not available. (Closes: #891234)
   * pg_ctlcluster: Die early if pg_ctl cannot be found. (See: #918784)
   * pg_ctlcluster: Document --skip-systemctl-redirect, and skip redirect if
     --foreground is requested.
   * pg_renamecluster: Notify systemd. (Closes: #839954)
   * pg_renamecluster: Document that cluster_name is updated as well.
   * pg_dropcluster: Delete tablespace directories. (Closes: #916449)
   * pg_dropcluster: Silence warning if data_directory is already gone.
     Spotted by Jean-Christophe Arnu, merci!
   * get_cluster_port: Fall back to 5432 if port is not defined in config.
     (Closes: #920248)
   * read_cluster_conf_file: Use cluster_data_directory instead of hardcoding
     /var/lib/postgresql.
   * [email protected]: Add After=network.target to ensure the server is
     stopped before networking goes down on shutdown. Thanks Elrond!
     (Closes: #910991)
   * [email protected]: Drop /var prefix from PIDFile, systemd complained
     about legacy directory /var/run/postgresql.
   * postgresql-generator: Don't attempt to auto-start removed versions.
     (Closes: #918784)
Checksums-Sha1:
 d6675402a5fe29fd14fb57c3d4539b7617f2d8f6 2309 postgresql-common_200.dsc
 fe8db48a9d888ed6008ae803a77298430cf7ee5e 212312 postgresql-common_200.tar.xz
Checksums-Sha256:
 f1328615b2b2b99cd0ac5d641887670f75b3b355a056e35ec2618fdf93ccc221 2309 
postgresql-common_200.dsc
 ccd6f45ce5674d1a0115be98f370e0016b96edba796584ebc46bc933e42c8761 212312 
postgresql-common_200.tar.xz
Files:
 88628166ef7ccb1b61a842159d1b799b 2309 database optional 
postgresql-common_200.dsc
 fa65f945b2cf4bf6a8c5a303014661e5 212312 database optional 
postgresql-common_200.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAlx5mrkACgkQTFprqxLS
p67U6RAAnoidZEhJJL+vvNhewfEXqseDJgY5NJ7vVsewdAg33kDxwnbXXf562Qet
kyPwvIycL8sJJ2d3THPV7oRTUtAgjhx+JUWmpY3FHran3Em9jQ0oJrw297xrhJSc
lsznchLV0xmJHnCFVVWX6pOX576BMVQbMFC094VclW6OXEZNauvBOaLYakqjU5Xr
wjfPCJxzTIOQkOWap8hrNGGLA49rapX7p9sZY7V8naaybk3zclv/MuEZ1wXRc2Cz
x+TIWG7ceLFFndAtITBC0xX/k0dVXGPWxQbJkr970soLPIvMTxNr3WbMFamKwn03
LTbsf2zhO82i15fuaPNApE8CbBVjmbR9wUzH8oTcZVKwJj8N9XWArPU7TGqw2au1
sY+rhWxLv6jSVqrN75iiNtFJ5usFBQAWAAPl4rG+elLgDNTpTKZ8iMNiH/hncwUM
JBpSP+rzRZH7Of7vV/F+R9soNlF8akQNdEm4VXOrygk/dZOW/7wgDb62b/wiPgwF
9NZ6cWMmtLXxBBptARM+XctVzHbB5ac2Vu9tBkOeu2UfQC8eOTtS2RKUJ223RA0e
Lh4TfgV1I+AqwCxd6dN9oJiv18dN5209HjnNNDxkyEdqPMOJ9cEVqIDbVnmsbIR+
5lsIjoV0S2eRf61oXpPnCbMz5pubdvx9dTM3C1+tnzFbgilX9mE=
=STnB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to