pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Casey & Gina <caseyandgina@icloud.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: Undocumented --skip-systemctl-redirect option
Date: Tue, 27 Mar 2018 17:54:23 +0200
Message-ID: <20180327155423.GB27054@msg.df7cb.de> (raw)
In-Reply-To: <282CCF96-1D9D-4283-BCDD-255DCF566A54@icloud.com>
References: <282CCF96-1D9D-4283-BCDD-255DCF566A54@icloud.com>

Re: Casey & Gina 2018-03-27 <282CCF96-1D9D-4283-BCDD-255DCF566A54@icloud.com>
> I wondered why --skip-systemctl-redirect wasn't documented in the man_page for pg_ctlcluster?

We just forgot... Will fix that shortly and publish it with the next
postgresql-common release.

> I discovered it trying to figure out why running pg_ctlcluster from Saltstack on Ubuntu 16.04 was hanging - adding that flag resolved the issue.  One of the first places I checked when running into the issue was the pg_ctlcluster man page, so I think it would be a good idea to add there...

As just discussed on IRC, don't do that. Clusters running (or daemons
in general) should be managed by systemd and cgroups, and that switch
prevents that. At first glance, it will work, but things might behave
strangely. (And after the next reboot, systemd will start the clusters
anyway, so salt shouldn't do something else on the first install.)

That said, I don't know what's wrong there. If you can reproduce it
manually, I'd be very interested.

Christoph




view thread (2+ messages)

Message-ID: <20180327155423.GB27054@msg.df7cb.de>
Permalink:  ../20180327155423.GB27054@msg.df7cb.de/
Also on:    postgresql.org/message-id/20180327155423.GB27054@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, caseyandgina@icloud.com
  Subject: Re: Undocumented --skip-systemctl-redirect option
  In-Reply-To: <20180327155423.GB27054@msg.df7cb.de>
  References: <282CCF96-1D9D-4283-BCDD-255DCF566A54@icloud.com> <20180327155423.GB27054@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox