Control: tags -1 pending

Re: Antonio Terceiro 2016-01-21 <20160121143633.ga1...@debian.org>
> It would be nice to either get those patches applied upstream and in
> Debian, or at least to have some documented workaround.
> 
> In the case we get the patches applied, it would also be awesome if they
> could be included in a stable update for jessie.

Hi Antonio,

I had completely forgotten that the problem is already fixed in
unstable, but unfortunately the jessie version (165) doesn't have it
yet. I'll work on getting the patch below into stable.

diff --git a/debian/changelog b/debian/changelog
index 7751170..55ef96a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+postgresql-common (165+deb8u1) UNRELEASED; urgency=medium
+
+  * pg_upgradecluster: Set default dynamic_shared_memory_type = mmap.
+    (Closes: #784005, #812206)
+
+ -- Christoph Berg <christoph.b...@credativ.de>  Thu, 04 Feb 2016 14:54:56 
+0100
+
 postgresql-common (165) unstable; urgency=medium
 
   * Debconf translation updates, thanks!
diff --git a/pg_upgradecluster b/pg_upgradecluster
index db541be..d674fbb 100755
--- a/pg_upgradecluster
+++ b/pg_upgradecluster
@@ -170,6 +170,10 @@ sub adapt_conffiles {
 
     if ($newversion >= '9.4') {
         deprecate \%c, 'krb_srvname', 'native krb5 authentication deprecated 
in favor of GSSAPI';
+        # d_s_m_t defaults to 'posix', but that has various problems. Pick a 
safer variant here
+        unless ($c{dynamic_shared_memory_type}) {
+            set 'dynamic_shared_memory_type', 'mmap';
+        }
     }
 }
 

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to