Re: PSA: Systemd will kill PostgreSQL

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PSA: Systemd will kill PostgreSQL
Date: 2016-08-15 23:41:49
Message-ID: 57B2533D.7060708@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/15/2016 02:43 PM, Tom Lane wrote:
> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> On 07/10/2016 10:56 AM, Joshua D. Drake wrote:
>>> tl;dr; Systemd 212 defaults to remove all IPC (including SYSV memory)
>>> when a user "fully" logs out.
>
>> That looks like it was under discussion in April, though. Do we have
>> confirmation it was never fixed? I'm not seeing systemd killing
>> Postgres under Fedora24.
>
> Last I heard, there's an exclusion for "system" accounts, so an
> installation that's using the Fedora-provided pgsql account isn't
> going to have a problem. It's homebrew installs running under
> ordinary-user accounts that are at risk.

Presumably people just need to add the system account tag to the unit
file, no?

--
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-08-16 00:10:38 Re: Why --backup-and-modify-in-place in perltidy config?
Previous Message Peter Eisentraut 2016-08-15 22:45:35 Re: Let's get rid of the separate minor version numbers for shlibs