Re: Undocumented --skip-systemctl-redirect option

From: Christoph Berg <myon(at)debian(dot)org>
To: Casey & Gina <caseyandgina(at)icloud(dot)com>
Cc: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Undocumented --skip-systemctl-redirect option
Date: 2018-03-27 15:54:23
Message-ID: 20180327155423.GB27054@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Casey & Gina 2018-03-27 <282CCF96-1D9D-4283-BCDD-255DCF566A54(at)icloud(dot)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

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org repository 2018-03-29 12:27:01 hypopg updated to version 1.1.1-1.pgdg+1
Previous Message Casey & Gina 2018-03-27 15:08:16 Undocumented --skip-systemctl-redirect option