pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Undocumented --skip-systemctl-redirect option
2+ messages / 2 participants
[nested] [flat]

* Undocumented --skip-systemctl-redirect option
@ 2018-03-27 15:08 Casey & Gina <caseyandgina@icloud.com>
  2018-03-27 15:54 ` Re: Undocumented --skip-systemctl-redirect option Christoph Berg <myon@debian.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Casey & Gina @ 2018-03-27 15:08 UTC (permalink / raw)
  To: pgsql-pkg-debian

I wondered why --skip-systemctl-redirect wasn't documented in the man_page for pg_ctlcluster?

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...

Best wishes,
-- 
Casey



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Undocumented --skip-systemctl-redirect option
  2018-03-27 15:08 Undocumented --skip-systemctl-redirect option Casey & Gina <caseyandgina@icloud.com>
@ 2018-03-27 15:54 ` Christoph Berg <myon@debian.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Christoph Berg @ 2018-03-27 15:54 UTC (permalink / raw)
  To: Casey & Gina <caseyandgina@icloud.com>; +Cc: pgsql-pkg-debian

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-03-27 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 15:08 Undocumented --skip-systemctl-redirect option Casey & Gina <caseyandgina@icloud.com>
2018-03-27 15:54 ` Christoph Berg <myon@debian.org>

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